Nevermind, worked it out.
Added this to the plugin section of the POM file:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
Hi,
I want to use Java 1.5 functionality in Cocoon 2.2. Is it possible?
When I try to use generics, I get the following error:
[INFO] Compilation
failure
C:\dev\workspace\cocoon\src\main\java\cpl\Form.java:[8,16] generics
are not supported in -source 1.3 (try -source 1.5 to enable
generics) private List<Widget>
mWidgets;
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org