Posted By

arunpjohny on 02/07/08



Versions (?)

Setting plugins properties in maven2

 / Published in: Other


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

This configuration is used to set the compilation version to java5

  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  

You need to login to post a comment.