WOProject-Maven2

Version 56.1 by Andrus Adamchik on 2006/09/30 18:50

This is the home page for the Maven Plugins space.

WOProject Maven2 Plugins

Getting Started

  • Install Maven2 on a local machine.
  • Add ObjectStyle Maven2 repository to the project POM (we may distribute the plugins via Ibiblio at some point too). E.g.:
pom.xml
<pluginRepositories>
   <pluginRepository>
       <id>objectstyle</id>
       <name>ObjectStyle Public Maven2 repo</name>
       <url>http://objectstyle.org/maven2</url>
       <layout>default</layout>
       <snapshots>
           <enabled>true</enabled>
           <updatePolicy>daily</updatePolicy>
           <checksumPolicy>ignore</checksumPolicy>
       </snapshots>
       <releases>
           <enabled>true</enabled>
       </releases>
   </pluginRepository>
...
</pluginRepositories>
  • Plugins are bound to the build lifecycle via buil/plugins section of the POM. Here is a general example, for more details see documentation of individual plugins:
pom.xml
<build>
   <plugins>
      <plugin>
           <groupId>org.objectstyle.woproject.maven2</groupId>
           
            plugin specific information goes here...

       </plugin>
   </plugins>
</build>