To edit or add content to this Wiki, you can simply create a new account at http://wocommunity.org/account.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

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 "project/build/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>
  • No labels