In the pom, You can define a the plugin below and just set the <source> and <target> to your needs.
Cheers, Robby Pelssers <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.0</version> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> ... -----Original Message----- From: Johannes Hoechstaedter [mailto:[EMAIL PROTECTED] Sent: donderdag 3 juli 2008 9:59 To: users@cocoon.apache.org Subject: Java version Hi everybody, I noticed, that my compiled block has always java version 1.5. I need it with 1.4. What should I do? I build my block by "mvn install". cheers Johannes --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]