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