You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by soumadeep sen <so...@gmail.com> on 2006/08/13 22:45:54 UTC
Issues with generics in maven-JBI-plugin -FYI
While compiling custom components generated from maven jbi plugin, if maven
complains about "generics are not supported in 1.3" then add the fragment
below in your POM file (in the plugins section).
This would only happen if you used generics in your java code!
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- best lock down version of the plugin too -->
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
Thanks
Soumadeep
Re: Issues with generics in maven-JBI-plugin -FYI
Posted by Guillaume Nodet <gn...@gmail.com>.
Well, this happen as soon as you use JDK 5 features ;)
On 8/13/06, soumadeep sen <so...@gmail.com> wrote:
>
> While compiling custom components generated from maven jbi plugin, if
> maven
> complains about "generics are not supported in 1.3" then add the fragment
> below in your POM file (in the plugins section).
>
> This would only happen if you used generics in your java code!
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <!-- best lock down version of the plugin too -->
> <configuration>
> <source>1.5</source>
> <target>1.5</target>
> </configuration>
> </plugin>
>
> Thanks
> Soumadeep
>
>
--
Cheers,
Guillaume Nodet