Setting plugins properties in maven2

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

Setting any property value for a maven plugin in pom.xml.

This configuration is used to set the compilation version to java5

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


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.