/[Apache-SVN]/myfaces/tomahawk/trunk/examples/pom.xml
ViewVC logotype

Contents of /myfaces/tomahawk/trunk/examples/pom.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 785061 - (show annotations)
Tue Jun 16 03:03:28 2009 UTC (5 months, 1 week ago) by lu4242
File MIME type: text/xml
File size: 19760 byte(s)
[maven-release-plugin] prepare for next development iteration
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2 <modelVersion>4.0.0</modelVersion>
3 <packaging>pom</packaging>
4 <name>Tomahawk Examples Project</name>
5 <groupId>org.apache.myfaces.tomahawk</groupId>
6 <artifactId>tomahawk-examples-project</artifactId>
7
8 <parent>
9 <groupId>org.apache.myfaces.tomahawk</groupId>
10 <artifactId>tomahawk-project</artifactId>
11 <version>1.1.10-SNAPSHOT</version>
12 </parent>
13
14 <scm>
15 <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples</connection>
16 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples</developerConnection>
17 <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/examples</url>
18 </scm>
19
20 <modules>
21 <module>blank</module>
22 <module>simple</module>
23 <module>tiles</module>
24 <module>wap</module>
25 </modules>
26
27 <profiles>
28 <!-- By default, use the current snapshot of Tomahawk -->
29 <profile>
30 <id>tomahawk-current</id>
31 <activation>
32 <property>
33 <name>!tomahawk</name>
34 </property>
35 </activation>
36 <dependencies>
37 <dependency>
38 <groupId>org.apache.myfaces.tomahawk</groupId>
39 <artifactId>tomahawk</artifactId>
40 <version>${project.version}</version>
41 </dependency>
42 </dependencies>
43 </profile>
44
45 <!-- Use the specified version of tomahawk -->
46 <profile>
47 <id>tomahawk-specified</id>
48 <activation>
49 <property>
50 <name>tomahawk</name>
51 <value>11</value>
52 </property>
53 </activation>
54 <dependencies>
55 <dependency>
56 <groupId>org.apache.myfaces.tomahawk</groupId>
57 <artifactId>tomahawk</artifactId>
58 <version>${tomahawk}</version>
59 </dependency>
60 </dependencies>
61 </profile>
62
63 <profile>
64 <id>tomahawk-current12</id>
65 <activation>
66 <property>
67 <name>tomahawk</name>
68 <value>12</value>
69 </property>
70 </activation>
71 <dependencies>
72 <dependency>
73 <groupId>org.apache.myfaces.tomahawk</groupId>
74 <artifactId>tomahawk12</artifactId>
75 <version>${project.version}</version>
76 </dependency>
77 </dependencies>
78 </profile>
79
80 <!-- To run the examples using MyFaces 1.1: do not specify a jsf property -->
81 <profile>
82 <id>myfaces-1.1</id>
83 <activation>
84 <property>
85 <name>!jsf</name>
86 </property>
87 </activation>
88 <dependencies>
89 <dependency>
90 <groupId>org.apache.myfaces.core</groupId>
91 <artifactId>myfaces-api</artifactId>
92 <version>${myfaces-core11-version}</version>
93 </dependency>
94 <dependency>
95 <groupId>org.apache.myfaces.core</groupId>
96 <artifactId>myfaces-impl</artifactId>
97 <version>${myfaces-core11-version}</version>
98 <scope>runtime</scope>
99 </dependency>
100 <dependency>
101 <groupId>javax.servlet</groupId>
102 <artifactId>jstl</artifactId>
103 <version>1.2</version>
104 </dependency>
105 <dependency>
106 <groupId>taglibs</groupId>
107 <artifactId>standard</artifactId>
108 <version>1.1.2</version>
109 </dependency>
110 <dependency>
111 <groupId>org.apache.geronimo.specs</groupId>
112 <artifactId>geronimo-el_1.0_spec</artifactId>
113 <version>1.0-M1</version>
114 <scope>provided</scope>
115 </dependency>
116 </dependencies>
117
118 <properties>
119 <jsf_implementation>MyFaces 1.2</jsf_implementation>
120 </properties>
121 </profile>
122
123
124 <!-- To run the examples using MyFaces 1.2: -Djsf=12 -->
125 <profile>
126 <id>myfaces-1.2</id>
127 <activation>
128 <property>
129 <name>jsf</name>
130 <value>12</value>
131 </property>
132 </activation>
133 <dependencies>
134 <dependency>
135 <groupId>org.apache.myfaces.core</groupId>
136 <artifactId>myfaces-api</artifactId>
137 <version>${myfaces-core12-version}</version>
138 </dependency>
139 <dependency>
140 <groupId>org.apache.myfaces.core</groupId>
141 <artifactId>myfaces-impl</artifactId>
142 <version>${myfaces-core12-version}</version>
143 <scope>runtime</scope>
144 </dependency>
145 <dependency>
146 <groupId>javax.servlet</groupId>
147 <artifactId>jstl</artifactId>
148 <version>1.2</version>
149 </dependency>
150 <dependency>
151 <groupId>taglibs</groupId>
152 <artifactId>standard</artifactId>
153 <version>1.1.2</version>
154 </dependency>
155 <dependency>
156 <groupId>org.apache.geronimo.specs</groupId>
157 <artifactId>geronimo-el_1.0_spec</artifactId>
158 <version>1.0-M1</version>
159 <scope>provided</scope>
160 </dependency>
161 </dependencies>
162
163 <properties>
164 <jsf_implementation>MyFaces 1.2</jsf_implementation>
165 </properties>
166 </profile>
167
168
169 <!-- To run the examples using Sun's JSF Reference Implementation 1.1: -Djsf=ri -->
170 <profile>
171 <id>jsfri-1.1</id>
172 <activation>
173 <property>
174 <name>jsf</name>
175 <value>ri</value>
176 </property>
177 </activation>
178 <dependencies>
179 <dependency>
180 <groupId>javax.faces</groupId>
181 <artifactId>jsf-api</artifactId>
182 <version>1.1_02</version>
183 <exclusions>
184 <exclusion>
185 <groupId>java.servlet.servlet.jsp</groupId>
186 <artifactId>jsp-api</artifactId>
187 </exclusion>
188 <exclusion>
189 <groupId>javax.servlet.jsp</groupId>
190 <artifactId>jsp-api</artifactId>
191 </exclusion>
192 <exclusion>
193 <groupId>javax.servlet.jsp.jstl</groupId>
194 <artifactId>jstl</artifactId>
195 </exclusion>
196 </exclusions>
197 </dependency>
198 <dependency>
199 <groupId>javax.faces</groupId>
200 <artifactId>jsf-impl</artifactId>
201 <version>1.1_02</version>
202 <scope>${jsf-impl.scope}</scope>
203 <exclusions>
204 <exclusion>
205 <groupId>java.servlet.servlet.jsp</groupId>
206 <artifactId>jsp-api</artifactId>
207 </exclusion>
208 <exclusion>
209 <groupId>javax.servlet.jsp</groupId>
210 <artifactId>jsp-api</artifactId>
211 </exclusion>
212 <exclusion>
213 <groupId>javax.servlet.jsp.jstl</groupId>
214 <artifactId>jstl</artifactId>
215 </exclusion>
216 </exclusions>
217 </dependency>
218
219 <dependency>
220 <groupId>javax.servlet</groupId>
221 <artifactId>jstl</artifactId>
222 <version>1.1.0</version>
223 <scope>${jsf-impl.scope}</scope>
224 </dependency>
225 </dependencies>
226
227 <repositories>
228 <repository>
229 <id>java.net</id>
230 <name>java.net Maven 1 Repository</name>
231 <url>https://maven-repository.dev.java.net/nonav/repository</url>
232 <layout>legacy</layout>
233 </repository>
234
235 <repository>
236 <id>Maven2 Repo1</id>
237 <name>Maven2 Repo1</name>
238 <url>http://repo1.maven.org/maven2</url>
239 <layout>legacy</layout>
240 </repository>
241
242 </repositories>
243
244 <properties>
245 <jsf_implementation>JSF-RI</jsf_implementation>
246 </properties>
247 </profile>
248
249 <!-- To use the examples using the Sun's JSF Reference Implementation 1.2 : -Djsf=ri12 -->
250 <profile>
251 <id>jsfri-1.2</id>
252 <activation>
253 <property>
254 <name>jsf</name>
255 <value>ri12</value>
256 </property>
257 </activation>
258 <dependencies>
259 <dependency>
260 <groupId>javax.faces</groupId>
261 <artifactId>jsf-api</artifactId>
262 <version>1.2_04</version>
263 </dependency>
264 <dependency>
265 <groupId>javax.faces</groupId>
266 <artifactId>jsf-impl</artifactId>
267 <version>1.2_04</version>
268 <scope>runtime</scope>
269 </dependency>
270 <dependency>
271 <groupId>org.apache.geronimo.specs</groupId>
272 <artifactId>geronimo-el_1.0_spec</artifactId>
273 <version>1.0-M1</version>
274 <scope>provided</scope>
275 </dependency>
276 </dependencies>
277
278 <repositories>
279 <repository>
280 <id>java.net</id>
281 <name>java.net Maven 1 Repository</name>
282 <url>http://download.java.net/maven/1</url>
283 <layout>legacy</layout>
284 </repository>
285 </repositories>
286
287 <properties>
288 <jsf_implementation>JSF-RI 1.2</jsf_implementation>
289 </properties>
290 </profile>
291
292 <!-- See http://myfaces.apache.org/tomahawk/testing/selenium.html -->
293 <profile>
294 <id>selenium</id>
295 <activation>
296 <property>
297 <name>selenium</name>
298 </property>
299 </activation>
300 <build>
301 <plugins>
302 <plugin>
303 <groupId>org.codehaus.mojo</groupId>
304 <artifactId>dependency-maven-plugin</artifactId>
305 <executions>
306 <execution>
307 <id>unpack-selenium</id>
308 <phase>generate-resources</phase>
309 <goals>
310 <goal>unpack</goal>
311 </goals>
312 <configuration>
313 <artifactItems>
314 <artifactItem>
315 <groupId>org.openqa.selenium.core</groupId>
316 <artifactId>selenium-core</artifactId>
317 <version>0.8.1</version>
318 </artifactItem>
319 </artifactItems>
320 <outputDirectory>${project.build.directory}/selenium</outputDirectory>
321 </configuration>
322 </execution>
323 </executions>
324 </plugin>
325 <plugin>
326 <artifactId>maven-antrun-plugin</artifactId>
327 <executions>
328 <execution>
329 <id>copy-selenium</id>
330 <phase>process-resources</phase>
331 <configuration>
332 <tasks>
333 <copy todir="${project.build.directory}/${artifactId}/selenium/core">
334 <fileset dir="${project.build.directory}/selenium/core" />
335 </copy>
336 <copy todir="${project.build.directory}/${artifactId}/selenium/tests">
337 <fileset dir="${basedir}/src/test/selenium" />
338 </copy>
339 </tasks>
340 </configuration>
341 <goals>
342 <goal>run</goal>
343 </goals>
344 </execution>
345 </executions>
346 </plugin>
347 </plugins>
348 </build>
349 <repositories>
350 <repository>
351 <id>OpenQA</id>
352 <url>http://maven.openqa.org</url>
353 </repository>
354 </repositories>
355 </profile>
356
357 <!-- See: http://myfaces.apache.org/tomahawk/testing/hostedqa.html -->
358 <profile>
359 <id>hostedqa</id>
360 <dependencies>
361 <dependency>
362 <groupId>com.hostedqa</groupId>
363 <artifactId>hostedqa-remote-ant</artifactId>
364 <version>1.7</version>
365 <scope>test</scope>
366 </dependency>
367 </dependencies>
368 <repositories>
369 <repository>
370 <id>codehaus</id>
371 <name>codehaus</name>
372 <url>http://repository.codehaus.org</url>
373 </repository>
374 <repository>
375 <id>maven-hostedqa</id>
376 <name>maven-hostedqa</name>
377 <snapshots>
378 <enabled>true</enabled>
379 <updatePolicy>always</updatePolicy>
380 <checksumPolicy>ignore</checksumPolicy>
381 </snapshots>
382 <releases>
383 <enabled>true</enabled>
384 </releases>
385 <url>http://maven.hostedqa.com</url>
386 </repository>
387 </repositories>
388 <build>
389 <plugins>
390 <plugin>
391 <artifactId>maven-antrun-plugin</artifactId>
392 <groupId>org.apache.maven.plugins</groupId>
393 <executions>
394 <execution>
395 <phase>package</phase>
396 <goals>
397 <goal>run</goal>
398 </goals>
399 <configuration>
400 <tasks>
401 <taskdef resource="hostedqatasks" classpathref="maven.plugin.classpath" />
402 <upload file="${project.build.directory}/${project.build.finalName}.war" account="myfaces" email="${myfaces.hostedqa.email}" password="${myfaces.hostedqa.password}" resourceId="${hostedqa.resourceId}" />
403
404 <playsuite clientConfigs="${hostedqa.clientConfigs}" appConfigs="${hostedqa.appConfigs}" account="myfaces" email="${myfaces.hostedqa.email}" password="${myfaces.hostedqa.password}">
405 <fileSet dir="${basedir}/src/test/selenium" excludes="TestSuite*.html,*FireFox.html" />
406 </playsuite>
407 </tasks>
408 </configuration>
409 </execution>
410 </executions>
411 <dependencies>
412 <dependency>
413 <groupId>com.hostedqa</groupId>
414 <artifactId>hostedqa-remote-ant</artifactId>
415 <version>1.7</version>
416 </dependency>
417 </dependencies>
418 </plugin>
419 </plugins>
420 </build>
421 </profile>
422 <!-- This profile is invoked by -DprepareRelease=true. This allows mvn release:prepare to
423 run successfully on the assembly projects. -->
424 <profile>
425 <id>prepare-release</id>
426 <activation>
427 <property>
428 <name>prepareRelease</name>
429 </property>
430 </activation>
431 <modules>
432 <module>assembly</module>
433 </modules>
434 </profile>
435 </profiles>
436
437 <build>
438 <finalName>${artifactId}</finalName>
439
440 <resources>
441 <resource>
442 <directory>src/main/resources</directory>
443 <filtering>true</filtering>
444 </resource>
445 </resources>
446
447 <plugins>
448 <plugin>
449 <artifactId>maven-source-plugin</artifactId>
450 <executions>
451 <execution>
452 <id>attach-source</id>
453 <goals>
454 <goal>jar</goal>
455 </goals>
456 </execution>
457 </executions>
458 </plugin>
459 <plugin>
460 <groupId>org.codehaus.cargo</groupId>
461 <artifactId>cargo-maven2-plugin</artifactId>
462 <version>0.3.1</version>
463 <configuration>
464 <container>
465 <containerId>tomcat5x</containerId>
466 <home>${cargo.tomcat5x.home}</home>
467 <log>${project.build.directory}/tomcat5x.log</log>
468 <output>${project.build.directory}/tomcat5x.out</output>
469 </container>
470 <configuration>
471 <home>${project.build.directory}/tomcat5x</home>
472 <properties>
473 <cargo.jvmargs> -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n </cargo.jvmargs>
474 </properties>
475 </configuration>
476 </configuration>
477 </plugin>
478
479 <plugin>
480 <groupId>org.mortbay.jetty</groupId>
481 <artifactId>maven-jetty-plugin</artifactId>
482 <version>6.1.11</version>
483 <configuration>
484 <scanIntervalSeconds>10</scanIntervalSeconds>
485 </configuration>
486 </plugin>
487
488 </plugins>
489 </build>
490
491 <properties>
492 <!-- Tomahawk examples must only have runtime dependency to the imlementation
493 so that it will be automatically added to war. But there must not be
494 any compile dependency on impl so that is is always possible to use
495 other JSF implementations. -->
496 <jsf-impl.scope>runtime</jsf-impl.scope>
497 </properties>
498 </project>

Properties

Name Value
svn:eol-style native

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2