o generating annotations from the javadoc in maven-compat, no point in converting to annotations, we'll take what's

there and leave it at that.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721950 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2008-12-01 02:49:21 +00:00
parent 5d81258b34
commit d589ac5072
2 changed files with 14 additions and 7 deletions

View File

@ -106,10 +106,16 @@ TODO:
<java fork="fork" classname="org.codehaus.plexus.metadata.PlexusMetadataGeneratorCli" failonerror="true">
<classpath refid="maven.classpath"/>
<!-- We need to generate component descriptors from the maven-artifact sources which use javadoc annotations. -->
<arg value="--source"/>
<arg value="${basedir}/bootstrap/target/generate-sources"/>
<arg value="${basedir}/maven-compat/src/main/java"/>
<!-- We have separated the artifact handlers and lifecycle mappings into a separate file. -->
<arg value="--descriptors"/>
<arg value="${basedir}/maven-core/src/main/resources/META-INF/plexus"/>
<!-- Search the classes for annotations that we've compiled. -->
<arg value="--classes"/>
<arg value="${basedir}/bootstrap/target/classes"/>
<!-- We'll make one big fat components descriptor. -->
<arg value="--output"/>
<arg value="${basedir}/bootstrap/target/classes/META-INF/plexus/components.xml"/>
</java>
@ -171,6 +177,7 @@ TODO:
<path id="maven.classpath">
<pathelement location="bootstrap/target/classes"/>
<pathelement location="maven-compat/src/main/resources"/>
<path refid="sources"/>
<path refid="pom.pathid"/>
</path>

View File

@ -45,10 +45,14 @@
<artifactId>easymock</artifactId>
<version>1.2_Java1.3</version>
<scope>test</scope>
</dependency>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-metadata</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
@ -56,7 +60,7 @@
<version>1.0.0</version>
<model>src/main/mdo/metadata.mdo</model>
</configuration>
</plugin>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@ -65,10 +69,6 @@
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-metadata</artifactId>
</plugin>
</plugins>
</build>
</project>