/ 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
                If we activate this profile, all the projects we build will follow Java5 compilation
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 <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>
Comments
                    Subscribe to comments
                
                