#2, #5 - Polished pom.xml before release.

Upgraded to release versions of Spring Data JPA and Commons. Added necessary metadata to publish to Maven central. Polished dependency versions and scopes.
This commit is contained in:
Oliver Gierke
2012-10-25 14:47:06 +02:00
parent 2c22001fe6
commit 4b3dfeb0ee

122
pom.xml
View File

@@ -6,12 +6,9 @@
<artifactId>spring-data-envers</artifactId>
<version>0.1.0.BUILD-SNAPSHOT</version>
<properties>
<spring.version>3.1.1.RELEASE</spring.version>
<spring.data.core.version>1.3.0.RELEASE</spring.data.core.version>
<spring.data.jpa.version>1.1.0.RELEASE</spring.data.jpa.version>
<file.encoding>UTF-8</file.encoding>
</properties>
<name>Spring Data Envers</name>
<description>Spring Data extension to work with Hibernate Envers</description>
<url>http://github.com/SpringSource/spring-data-envers</url>
<developers>
<developer>
@@ -27,10 +24,41 @@
<organizationUrl>www.ble.de</organizationUrl>
</developer>
</developers>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<comments>
Copyright 2011-2012 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
See the License for the specific language governing permissions and
limitations under the License.
</comments>
</license>
</licenses>
<scm>
<url>https://github.com/SpringSource/spring-data-envers</url>
</scm>
<properties>
<spring.version>3.1.2.RELEASE</spring.version>
<spring.data.core.version>1.4.0.RELEASE</spring.data.core.version>
<spring.data.jpa.version>1.2.0.RELEASE</spring.data.jpa.version>
<slf4j.version>1.6.6</slf4j.version>
<file.encoding>UTF-8</file.encoding>
</properties>
<dependencies>
@@ -45,6 +73,12 @@
<artifactId>spring-data-jpa</artifactId>
<version>${spring.data.jpa.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
@@ -82,11 +116,43 @@
<version>${spring.version}</version>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>runtime</scope>
</dependency>
<!-- Hibernate -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-envers</artifactId>
<version>4.1.7.Final</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.1</version>
</dependency>
<!-- Test -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.2.1</version>
<version>1.3</version>
<scope>test</scope>
</dependency>
@@ -110,52 +176,26 @@
<version>1.3.166</version>
<scope>test</scope>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.6.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-envers</artifactId>
<version>4.0.1.Final</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.2</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.1</version>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>