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 eba92d9
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 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>

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

<artifactId>rubyMetrics</artifactId>
<version>1.6.4</version>

<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 @@ -62,7 +65,7 @@
<connection>scm:git:git://github.com/jenkinsci/rubymetrics-plugin.git</connection>
<developerConnection>scm:git:[email protected]:jenkinsci/rubymetrics-plugin.git</developerConnection>
<url>https://github.com/jenkins/rubymetrics-plugin</url>
<tag>HEAD</tag>
<tag>rubyMetrics-1.6.4</tag>
</scm>

<build>
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 eba92d9

Please sign in to comment.