Changes for page maven-wolifecycle-plugin
Last modified by Ulrich Köster on 2007/02/09 11:42
From version 39.1
edited by Ulrich Köster
on 2006/11/07 03:24
on 2006/11/07 03:24
Change comment:
There is no comment for this version
To version 49.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 (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -maven-wo project-plugin1 +maven-wolifecycle-plugin - Content
-
... ... @@ -1,20 +1,46 @@ 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 5 == Lifecyle == 6 6 7 -Lifecyle forfor WebObjects projects.7 +Lifecyle maven plugin for WebObjects projects. 8 8 9 -For the moment, this project is based on the existing ant stuff. 9 +For the moment, this project is based on the existing ant stuff. This plugin does need configuration. 10 10 11 11 === Example WOFramework === 12 12 13 - This goaldoesneedprevious configuration.13 +From the pom.xml 14 14 15 +{{code}} 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> 36 + 37 +{{/code}} 38 + 39 +=== Example WOApplication === 40 + 15 15 From the pom.xml 16 16 17 -{{code xml}}43 +{{code color value="red"}} 18 18 19 19 <?xml version="1.0"?> 20 20 <project> ... ... @@ -26,7 +26,7 @@ 26 26 <plugins> 27 27 <plugin> 28 28 <groupId>org.objectstyle.woproject.maven2</groupId> 29 - <artifactId>maven-wo project-plugin</artifactId>55 + <artifactId>maven-wolifecycle-plugin</artifactId> 30 30 <version>2.0-SNAPSHOT</version> 31 31 <extensions>true</extensions> 32 32 </plugin> ... ... @@ -37,9 +37,67 @@ 37 37 </project> 38 38 {code} 39 39 40 -h3. ExampleWOApplication66 +h3. Resources 41 41 42 - Thisgoaldoes needpreviousconfiguration.68 +Per default all resources under Resources and all webserver resources under WebServerResources are included. 43 43 44 -From the pom.xm 45 -{{/code xml}} 70 +To include resources with existing patternset files: 71 + 72 +{code} 73 +<?xml version="1.0"?> 74 +<project> 75 + ... 76 + <packaging>woapplication</packaging> 77 + ... 78 + <build> 79 + ... 80 + <plugins> 81 + <plugin> 82 + <groupId>org.objectstyle.woproject.maven2</groupId> 83 + <artifactId>maven-wolifecycle-plugin</artifactId> 84 + <version>2.0-SNAPSHOT</version> 85 + <extensions>true</extensions> 86 +{color:red} 87 + <configuration> 88 + <readPatternsets>true</readPatternsets> 89 + </configuration> 90 +{color} 91 + </plugin> 92 + </plugins> 93 + ... 94 + </build> 95 +... 96 +</project> 97 +{code} 98 + 99 +To include resources from a folder: 100 + 101 +{code} 102 +<?xml version="1.0"?> 103 +<project> 104 + ... 105 + <packaging>woapplication</packaging> 106 + ... 107 + <build> 108 + ... 109 + <resources> 110 + <resource> 111 + <directory> [your folder here] </directory> 112 + <targetPath> [either Resources or WebServerResources] </targetPath 113 + </resource> 114 + </resources> 115 +... 116 + <plugins> 117 + <plugin> 118 + <groupId>org.objectstyle.woproject.maven2</groupId> 119 + <artifactId>maven-wolifecycle-plugin</artifactId> 120 + <version>2.0-SNAPSHOT</version> 121 + <extensions>true</extensions> 122 + </plugin> 123 + </plugins> 124 + ... 125 + </build> 126 +... 127 +</project> 128 +{code} 129 +{{/code color}}