Wiki source code of WOProject-Maven2
Version 55.1 by Andrus Adamchik on 2006/09/30 18:50
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
31.1 | 1 | This is the home page for the Maven Plugins space. |
2 | |||
![]() |
53.1 | 3 | == WOProject Maven2 Plugins == |
![]() |
31.1 | 4 | |
![]() |
49.1 | 5 | * [[maven-japplication-plugin]]: A Maven plugin for assembling native launchers of Java applications for a number of OS platforms. |
![]() |
53.1 | 6 | * [[maven-woproject-plugin]] |
![]() |
31.1 | 7 | * Maven2 WebObjects Archetypes |
![]() |
49.1 | 8 | ** [[maven-archetype-woapplication]] |
![]() |
31.1 | 9 | |
![]() |
49.1 | 10 | == Getting Started == |
![]() |
39.1 | 11 | |
![]() |
53.1 | 12 | * Install [[Maven2>>http://maven.apache.org]] on a local machine. |
13 | * Add ObjectStyle Maven2 repository to the project POM //(we may distribute the plugins via Ibiblio at some point too)//. E.g.: | ||
![]() |
49.1 | 14 | |
![]() |
53.1 | 15 | {{code title="pom.xml"}} |
16 | <pluginRepositories> | ||
17 | <pluginRepository> | ||
18 | <id>objectstyle</id> | ||
19 | <name>ObjectStyle Public Maven2 repo</name> | ||
20 | <url>http://objectstyle.org/maven2</url> | ||
21 | <layout>default</layout> | ||
22 | <snapshots> | ||
23 | <enabled>true</enabled> | ||
24 | <updatePolicy>daily</updatePolicy> | ||
25 | <checksumPolicy>ignore</checksumPolicy> | ||
26 | </snapshots> | ||
27 | <releases> | ||
28 | <enabled>true</enabled> | ||
29 | </releases> | ||
30 | </pluginRepository> | ||
31 | ... | ||
32 | </pluginRepositories> | ||
33 | {{/code}} | ||
![]() |
49.1 | 34 | |
![]() |
55.1 | 35 | * 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: |
![]() |
51.1 | 36 | |
![]() |
53.1 | 37 | {{code title="pom.xml"}} |
38 | <build> | ||
39 | <plugins> | ||
40 | <plugin> | ||
41 | <groupId>org.objectstyle.woproject.maven2</groupId> | ||
42 | |||
43 | plugin specific information goes here... | ||
![]() |
51.1 | 44 | |
![]() |
53.1 | 45 | </plugin> |
46 | </plugins> | ||
47 | </build> | ||
48 | {{/code}} |