Piotr Skawinski wrote:
Hi,I need to build my project with the jdk1.5, but some of the
files also need to be build with jdk1.4. Is it possible in a single
pom.xml to specify the jdk version to be used to build the whole
project and at the same time to specify other jdk version to be used to
build only some files?
I guess it isn't. But, you can organize your project in multiple
modules, and, in the respective pom.xml files, specify
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<target>[java version of your target]</target>
</configuration>
</plugin>
More on that at http://maven.apache.org/plugins/maven-compiler-plugin/
HTH
Armin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]