Move the Spring dependencies into <dependencyManagement>.

Add build/finalName to remove the version number from the packaged webapp filename.

git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@409914 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Wendy Smoak
2006-05-28 03:24:39 +00:00
parent 4d758d78d4
commit b0d54e0f7a
4 changed files with 30 additions and 15 deletions
+8 -9
View File
@@ -114,10 +114,13 @@
</configuration>
</plugin>
</plugins>
<finalName>${pom.artifactId}</finalName>
</build>
<dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.struts.action2</groupId>
<artifactId>struts-core</artifactId>
@@ -129,28 +132,24 @@
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>1.2.6</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>1.2.6</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>1.2.6</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>1.2.6</version>
<optional>true</optional>
</dependency>
<dependency>
@@ -159,7 +158,7 @@
<version>1.2.6</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencies>
</dependencyManagement>
</project>
+1 -1
View File
@@ -10,7 +10,7 @@
<groupId>org.apache.struts.action2</groupId>
<artifactId>struts-portlet</artifactId>
<packaging>war</packaging>
<name>Portet Webapp</name>
<name>Portlet Webapp</name>
<dependencies>
<dependency>
<groupId>portlet-api</groupId>
+21 -1
View File
@@ -31,7 +31,27 @@
<artifactId>sitemesh</artifactId>
<version>2.2.1</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
</dependencies>
<build>
-4
View File
@@ -45,25 +45,21 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>