Changes for page maven-wolifecycle-plugin
Last modified by Ulrich Köster on 2007/02/09 11:42
From version 46.1
edited by Ulrich Köster
on 2006/11/09 05:26
on 2006/11/09 05:26
Change comment:
There is no comment for this version
To version 44.1
edited by Henrique Prange
on 2006/10/20 14:44
on 2006/10/20 14:44
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -maven-wo lifecycle-plugin1 +maven-woproject-plugin - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. uli1 +XWiki.hprange - Content
-
... ... @@ -1,131 +1,28 @@ 1 1 == Description == 2 2 3 -"maven-wo lifecycle-plugin" is a plug-in for development of WebObjects applications and frameworks in the context of Maven.3 +"maven-woproject-plugin" is a plug-in for development of WebObjects applications and frameworks in the context of Maven. 4 4 5 -== Lifecyle==5 +== Goals == 6 6 7 - Lifecylemaven plugin forWebObjectsprojects.7 +=== ##org.objectstyle.woproject.maven2:woproject:bootstrap## === 8 8 9 - Forthemoment, this projectisbasedonthexistingantstuff.Thisplugindoesneedconfiguration.9 +Bootstrap goal for WebObjects projects. Copy all necessary WebObjects jars into local maven repository. 10 10 11 - ===ExampleWOFramework===11 +For the moment, this goal only works for MacOS X and Windows. 12 12 13 - Fromthepom.xml13 +This plug-in only requires to be executed once. 14 14 15 - {{code}}15 +=== Example === 16 16 17 -<?xml version="1.0"?> 18 -<project> 19 - ... 20 - <packaging>woframework</packaging> 21 - ... 22 - <build> 23 - ... 24 - <plugins> 25 - <plugin> 26 - <groupId>org.objectstyle.woproject.maven2</groupId> 27 - <artifactId>maven-wolifecycle-plugin</artifactId> 28 - <version>2.0-SNAPSHOT</version> 29 - <extensions>true</extensions> 30 - </plugin> 31 - </plugins> 32 - ... 33 - </build> 34 -... 35 -</project> 17 +This goal doesn't need any previous configuration. Just execute the following command: 36 36 37 -{{ /code}}19 +{{noformat}} 38 38 39 - === ExampleWOApplication ===21 +mvn woproject:bootstrap 40 40 41 - From the pom.xml23 +{{/noformat}} 42 42 43 - {{code}}25 +//TODO// (Maven 1 links) 44 44 45 -<?xml version="1.0"?> 46 -<project> 47 - ... 48 - <packaging>woapplication</packaging> 49 - ... 50 - <build> 51 - ... 52 - <plugins> 53 - <plugin> 54 - <groupId>org.objectstyle.woproject.maven2</groupId> 55 - <artifactId>maven-wolifecycle-plugin</artifactId> 56 - <version>2.0-SNAPSHOT</version> 57 - <extensions>true</extensions> 58 - </plugin> 59 - </plugins> 60 - ... 61 - </build> 62 -... 63 -</project> 64 - 65 -{{/code}} 66 - 67 -=== Resources === 68 - 69 -Per default all resources under Resources and all webserver resources under WebServerResources are included. 70 - 71 -To include resources with existing patternset files: 72 - 73 -{{code}} 74 - 75 -<?xml version="1.0"?> 76 -<project> 77 - ... 78 - <packaging>woapplication</packaging> 79 - ... 80 - <build> 81 - ... 82 - <plugins> 83 - <plugin> 84 - <groupId>org.objectstyle.woproject.maven2</groupId> 85 - <artifactId>maven-wolifecycle-plugin</artifactId> 86 - <version>2.0-SNAPSHOT</version> 87 - <extensions>true</extensions> 88 - <configuration> 89 - <readPatternsets>true</readPatternsets> 90 - </configuration> 91 - </plugin> 92 - </plugins> 93 - ... 94 - </build> 95 -... 96 -</project> 97 - 98 -{{/code}} 99 - 100 -To include resources from a folder: 101 - 102 -{{code}} 103 - 104 -<?xml version="1.0"?> 105 -<project> 106 - ... 107 - <packaging>woapplication</packaging> 108 - ... 109 - <build> 110 - ... 111 - <resources> 112 - <resource> 113 - <directory> [your folder here] </directory> 114 - <targetPath> [either Resources or WebServerResources] </targetPath 115 - </resource> 116 - </resources> 117 -... 118 - <plugins> 119 - <plugin> 120 - <groupId>org.objectstyle.woproject.maven2</groupId> 121 - <artifactId>maven-wolifecycle-plugin</artifactId> 122 - <version>2.0-SNAPSHOT</version> 123 - <extensions>true</extensions> 124 - </plugin> 125 - </plugins> 126 - ... 127 - </build> 128 -... 129 -</project> 130 - 131 -{{/code}} 27 +* [[Preparing the Project]] 28 +* [[Maven Goals]]