forked from sitemesh/sitemesh3
/
pom.xml
129 lines (116 loc) · 3.55 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>sitemesh-parent</artifactId>
<groupId>org.sitemesh</groupId>
<version>3.0.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<artifactId>sitemesh</artifactId>
<name>SiteMesh library</name>
<description>
SiteMesh is a web-page layout and decoration framework and web- application integration framework to aid in
creating sites consisting of many pages for which a consistent look/feel, navigation and layout scheme is
required.
</description>
<build>
<plugins>
<!-- JFlex is used to generate the tag lexer Java class -->
<plugin>
<groupId>de.jflex</groupId>
<artifactId>maven-jflex-plugin</artifactId>
<version>1.4.3</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<lexDefinitions>
<lexFile>src/main/java/org/sitemesh/tagprocessor/lexer.flex</lexFile>
</lexDefinitions>
</configuration>
</execution>
</executions>
</plugin>
<!-- Also build source.jar as output -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-source</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Make the Jar executable: java -jar sitemesh.jar invokes the offline site generator tool. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<manifest>
<mainClass>org.sitemesh.config.cmdline.CommandLineLauncher</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<!-- Only run *Test.java based tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7.2</version>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- Dependencies needed at compile time -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.1</version>
<scope>provided</scope>
</dependency>
<!-- Dependencies used by tests -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<version>6.1.14</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>6.1.14</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-testutil</artifactId>
<version>1.7.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>