Changes for page maven-wolifecycle-plugin
Last modified by Ulrich Köster on 2007/02/09 11:42
From version 43.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
To version 47.1
edited by Ulrich Köster
on 2006/11/09 05:24
on 2006/11/09 05:24
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 project-plugin1 +maven-wolifecycle-plugin - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. hprange1 +XWiki.uli - Content
-
... ... @@ -1,28 +1,133 @@ 1 1 == Description == 2 2 3 -"maven-wo project-plugin" is a plug-in for development of WebObjects applications and frameworks in the context of Maven.3 +"maven-wolifecycle-plugin" is a plug-in for development of WebObjects applications and frameworks in the context of Maven. 4 4 5 -== Goals==5 +== Lifecyle == 6 6 7 - === ##org.objectstyle.woproject.maven2:woproject:bootstrap## ===7 +Lifecyle maven plugin for WebObjects projects. 8 8 9 - Bootstrapgoalfor WebObjects projects.CopyallnecessaryWebObjectsjars intolocal mavenrepository.9 +For the moment, this project is based on the existing ant stuff. This plugin does need configuration. 10 10 11 - Forthemoment,this goal onlyworksfor MacOS X and Windows.11 +=== Example WOFramework === 12 12 13 - This plug-in onlyrequires tobe executedonce.13 +From the pom.xml 14 14 15 - === Example===15 +{{code}} 16 16 17 -This goal doesn't need any previous configuration. Just execute the following command: 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> 18 18 19 -{{ noformat}}37 +{{/code}} 20 20 21 - mvnwoproject:bootstrap39 +=== Example WOApplication === 22 22 23 - {{/noformat}}41 +From the pom.xml 24 24 25 - //TODO// (Maven 1 links)43 +{{code}} 26 26 27 -* [[Preparing the Project]] 28 -* [[Maven Goals]] 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 +{color:red} 89 + <configuration> 90 + <readPatternsets>true</readPatternsets> 91 + </configuration> 92 +{color} 93 + </plugin> 94 + </plugins> 95 + ... 96 + </build> 97 +... 98 +</project> 99 + 100 +{{/code}} 101 + 102 +To include resources from a folder: 103 + 104 +{{code}} 105 + 106 +<?xml version="1.0"?> 107 +<project> 108 + ... 109 + <packaging>woapplication</packaging> 110 + ... 111 + <build> 112 + ... 113 + <resources> 114 + <resource> 115 + <directory> [your folder here] </directory> 116 + <targetPath> [either Resources or WebServerResources] </targetPath 117 + </resource> 118 + </resources> 119 +... 120 + <plugins> 121 + <plugin> 122 + <groupId>org.objectstyle.woproject.maven2</groupId> 123 + <artifactId>maven-wolifecycle-plugin</artifactId> 124 + <version>2.0-SNAPSHOT</version> 125 + <extensions>true</extensions> 126 + </plugin> 127 + </plugins> 128 + ... 129 + </build> 130 +... 131 +</project> 132 + 133 +{{/code}}