annotations extractor marked runtime, but need annotations as provided and with previous release version to compile current sources

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1648696 13f79535-47bb-0310-9956-ffa450edef68
master
Herve Boutemy 2014-12-31 14:03:05 +00:00
parent 99359ef1b6
commit fa0a5fc105
1 changed files with 32 additions and 22 deletions

View File

@ -45,10 +45,40 @@
<doxiaVersion>1.4</doxiaVersion> <doxiaVersion>1.4</doxiaVersion>
<doxia-sitetoolsVersion>1.4</doxia-sitetoolsVersion> <doxia-sitetoolsVersion>1.4</doxia-sitetoolsVersion>
<it.debug>true</it.debug> <it.debug>true</it.debug>
<!-- use a previous release of maven-plugin-plugin to build this plugin -->
<mavenPluginPluginVersion>3.3</mavenPluginPluginVersion> <mavenPluginPluginVersion>3.3</mavenPluginPluginVersion>
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-generators</artifactId>
</dependency>
<!-- runtime extractors used by default by plugin-tools -->
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-annotations</artifactId>
<scope>runtime</scope>
</dependency>
<!-- for source code annotations of the mojos -->
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<!-- not the version of plugin-tools actually building, but the version used to build the plugin -->
<version>${mavenPluginPluginVersion}</version>
<scope>provided</scope>
</dependency>
<!-- doxia --> <!-- doxia -->
<dependency> <dependency>
<groupId>org.apache.maven.doxia</groupId> <groupId>org.apache.maven.doxia</groupId>
@ -71,7 +101,7 @@
</exclusions> </exclusions>
</dependency> </dependency>
<!-- maven --> <!-- Maven -->
<dependency> <dependency>
<groupId>org.apache.maven</groupId> <groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId> <artifactId>maven-plugin-api</artifactId>
@ -98,15 +128,6 @@
<artifactId>maven-plugin-registry</artifactId> <artifactId>maven-plugin-registry</artifactId>
<version>${mavenVersion}</version> <version>${mavenVersion}</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-generators</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.apache.maven</groupId> <groupId>org.apache.maven</groupId>
<artifactId>maven-artifact-manager</artifactId> <artifactId>maven-artifact-manager</artifactId>
@ -129,18 +150,6 @@
<version>3.0</version> <version>3.0</version>
</dependency> </dependency>
<!-- Maven runtime: extractors used by default -->
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-annotations</artifactId>
<scope>runtime</scope>
</dependency>
<!-- plexus --> <!-- plexus -->
<dependency> <dependency>
<groupId>org.codehaus.plexus</groupId> <groupId>org.codehaus.plexus</groupId>
@ -244,6 +253,7 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<!-- use previous maven-plugin-plugin release to build current maven-plugin-plugin -->
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId> <artifactId>maven-plugin-plugin</artifactId>
<version>${mavenPluginPluginVersion}</version> <version>${mavenPluginPluginVersion}</version>