Changes for page maven-wolifecycle-plugin

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

From version 49.1
edited by Ulrich Köster
on 2006/11/09 05:24
Change comment: There is no comment for this version
To version 52.1
edited by Ulrich Köster
on 2007/02/09 11:42
Change comment: Migrated to Confluence 4.0

Summary

Details

Page properties
Content
... ... @@ -6,7 +6,7 @@
6 6  
7 7  Lifecyle maven plugin for WebObjects projects.
8 8  
9 -For the moment, this project is based on the existing ant stuff. This plugin does need configuration.
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  
... ... @@ -25,7 +25,6 @@
25 25   <plugin>
26 26   <groupId>org.objectstyle.woproject.maven2</groupId>
27 27   <artifactId>maven-wolifecycle-plugin</artifactId>
28 - <version>2.0-SNAPSHOT</version>
29 29   <extensions>true</extensions>
30 30   </plugin>
31 31   </plugins>
... ... @@ -40,7 +40,7 @@
40 40  
41 41  From the pom.xml
42 42  
43 -{{code color value="red"}}
42 +{{code}}
44 44  
45 45  <?xml version="1.0"?>
46 46  <project>
... ... @@ -53,7 +53,6 @@
53 53   <plugin>
54 54   <groupId>org.objectstyle.woproject.maven2</groupId>
55 55   <artifactId>maven-wolifecycle-plugin</artifactId>
56 - <version>2.0-SNAPSHOT</version>
57 57   <extensions>true</extensions>
58 58   </plugin>
59 59   </plugins>
... ... @@ -61,15 +61,17 @@
61 61   </build>
62 62  ...
63 63  </project>
64 -{code}
65 65  
66 -h3. Resources
63 +{{/code}}
67 67  
65 +=== Resources ===
66 +
68 68  Per default all resources under Resources and all webserver resources under WebServerResources are included.
69 69  
70 70  To include resources with existing patternset files:
71 71  
72 -{code}
71 +{{code}}
72 +
73 73  <?xml version="1.0"?>
74 74  <project>
75 75   ...
... ... @@ -81,13 +81,10 @@
81 81   <plugin>
82 82   <groupId>org.objectstyle.woproject.maven2</groupId>
83 83   <artifactId>maven-wolifecycle-plugin</artifactId>
84 - <version>2.0-SNAPSHOT</version>
85 85   <extensions>true</extensions>
86 -{color:red}
87 87   <configuration>
88 88   <readPatternsets>true</readPatternsets>
89 89   </configuration>
90 -{color}
91 91   </plugin>
92 92   </plugins>
93 93   ...
... ... @@ -94,11 +94,13 @@
94 94   </build>
95 95  ...
96 96  </project>
97 -{code}
98 98  
95 +{{/code}}
96 +
99 99  To include resources from a folder:
100 100  
101 -{code}
99 +{{code}}
100 +
102 102  <?xml version="1.0"?>
103 103  <project>
104 104   ...
... ... @@ -117,7 +117,6 @@
117 117   <plugin>
118 118   <groupId>org.objectstyle.woproject.maven2</groupId>
119 119   <artifactId>maven-wolifecycle-plugin</artifactId>
120 - <version>2.0-SNAPSHOT</version>
121 121   <extensions>true</extensions>
122 122   </plugin>
123 123   </plugins>
... ... @@ -125,5 +125,72 @@
125 125   </build>
126 126  ...
127 127  </project>
128 -{code}
129 -{{/code color}}
126 +
127 +{{/code}}
128 +
129 +== Options ==
130 +
131 +Per default JavaClientClasses are not included in the WebServerResources.tar.gz per default.
132 +
133 +To include them change your pom to set the 'includeJavaClientClassesInWebServerResources' property to true.
134 +
135 +{{code}}
136 +
137 +<?xml version="1.0"?>
138 +<project>
139 + ...
140 + <packaging>woapplication</packaging>
141 + ...
142 +
143 +<build>
144 + ........
145 + <plugins>
146 + <plugin>
147 + <groupId>org.objectstyle.woproject.maven2</groupId>
148 + <artifactId>maven-wolifecycle-plugin</artifactId>
149 + <extensions>true</extensions>
150 + <configuration>
151 + <readPatternsets>true</readPatternsets>
152 + <includeJavaClientClassesInWebServerResources>true</includeJavaClientClassesInWebServerResources>
153 + </configuration>
154 + </plugin>
155 + </plugins>
156 + </build>
157 +...
158 +</project>
159 +
160 +
161 +{{/code}}
162 +
163 +Per default jars provided by Apple are included.
164 +
165 +To skip them change your pom to set the 'skipAppleProvidedFrameworks' property to true.
166 +
167 +(since 2.0.4)
168 +
169 +{{code}}
170 +
171 +<?xml version="1.0"?>
172 +<project>
173 + ...
174 + <packaging>woapplication</packaging>
175 + ...
176 +
177 +<build>
178 + ........
179 + <plugins>
180 + <plugin>
181 + <groupId>org.objectstyle.woproject.maven2</groupId>
182 + <artifactId>maven-wolifecycle-plugin</artifactId>
183 + <extensions>true</extensions>
184 + <configuration>
185 + <skipAppleProvidedFrameworks>true</skipAppleProvidedFrameworks>
186 + </configuration>
187 + </plugin>
188 + </plugins>
189 + </build>
190 +...
191 +</project>
192 +
193 +
194 +{{/code}}