Skip to content

Commit

Permalink
Update pom.xml to be able to deploy correctly
Browse files Browse the repository at this point in the history
See the sample POM for new Jenkins plugins: https://github.com/jenkinsci/maven-hpi-plugin/blob/master/hpi-archetype/pom.xml

Skipped upgrading parent pom, as it introduce mandatory FindBugs execution, which fails during the build. I will create a separate issue to fix those #30.

See Hosting Plugins on Jenkins wiki: https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Workingaroundcommonissues
  • Loading branch information
pkuczynski committed Sep 29, 2016
1 parent 0f9475e commit 249b406
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

Expand All @@ -7,11 +8,13 @@
<version>1.580</version>
</parent>

<packaging>hpi</packaging>

<artifactId>rubyMetrics</artifactId>
<version>1.6.4-SNAPSHOT</version>
<packaging>hpi</packaging>

<name>RubyMetrics plugin for Jenkins</name>
<description>RubyMetrics plugin for Jenkins</description>
<url>https://wiki.jenkins-ci.org/display/JENKINS/RubyMetrics+plugin</url>

<licenses>
Expand Down Expand Up @@ -98,25 +101,17 @@
</plugins>
</build>

<distributionManagement>
<repository>
<id>maven.jenkins-ci.org</id>
<url>http://maven.jenkins-ci.org:8081/content/repositories/releases/</url>
</repository>
</distributionManagement>

<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
<url>http://repo.jenkins-ci.org/public/</url>
<url>https://repo.jenkins-ci.org/public/</url>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
<url>http://repo.jenkins-ci.org/public/</url>
<url>https://repo.jenkins-ci.org/public/</url>
</pluginRepository>
</pluginRepositories>
</project>

0 comments on commit 249b406

Please sign in to comment.