1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+
6+ <parent >
7+ <artifactId >prettytime-parent</artifactId >
8+ <groupId >org.ocpsoft.prettytime</groupId >
9+ <version >3.2.5-SNAPSHOT</version >
10+ </parent >
11+ <modelVersion >4.0.0</modelVersion >
12+
13+ <artifactId >prettytime-samples</artifactId >
14+ <name >PrettyTime - Integration - Samples</name >
15+ <description >PrettyTime integration samples module</description >
16+
17+ <dependencies >
18+ <dependency >
19+ <groupId >org.eclipse.jetty</groupId >
20+ <artifactId >jetty-server</artifactId >
21+ <version >7.2.2.v20101205</version >
22+ </dependency >
23+ <dependency >
24+ <groupId >org.eclipse.jetty</groupId >
25+ <artifactId >jetty-webapp</artifactId >
26+ <version >7.2.2.v20101205</version >
27+ </dependency >
28+
29+ <dependency >
30+ <groupId >org.eclipse.jetty</groupId >
31+ <artifactId >jetty-jsp-2.1</artifactId >
32+ <version >7.2.2.v20101205</version >
33+ </dependency >
34+ <dependency >
35+ <groupId >org.mortbay.jetty</groupId >
36+ <artifactId >jsp-2.1-glassfish</artifactId >
37+ <version >2.1.v20100127</version >
38+ </dependency >
39+
40+ <dependency >
41+ <groupId >org.ocpsoft.prettytime</groupId >
42+ <artifactId >prettytime-integration-jstl</artifactId >
43+ <version >3.2.5-SNAPSHOT</version >
44+ </dependency >
45+ </dependencies >
46+
47+ <profiles >
48+
49+ <!-- profile to run the JSTL integration sample -->
50+ <profile >
51+ <id >runJstlSample</id >
52+ <build >
53+ <defaultGoal >exec:java</defaultGoal >
54+ <plugins >
55+ <plugin >
56+ <groupId >org.codehaus.mojo</groupId >
57+ <artifactId >exec-maven-plugin</artifactId >
58+ <version >1.2.1</version >
59+ <configuration >
60+ <mainClass >org.ocpsoft.prettytime.samples.jstl.JstlSampleLauncher</mainClass >
61+ <arguments >
62+ <argument >${project.basedir} /src/main/webapp/</argument >
63+ </arguments >
64+ </configuration >
65+ </plugin >
66+ </plugins >
67+ </build >
68+ </profile >
69+ </profiles >
70+
71+ </project >
0 commit comments