Changes for page WOProject-Maven
Last modified by Ulrich Köster on 2011/08/20 20:03
From version 40.1
edited by Henrique Prange
on 2008/04/23 16:37
on 2008/04/23 16:37
Change comment:
There is no comment for this version
To version 53.1
edited by Andrus Adamchik
on 2006/09/30 18:51
on 2006/09/30 18:51
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. hprange1 +XWiki.andrus - Content
-
... ... @@ -1,60 +1,48 @@ 1 1 This is the home page for the Maven Plugins space. 2 2 3 - [[Maven2.0.9>>http://maven.apache.org/download.html]]isrecommended.3 +== WOProject Maven2 Plugins == 4 4 5 -== WOProject Maven2 Plugins == 6 - 7 7 * [[maven-japplication-plugin]]: A Maven plugin for assembling native launchers of Java applications for a number of OS platforms. 8 -* [[maven-wobootstrap-plugin]]: 9 -* [[maven-wolifecycle-plugin]]: 6 +* [[maven-woproject-plugin]] 10 10 * Maven2 WebObjects Archetypes 11 -** [[woapplication-archetype]] (new) 12 -** [[maven-archetype-woapplication]] (deprecated) 8 +** [[maven-archetype-woapplication]] 13 13 14 -== Why use Maven? == 15 - 16 -* http:~/~/www.oreillynet.com/onjava/blog/2007/11/why_maven.html 17 -* http:~/~/www.infoq.com/news/2008/01/maven-debate 18 - 19 -== Maven Principles == 20 - 21 -* http:~/~/maven.apache.org/what-is-maven.html 22 - 23 23 == Getting Started == 24 24 25 -* http:~/~/maven.apache.org/guides/getting-started/index.html 26 -* http:~/~/www.developer.com/lang/article.php/10924_3510331_1 27 -* http:~/~/www.javaworld.com/javaworld/jw-12-2005/jw-1205-maven.html?lsrc=jwrss 28 -* Maven: The Definitive Guide (book): http:~/~/www.sonatype.com/book/ 29 -* Better Builds with Maven (book): http:~/~/www.devzuz.com/web/guest/products/resources#BBWM 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.: 30 30 31 -== Repository Managers == 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}} 32 32 33 - ===What isaRepositoryManager?===35 +* 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: 34 34 35 -* http:~/~/maven.apache.org/repository-management.html 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... 36 36 37 -=== Available Repository Managers === 38 - 39 -* Archiva: http:~/~/maven.apache.org/archiva/ 40 -* Artifactory: http:~/~/www.jfrog.org/sites/artifactory/latest/ 41 -* Nexus: http:~/~/nexus.sonatype.org/ 42 - 43 -== Enterprise Super POM == 44 - 45 -* http:~/~/www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html 46 -* http:~/~/maven.apache.org/guides/introduction/introduction-to-the-pom.html 47 -* http:~/~/maven.apache.org/pom.html 48 - 49 -== IDE Integration == 50 - 51 -* M2Eclipse: http:~/~/m2eclipse.codehaus.org/ 52 -* Q4E: http:~/~/code.google.com/p/q4e/ 53 - 54 -== Building woproject with maven == 55 - 56 -[[Building the woproject source code with maven]] 57 - 58 -== Building wonder with maven == 59 - 60 -[[Building the wonder source code with maven]] 45 + </plugin> 46 + </plugins> 47 +</build> 48 +{{/code}}