Skip to content

Commit

Permalink
Adjustments for deploying releases to Mvn central
Browse files Browse the repository at this point in the history
- Packaging-type POM
- message for relocation
- project description and meta data

See https://issues.sonatype.org/browse/OSSRH-4501 for rationale.
  • Loading branch information
marcphilipp committed Oct 15, 2012
1 parent 30f2b16 commit cb6115e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions build/maven/junit-dep-pom-template.xml
Expand Up @@ -4,10 +4,50 @@
<modelVersion>4.0.0</modelVersion>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
<packaging>pom</packaging>
<version>@version@</version>
<distributionManagement>
<relocation>
<artifactId>junit</artifactId>
<version>@version@</version>
<message>The artifact junit:junit does not contain Hamcrest anymore but declares a dependency to Hamcrest. Thus, junit:junit-dep has become obsolete.</message>
</relocation>
</distributionManagement>
<name>JUnit</name>
<url>http://junit.org</url>
<description>
JUnit is a regression testing framework written by Erich Gamma and Kent Beck.
It is used by the developer who implements unit tests in Java.
</description>
<organization>
<name>JUnit</name>
<url>http://www.junit.org</url>
</organization>
<mailingLists>
<mailingList>
<name>JUnit Mailing List</name>
<post>junit@yahoogroups.com</post>
<archive>
http://tech.groups.yahoo.com/group/junit/
</archive>
</mailingList>
</mailingLists>
<licenses>
<license>
<name>Common Public License Version 1.0</name>
<url>http://www.opensource.org/licenses/cpl1.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/KentBeck/junit.git</connection>
<developerConnection>scm:git:git@github.com:KentBeck/junit.git</developerConnection>
<url>http://github.com/KentBeck/junit/tree/master</url>
</scm>
<developers>
<developer>
<id>dsaff</id>
<name>David Saff</name>
<email>david@saff.net</email>
</developer>
</developers>
</project>

0 comments on commit cb6115e

Please sign in to comment.