Changes for page maven-wolifecycle-plugin

Last modified by Ulrich Köster on 2007/02/09 11:42

From version 36.1
edited by Ulrich Köster
on 2006/11/07 03:26
Change comment: There is no comment for this version
To version 27.1
edited by Ulrich Köster
on 2006/11/09 05:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -maven-woproject-plugin
1 +maven-wolifecycle-plugin
Content
... ... @@ -1,17 +1,15 @@
1 1  == Description ==
2 2  
3 -"maven-woproject-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 for for 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 goal does need previous configuration.
14 -
15 15  From the pom.xml
16 16  
17 17  {{code}}
... ... @@ -26,7 +26,7 @@
26 26   <plugins>
27 27   <plugin>
28 28   <groupId>org.objectstyle.woproject.maven2</groupId>
29 - <artifactId>maven-woproject-plugin</artifactId>
27 + <artifactId>maven-wolifecycle-plugin</artifactId>
30 30   <version>2.0-SNAPSHOT</version>
31 31   <extensions>true</extensions>
32 32   </plugin>
... ... @@ -40,8 +40,6 @@
40 40  
41 41  === Example WOApplication ===
42 42  
43 -This goal does need previous configuration.
44 -
45 45  From the pom.xml
46 46  
47 47  {{code}}
... ... @@ -56,7 +56,7 @@
56 56   <plugins>
57 57   <plugin>
58 58   <groupId>org.objectstyle.woproject.maven2</groupId>
59 - <artifactId>maven-woproject-plugin</artifactId>
55 + <artifactId>maven-wolifecycle-plugin</artifactId>
60 60   <version>2.0-SNAPSHOT</version>
61 61   <extensions>true</extensions>
62 62   </plugin>
... ... @@ -67,3 +67,71 @@
67 67  </project>
68 68  
69 69  {{/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}}