Skip to content

Commit 6dc66b4

Browse files
committed
Modified to deploy to java.net m2 repo for easier resolution.
1 parent f126dd9 commit 6dc66b4

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

Diff for: README

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@ This version of the git plugin needs a patched version of JGit to support variou
22

33
If you just use any old 0.4-SNAPSHOT, until the patches are merged, things may not work (and master/slave definitely won't work).
44

5-
The patched version is in the maven-repository subdirectory. It's also available at
6-
https://guest:[email protected]/svn/hudson/trunk/hudson/plugins/git/maven-repository
7-
8-
But - maven doesn't seem to want to pass the guest credentials - hence the slightly hackish raw fisheye URL:
9-
http://fisheye4.atlassian.com/browse/~raw,r=trunk/hudson/trunk/hudson/plugins/git/maven-repository
5+
The patched version is deployed to the java.net Maven2 repository.
106

117
If you wish to post-patch a (newer) version of JGit (newer than fedd114bc) then the patches are in jgit-patches. They have been
128
submitted to the JGit maintainer.

Diff for: maven-repository/org/spearce/jgit/0.4-47e4af3/jgit-0.4-47e4af3.pom

+11
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,13 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
170170
</configuration>
171171
</plugin>
172172
</plugins>
173+
<extensions>
174+
<extension>
175+
<groupId>org.jvnet.wagon-svn</groupId>
176+
<artifactId>wagon-svn</artifactId>
177+
<version>1.8</version>
178+
</extension>
179+
</extensions>
173180
</build>
174181
<dependencies>
175182
<dependency>
@@ -186,6 +193,10 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
186193
</dependency>
187194
</dependencies>
188195
<distributionManagement>
196+
<repository>
197+
<id>java.net-m2-repository</id>
198+
<url>java-net:/maven2-repository/trunk/repository/</url>
199+
</repository>
189200
<snapshotRepository>
190201
<id>jgit-maven-snapshot-repository</id>
191202
<name>JGit Maven Snapshot Repository</name>

Diff for: pom.xml

-13
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,6 @@
4242
</releases>
4343
</repository>
4444

45-
<repository>
46-
<id>jgit-releases</id>
47-
<url>http://fisheye4.atlassian.com/browse/~raw,r=trunk/hudson/trunk/hudson/plugins/git/maven-repository</url>
48-
<!--
49-
<url>https://guest:[email protected]/svn/hudson/trunk/hudson/plugins/git/maven-repository</url>
50-
-->
51-
<snapshots>
52-
<enabled>false</enabled>
53-
</snapshots>
54-
<releases>
55-
<enabled>true</enabled>
56-
</releases>
57-
</repository>
5845
<repository>
5946
<id>guice-maven</id>
6047
<name>guice maven</name>

0 commit comments

Comments
 (0)