Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Commit 83dfd04

Browse files
committed
Improve dependencies of war-xml project template
1 parent 4a9d255 commit 83dfd04

File tree

1 file changed

+88
-33
lines changed

1 file changed

+88
-33
lines changed

SPR-0000-war-xml/pom.xml

Lines changed: 88 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -66,26 +66,89 @@
6666
<scope>provided</scope>
6767
</dependency>
6868

69-
<!-- JSTL <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId>
70-
<version>1.2</version> </dependency> -->
69+
<!-- JSP API and JSTL
70+
<dependency>
71+
<groupId>javax.servlet.jsp</groupId>
72+
<artifactId>jsp-api</artifactId>
73+
<version>2.1</version>
74+
<scope>provided</scope>
75+
</dependency>
76+
<dependency>
77+
<groupId>javax.servlet</groupId>
78+
<artifactId>jstl</artifactId>
79+
<version>1.2</version>
80+
</dependency>
81+
-->
82+
83+
<!-- Apache Tiles
84+
<dependency>
85+
<groupId>org.apache.tiles</groupId>
86+
<artifactId>tiles-jsp</artifactId>
87+
<version>2.1.3</version>
88+
<exclusions>
89+
<exclusion>
90+
<groupId>commons-logging</groupId>
91+
<artifactId>commons-logging-api</artifactId>
92+
</exclusion>
93+
</exclusions>
94+
</dependency>
95+
-->
7196

72-
<!-- JSR 303 with Hibernate Validator <dependency> <groupId>javax.validation</groupId>
73-
<artifactId>validation-api</artifactId> <version>1.0.0.GA</version> </dependency>
74-
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-validator</artifactId>
75-
<version>4.1.0.Final</version> </dependency> -->
97+
<!-- JSR 303 with Hibernate Validator
98+
<dependency>
99+
<groupId>javax.validation</groupId>
100+
<artifactId>validation-api</artifactId>
101+
<version>1.0.0.GA</version>
102+
</dependency>
103+
<dependency>
104+
<groupId>org.hibernate</groupId>
105+
<artifactId>hibernate-validator</artifactId>
106+
<version>4.1.0.Final</version>
107+
</dependency>
108+
-->
76109

77-
<!-- Joda Time Library <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId>
78-
<version>1.6.2</version> </dependency> -->
110+
<!-- Joda Time Library
111+
<dependency>
112+
<groupId>joda-time</groupId>
113+
<artifactId>joda-time</artifactId>
114+
<version>1.6.2</version>
115+
</dependency>
116+
<dependency>
117+
<groupId>joda-time</groupId>
118+
<artifactId>joda-time-jsptags</artifactId>
119+
<version>1.0.2</version>
120+
<scope>runtime</scope>
121+
</dependency>
122+
-->
79123

80-
<!-- File Upload <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId>
81-
<version>1.2.2</version> </dependency> <dependency> <groupId>commons-io</groupId>
82-
<artifactId>commons-io</artifactId> <version>2.0.1</version> </dependency> -->
124+
<!-- Apache Commons File Upload
125+
<dependency>
126+
<groupId>commons-fileupload</groupId>
127+
<artifactId>commons-fileupload</artifactId>
128+
<version>1.2.2</version>
129+
</dependency>
130+
<dependency>
131+
<groupId>commons-io</groupId>
132+
<artifactId>commons-io</artifactId>
133+
<version>2.0.1</version>
134+
</dependency>
135+
-->
83136

84-
<!-- Jackson JSON Processor <dependency> <groupId>org.codehaus.jackson</groupId>
85-
<artifactId>jackson-mapper-asl</artifactId> <version>1.8.1</version> </dependency> -->
137+
<!-- Jackson JSON Processor
138+
<dependency>
139+
<groupId>org.codehaus.jackson</groupId>
140+
<artifactId>jackson-mapper-asl</artifactId>
141+
<version>1.8.1</version>
142+
</dependency>
143+
-->
86144

87-
<!-- Rome Atom+RSS <dependency> <groupId>rome</groupId> <artifactId>rome</artifactId>
88-
<version>1.0</version> </dependency> -->
145+
<!-- Rome Atom+RSS
146+
<dependency>
147+
<groupId>rome</groupId>
148+
<artifactId>rome</artifactId>
149+
<version>1.0</version>
150+
</dependency>
151+
-->
89152

90153
<!-- Test -->
91154
<dependency>
@@ -105,24 +168,6 @@
105168
<enabled>true</enabled>
106169
</snapshots>
107170
</repository>
108-
<!-- For Hibernate Validator -->
109-
<repository>
110-
<id>org.jboss.repository.releases</id>
111-
<name>JBoss Maven Release Repository</name>
112-
<url>https://repository.jboss.org/nexus/content/repositories/releases</url>
113-
<snapshots>
114-
<enabled>false</enabled>
115-
</snapshots>
116-
</repository>
117-
<!-- For Rome -->
118-
<repository>
119-
<id>maven2-repository.dev.java.net</id>
120-
<name>Java.net Repository for Maven</name>
121-
<url>http://download.java.net/maven/2/</url>
122-
<snapshots>
123-
<enabled>false</enabled>
124-
</snapshots>
125-
</repository>
126171
</repositories>
127172

128173
<build>
@@ -147,6 +192,16 @@
147192
</execution>
148193
</executions>
149194
</plugin>
195+
<plugin>
196+
<groupId>org.apache.maven.plugins</groupId>
197+
<artifactId>maven-eclipse-plugin</artifactId>
198+
<version>2.8</version>
199+
<configuration>
200+
<downloadSources>true</downloadSources>
201+
<downloadJavadocs>false</downloadJavadocs>
202+
<wtpversion>2.0</wtpversion>
203+
</configuration>
204+
</plugin>
150205
<plugin>
151206
<artifactId>maven-surefire-plugin</artifactId>
152207
<configuration>

0 commit comments

Comments
 (0)