Hello,
aptSourceRoot is not available in the 1.0.8 version. 1.0.9 would be
released in few days or checkout the latest version from svn.
Regards
Bernd
stuser999 wrote:
I am trying to use aptSourceRoots in maven-apt-plugin1.08. My project has 2 modules A and B. A has the AnnotationProcessor. B is dependent on A. The pom file for B looks like this -
<dependency>
<groupId>com.xyz</groupId>
<artifactId>A</artifactId>
</dependency>
<plugin>
<groupId>org.apache.myfaces.tobago</groupId>
<artifactId>maven-apt-plugin</artifactId>
<executions>
<execution>
<id>generate test.txt</id>
<phase>generate-resources</phase>
<configuration>
<aptSourceRoots>
<aptSourceRoot>A/src</aptSourceRoot>
</aptSourceRoots>
<generated>src/main/resources</generated>
<A>outputFile=test.txt</A>
<target>1.5</target>
<nocompile>true</nocompile>
<showWarnings>true</showWarnings>
<factory>com.xyz.AnnotationProcessorFactory</factory>
</configuration>
<goals>
<goal>execute</goal>
</goals>
</execution>
</executions>
</plugin>
AnnotationProcessor is not processing the additional source specified in aptSourceRoots.
Has anyone tried using this tag? If so, I would really appreciate your
help.Thanks in advance.
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.