Deploy Maven artifacts to Eclipse Nexus repository
Bug: 401469
Bug: 401470
Change-Id: I4901dc208fe8f9e4055d27ab7e0ced979fd234f5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
diff --git a/org.eclipse.jgit.packaging/pom.xml b/org.eclipse.jgit.packaging/pom.xml
index 4f1b808..cf8e646 100644
--- a/org.eclipse.jgit.packaging/pom.xml
+++ b/org.eclipse.jgit.packaging/pom.xml
@@ -94,6 +94,20 @@
</repository>
</repositories>
+ <distributionManagement>
+ <repository>
+ <id>repo.eclipse.org</id>
+ <name>JGit Maven Repository - Releases</name>
+ <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
+ </repository>
+ <snapshotRepository>
+ <id>repo.eclipse.org</id>
+ <name>JGit Maven Repository - Snapshots</name>
+ <url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url>
+ <uniqueVersion>true</uniqueVersion>
+ </snapshotRepository>
+ </distributionManagement>
+
<dependencies>
<!-- sources artifacts so that we can place them in the features -->
<dependency>
diff --git a/pom.xml b/pom.xml
index 4fd75253..7557370 100644
--- a/pom.xml
+++ b/pom.xml
@@ -438,10 +438,15 @@
</dependencyManagement>
<distributionManagement>
+ <repository>
+ <id>repo.eclipse.org</id>
+ <name>JGit Maven Repository - Releases</name>
+ <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url>
+ </repository>
<snapshotRepository>
- <id>jgit-maven-snapshot</id>
- <name>JGit Maven Repository</name>
- <url>dav:https://egit.googlecode.com/svn/maven/</url>
+ <id>repo.eclipse.org</id>
+ <name>JGit Maven Repository - Snapshots</name>
+ <url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url>
<uniqueVersion>true</uniqueVersion>
</snapshotRepository>
</distributionManagement>