Skip to content

Commit

Permalink
Merge pull request #791 from MarkEWaite/sort-pom
Browse files Browse the repository at this point in the history
Make pom more consistent with git plugin
  • Loading branch information
MarkEWaite committed Dec 28, 2021
2 parents b231467 + b6d1d4f commit 2216bac
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
Expand All @@ -13,11 +12,11 @@
<artifactId>git-client</artifactId>
<version>${revision}${changelist}</version>
<packaging>hpi</packaging>

<name>Jenkins Git client plugin</name>
<description>Utility plugin for Git support in Jenkins</description>
<url>https://github.com/jenkinsci/git-client-plugin/blob/master/README.adoc</url>
<inceptionYear>2013</inceptionYear>

<licenses>
<license>
<name>The MIT License (MIT)</name>
Expand Down Expand Up @@ -53,15 +52,16 @@
</developers>

<scm>
<connection>scm:git:https://github.com/jenkinsci/${project.artifactId}-plugin.git</connection>
<developerConnection>scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git</developerConnection>
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
<developerConnection>scm:git:git@github.com:${gitHubRepo}.git</developerConnection>
<tag>${scmTag}</tag>
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
<url>https://github.com/${gitHubRepo}</url>
</scm>

<properties>
<revision>3.10.2</revision>
<changelist>-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
<jenkins.version>2.289.1</jenkins.version>
Expand All @@ -83,6 +83,7 @@
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down Expand Up @@ -220,13 +221,6 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<!-- Hamcrest 2.x bundles all hamcrest-core functionality in the hamcrest artifact -->
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
Expand Down Expand Up @@ -284,12 +278,6 @@
<artifactId>spotbugs-annotations</artifactId>
<version>4.5.2</version>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down

0 comments on commit 2216bac

Please sign in to comment.