myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Bohmann <bernd.bohm...@atanion.com>
Subject Re: maven-apt-plugin
Date Sat, 23 Feb 2008 20:40:01 GMT
Hello Josh,

the plugin did not support plugin dependencies. See:

https://issues.apache.org/jira/browse/TOBAGO-130

Regards

Bernd




Josh Suereth schrieb:
> Not sure if this is the right place to be sending this, but I was wondering
> why the following doesn't work:
> 
> <build>
>         <finalName>TestWar</finalName>
>         <plugins>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-compiler-plugin</artifactId>
>                 <configuration>
>                     <compilerVersion>1.5</compilerVersion>
>                 </configuration>
>             </plugin>
>             <plugin>
>                 <groupId>org.apache.myfaces.tobago</groupId>
>                 <artifactId>maven-apt-plugin</artifactId>
>                 <version>1.0.15</version>
>                 <configuration>
>                   <nocompile>true</nocompile>
>                   <factory>test.MyAnnotationProcessorFactory</factory>
>                   <fork>false</fork>
>                 </configuration>
>                 <dependencies>
>                   <dependency>
>                     <groupId>MyAptProcessor</groupId>
>                     <artifactId>MyAptProcessor</artifactId>
>                     <version>1.0-SNAPSHOT</version>
>                   </dependency>
>                 </dependencies>
>             </plugin>
>         </plugins>
>     </build>
> 
> 
> 
> If I move the dependency outside the plugin directory, and make it for the
> whole project then it works.   I'd rather not make my Annotation processor
> be a dependency for the whole project as it just generates some config files
> based on annotations.   Any ideas?
> 
> Thanks,
> -Josh Suereth
> 


Mime
View raw message