Skip to content

Commit c199fb5

Browse files
committed
Add version to maven-jar-plugin plugin
1 parent 07a1e0e commit c199fb5

1 file changed

Lines changed: 42 additions & 41 deletions

File tree

pom.xml

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55

66
<groupId>com.ewaypayments</groupId>
@@ -12,26 +12,26 @@
1212
<description>A Java library for connecting to eWAY's Rapid API</description>
1313
<url>https://www.eway.com.au</url>
1414
<organization>
15-
<name>eWAY</name>
16-
<url>https://www.eway.com.au</url>
15+
<name>eWAY</name>
16+
<url>https://www.eway.com.au</url>
1717
</organization>
1818
<developers>
19-
<developer>
20-
<organization>eWAY</organization>
21-
<organizationUrl>https://www.eway.com.au</organizationUrl>
22-
</developer>
19+
<developer>
20+
<organization>eWAY</organization>
21+
<organizationUrl>https://www.eway.com.au</organizationUrl>
22+
</developer>
2323
</developers>
2424
<licenses>
25-
<license>
26-
<name>MIT</name>
27-
<url>http://opensource.org/licenses/MIT</url>
28-
</license>
25+
<license>
26+
<name>MIT</name>
27+
<url>http://opensource.org/licenses/MIT</url>
28+
</license>
2929
</licenses>
3030

3131
<scm>
32-
<connection>scm:git@github.com:eWAYPayment/eway-rapid-java.git</connection>
33-
<developerConnection>scm:git@github.com:eWAYPayment/eway-rapid-java.git</developerConnection>
34-
<url>git@github.com:eWAYPayment/eway-rapid-java.git</url>
32+
<connection>scm:git@github.com:eWAYPayment/eway-rapid-java.git</connection>
33+
<developerConnection>scm:git@github.com:eWAYPayment/eway-rapid-java.git</developerConnection>
34+
<url>git@github.com:eWAYPayment/eway-rapid-java.git</url>
3535
</scm>
3636
<distributionManagement>
3737
<snapshotRepository>
@@ -46,21 +46,21 @@
4646

4747
<dependencies>
4848
<!-- A bundle containing code of all jar-based modules that provide JAX-RS
49-
and Jersey-related features -->
49+
and Jersey-related features -->
5050
<dependency>
5151
<groupId>com.sun.jersey</groupId>
5252
<artifactId>jersey-bundle</artifactId>
5353
<version>1.19</version>
5454
</dependency>
5555
<!-- The Commons IO library contains utility classes, stream implementations,
56-
file filters, file comparators, endian transformation classes, and much more -->
56+
file filters, file comparators, endian transformation classes, and much more -->
5757
<dependency>
5858
<groupId>org.apache.commons</groupId>
5959
<artifactId>commons-lang3</artifactId>
6060
<version>3.4</version>
6161
</dependency>
6262
<!-- JUnit is a unit testing framework for Java, created by Erich Gamma
63-
and Kent Beck -->
63+
and Kent Beck -->
6464
<dependency>
6565
<groupId>junit</groupId>
6666
<artifactId>junit</artifactId>
@@ -73,15 +73,15 @@
7373
<version>2.8</version>
7474
</dependency>
7575
<!-- Apache Commons Validator provides the building blocks for both client
76-
side validation and server side data validation. It may be used standalone
77-
or with a framework like Struts -->
76+
side validation and server side data validation. It may be used standalone
77+
or with a framework like Struts -->
7878
<dependency>
7979
<groupId>commons-validator</groupId>
8080
<artifactId>commons-validator</artifactId>
8181
<version>1.4.1</version>
8282
</dependency>
8383
<!-- The Simple Logging Facade for Java (SLF4J) serves as a simple facade
84-
or abstraction for various logging frameworks -->
84+
or abstraction for various logging frameworks -->
8585
<dependency>
8686
<groupId>org.slf4j</groupId>
8787
<artifactId>slf4j-api</artifactId>
@@ -163,33 +163,34 @@
163163
</executions>
164164
</plugin>
165165
<plugin>
166-
<groupId>org.apache.maven.plugins</groupId>
167-
<artifactId>maven-gpg-plugin</artifactId>
168-
<version>1.6</version>
169-
<executions>
170-
<execution>
171-
<id>sign-artifacts</id>
172-
<phase>verify</phase>
173-
<goals>
174-
<goal>sign</goal>
175-
</goals>
176-
</execution>
177-
</executions>
166+
<groupId>org.apache.maven.plugins</groupId>
167+
<artifactId>maven-gpg-plugin</artifactId>
168+
<version>1.6</version>
169+
<executions>
170+
<execution>
171+
<id>sign-artifacts</id>
172+
<phase>verify</phase>
173+
<goals>
174+
<goal>sign</goal>
175+
</goals>
176+
</execution>
177+
</executions>
178178
</plugin>
179179
<plugin>
180-
<groupId>org.sonatype.plugins</groupId>
181-
<artifactId>nexus-staging-maven-plugin</artifactId>
182-
<version>1.6.5</version>
183-
<extensions>true</extensions>
184-
<configuration>
185-
<serverId>ossrh</serverId>
186-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
187-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
188-
</configuration>
180+
<groupId>org.sonatype.plugins</groupId>
181+
<artifactId>nexus-staging-maven-plugin</artifactId>
182+
<version>1.6.5</version>
183+
<extensions>true</extensions>
184+
<configuration>
185+
<serverId>ossrh</serverId>
186+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
187+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
188+
</configuration>
189189
</plugin>
190190
<plugin>
191191
<groupId>org.apache.maven.plugins</groupId>
192192
<artifactId>maven-jar-plugin</artifactId>
193+
<version>2.6</version>
193194
<executions>
194195
<execution>
195196
<goals>

0 commit comments

Comments
 (0)