Change Compile Version in Maven

/ Published in: Other
Save to your folder(s)

maven configuration to compile for a specific version

Copy this code and paste it in your HTML
  1. <plugins>
  2. <plugin>
  3. <groupId>org.apache.maven.plugins</groupId>
  4. <artifactId>maven-compiler-plugin</artifactId>
  5. <version>2.3.1</version>
  6. <configuration>
  7. <source>1.4</source>
  8. <target>1.4</target>
  9. </configuration>
  10. </plugin>
  11. </plugins>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.