INT-1254, fixed parent pom and security pom to pick up version of spring security from parent definition

This commit is contained in:
Oleg Zhurakousky
2010-09-13 14:51:45 -04:00
parent f454378013
commit e5f67740e4
2 changed files with 35 additions and 43 deletions

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-parent</artifactId>
@@ -23,7 +24,7 @@
<org.hamcrest.version>1.1</org.hamcrest.version>
<org.slf4j.version>1.5.10</org.slf4j.version>
<org.springframework.version>3.0.3.RELEASE</org.springframework.version>
<org.springframework.security.version>2.0.5.RELEASE</org.springframework.security.version>
<org.springframework.security.version>3.0.3.RELEASE</org.springframework.security.version>
<org.springframework.ws.version>1.5.9</org.springframework.ws.version>
</properties>
<profiles>
@@ -101,7 +102,8 @@
</profiles>
<distributionManagement>
<!-- see 'staging' profile for dry-run deployment settings -->
<!-- see 'snapshot', 'milestone' and 'release' profiles for respective repository settings -->
<!-- see 'snapshot', 'milestone' and 'release' profiles for respective
repository settings -->
<downloadUrl>http://static.springframework.org/spring-integration/site/downloads/releases.html</downloadUrl>
<site>
<id>static.springframework.org</id>
@@ -109,14 +111,10 @@
</site>
</distributionManagement>
<dependencyManagement>
<!--
inheritable <dependency> declarations for child poms. children still
must explicitly declare the groupId/artifactId of these dependencies
in order for them to show up on the classpath, but metadata like
<version> and <scope> are inherited, which cuts down on verbosity.
see
http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-dep-manage.html
-->
<!-- inheritable <dependency> declarations for child poms. children still
must explicitly declare the groupId/artifactId of these dependencies in order
for them to show up on the classpath, but metadata like <version> and <scope>
are inherited, which cuts down on verbosity. see http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-dep-manage.html -->
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
@@ -213,13 +211,21 @@
<artifactId>spring-commons-serializer</artifactId>
<version>1.0.0.M1</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${org.springframework.security.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${org.springframework.security.version}</version>
</dependency>
<!-- test-scoped dependencies -->
<dependency>
<!--
while cglib is not necessarily a 'test'-related dependency, it is
only used for testing purposes by child modules thus it's scope has
been generalized to 'test' here
-->
<!-- while cglib is not necessarily a 'test'-related dependency, it is
only used for testing purposes by child modules thus it's scope has been
generalized to 'test' here -->
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>${cglib.version}</version>
@@ -276,12 +282,10 @@
</dependencies>
</dependencyManagement>
<dependencies>
<!--
dependency definitions to be inherited by child poms. any
<dependency> declarations here will automatically show up on child
project classpaths. only items that are truly common across all
projects should go here. otherwise, consider <dependencyManagement />
-->
<!-- dependency definitions to be inherited by child poms. any <dependency>
declarations here will automatically show up on child project classpaths.
only items that are truly common across all projects should go here. otherwise,
consider <dependencyManagement /> -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
@@ -292,10 +296,8 @@
<build>
<extensions>
<extension>
<!--
available only in the springframework maven repository. see
<repositories> section below
-->
<!-- available only in the springframework maven repository. see <repositories>
section below -->
<groupId>org.springframework.build.aws</groupId>
<artifactId>org.springframework.build.aws.maven</artifactId>
<version>3.0.0.RELEASE</version>
@@ -376,12 +378,9 @@
</executions>
</plugin>
<plugin>
<!--
configures the springsource bundlor plugin, which generates
OSGI-compatible MANIFEST.MF files during the 'compile' phase of
the maven build. For more information, see
http://static.springsource.org/s2-bundlor/1.0.x/user-guide/html/ch04s03.html
-->
<!-- configures the springsource bundlor plugin, which generates OSGI-compatible
MANIFEST.MF files during the 'compile' phase of the maven build. For more
information, see http://static.springsource.org/s2-bundlor/1.0.x/user-guide/html/ch04s03.html -->
<groupId>com.springsource.bundlor</groupId>
<artifactId>com.springsource.bundlor.maven</artifactId>
<version>1.0.0.RELEASE</version>
@@ -398,10 +397,8 @@
</executions>
</plugin>
<plugin>
<!--
configures the jar plugin to pick up the manifest created by
bundlor (see above)
-->
<!-- configures the jar plugin to pick up the manifest created by bundlor
(see above) -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
@@ -416,11 +413,8 @@
<reporting>
<plugins>
<plugin>
<!--
significantly speeds up the 'Dependencies' report during site
creation see
http://old.nabble.com/Skipping-dependency-report-during-Maven2-site-generation-td20116761.html
-->
<!-- significantly speeds up the 'Dependencies' report during site creation
see http://old.nabble.com/Skipping-dependency-report-during-Maven2-site-generation-td20116761.html -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.1</version>

View File

@@ -27,7 +27,6 @@
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>3.0.3.RELEASE</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
@@ -38,7 +37,6 @@
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>3.0.3.RELEASE</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>