Hi,
  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.
   
   

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to