Skip to content

Commit

Permalink
pom.xml: overwrite distribution management to repo.jenkins-ci.org
Browse files Browse the repository at this point in the history
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 76da836
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Expand Up @@ -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>
Expand Down

0 comments on commit 76da836

Please sign in to comment.