Published in: Other
This is used to set the compiler version to Java5 in maven2. We can put this in pom.xml, in the profile section.
If we activate this profile, all the projects we build will follow Java5 compilation
<profile> <id>java5</id> <properties> <build-home>D:/Build-Loc/build-cougar</build-home> <maven.compiler.compilerVersion>5</maven.compiler.compilerVersion> <maven.compiler.executable>pathto/bin/javac</maven.compiler.executable> <maven.compiler.source>5</maven.compiler.source> <maven.compiler.target>5</maven.compiler.target> </properties> </profile>
You need to login to post a comment.
