Skip to content
Permalink
Browse files

pom.xml: overwrite distribution management to repo.jenkins-ci.org

redmine-plugin does not yet rely on 2.x parent plugin pom [INFRA-588],
so maven release needs to upload to repo.jenkins-ci.org
and not to maven.jenkins-ci.org
  • Loading branch information
ljader committed Oct 25, 2016
1 parent 2fea67f commit 76da83677d257b382b4f299c25b14020f1ca971b
Showing with 12 additions and 0 deletions.
  1. +12 −0 pom.xml
12 pom.xml
@@ -85,6 +85,18 @@
</dependency>
</dependencies>

<distributionManagement>
<repository>
<uniqueVersion>false</uniqueVersion>

This comment has been minimized.

Copy link
@batmat

batmat Oct 26, 2016

Member

FYI, no harm, but uniqueVersion is simply ignored since Maven 3 @ljader

This comment has been minimized.

Copy link
@ljader

ljader Oct 26, 2016

Author Member

Thanks @batmat for the info - this was temporary solution to release the plugin with older jenkins baseline.
Planned fix is to update parent pom to 2.x version, to use modern approach.

<id>maven.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/releases/</url>
</repository>
<snapshotRepository>
<id>maven.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/snapshots/</url>
</snapshotRepository>
</distributionManagement>

<repositories>
<repository>
<id>repo.jenkins-ci.org</id>

0 comments on commit 76da836

Please sign in to comment.
You can’t perform that action at this time.