Skip to content

Commit 5c4e833

Browse files
committed
Revise to reflect new hosting and release configurations
1 parent 4918f00 commit 5c4e833

File tree

1 file changed

+116
-32
lines changed

1 file changed

+116
-32
lines changed

pom.xml

Lines changed: 116 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4-
<groupId>com.nordstrom.test-automation.tools</groupId>
5-
<artifactId>common</artifactId>
6-
<packaging>jar</packaging>
4+
<groupId>com.github.nordstrom.tools</groupId>
5+
<artifactId>java-utils</artifactId>
76
<version>99999-SNAPSHOT</version>
8-
<name>common</name>
9-
<url>http://maven.apache.org</url>
7+
<packaging>jar</packaging>
8+
9+
<name>Java Utils</name>
10+
<description>Nordstrom Java Utils is a small collection of general-purpose utility classes with wide applicability.</description>
11+
<url>https://github.com/Nordstrom/Java-Utils</url>
12+
13+
<licenses>
14+
<license>
15+
<name>The Apache License, Version 2.0</name>
16+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
17+
</license>
18+
</licenses>
19+
20+
<developers>
21+
<developer>
22+
<name>Scott Babcock</name>
23+
<email>scoba@hotmail.com</email>
24+
<organization>Nordstrom</organization>
25+
<organizationUrl>https://shop.nordstrom.com</organizationUrl>
26+
</developer>
27+
</developers>
1028

1129
<properties>
1230
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -15,9 +33,28 @@
1533
<compiler-plugin.version>3.6.0</compiler-plugin.version>
1634
<source-plugin.version>3.0.1</source-plugin.version>
1735
<javadoc-plugin.version>2.10.4</javadoc-plugin.version>
18-
<deploy-plugin.version>2.8.2</deploy-plugin.version>
36+
<gpg-plugin.version>1.6</gpg-plugin.version>
37+
<staging-plugin.version>1.6.7</staging-plugin.version>
38+
<release-plugin.version>2.5.3</release-plugin.version>
1939
</properties>
2040

41+
<scm>
42+
<connection>scm:git:https://github.com/Nordstrom/Java-Utils.git</connection>
43+
<developerConnection>scm:git:https://github.com/Nordstrom/Java-Utils.git</developerConnection>
44+
<url>https://github.com/Nordstrom/Java-Utils/tree/master</url>
45+
</scm>
46+
47+
<distributionManagement>
48+
<snapshotRepository>
49+
<id>ossrh</id>
50+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
51+
</snapshotRepository>
52+
<repository>
53+
<id>ossrh</id>
54+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
55+
</repository>
56+
</distributionManagement>
57+
2158
<dependencyManagement>
2259
<dependencies>
2360
<dependency>
@@ -39,6 +76,11 @@
3976
<build>
4077
<pluginManagement>
4178
<plugins>
79+
<plugin>
80+
<groupId>org.apache.maven.plugins</groupId>
81+
<artifactId>maven-source-plugin</artifactId>
82+
<version>${source-plugin.version}</version>
83+
</plugin>
4284
<plugin>
4385
<groupId>org.apache.maven.plugins</groupId>
4486
<artifactId>maven-compiler-plugin</artifactId>
@@ -48,18 +90,76 @@
4890
<target>1.8</target>
4991
</configuration>
5092
</plugin>
93+
<plugin>
94+
<groupId>org.apache.maven.plugins</groupId>
95+
<artifactId>maven-surefire-plugin</artifactId>
96+
<version>${surefire-plugin.version}</version>
97+
</plugin>
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-javadoc-plugin</artifactId>
101+
<version>${javadoc-plugin.version}</version>
102+
</plugin>
103+
<plugin>
104+
<groupId>org.apache.maven.plugins</groupId>
105+
<artifactId>maven-gpg-plugin</artifactId>
106+
<version>${gpg-plugin.version}</version>
107+
</plugin>
108+
<plugin>
109+
<groupId>org.sonatype.plugins</groupId>
110+
<artifactId>nexus-staging-maven-plugin</artifactId>
111+
<version>${staging-plugin.version}</version>
112+
</plugin>
113+
<plugin>
114+
<groupId>org.apache.maven.plugins</groupId>
115+
<artifactId>maven-release-plugin</artifactId>
116+
<version>${release-plugin.version}</version>
117+
</plugin>
118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-gpg-plugin</artifactId>
121+
122+
<executions>
123+
<execution>
124+
<id>sign-artifacts</id>
125+
<phase>verify</phase>
126+
<goals>
127+
<goal>sign</goal>
128+
</goals>
129+
<configuration>
130+
<keyname>${gpg.keyname}</keyname>
131+
<passphraseServerId>${gpg.keyname}</passphraseServerId>
132+
133+
</configuration>
134+
</execution>
135+
</executions>
136+
</plugin>
137+
<plugin>
138+
<groupId>org.sonatype.plugins</groupId>
139+
<artifactId>nexus-staging-maven-plugin</artifactId>
140+
<extensions>true</extensions>
141+
<configuration>
142+
<serverId>ossrh</serverId>
143+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
144+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
145+
</configuration>
146+
</plugin>
147+
<plugin>
148+
<groupId>org.apache.maven.plugins</groupId>
149+
<artifactId>maven-release-plugin</artifactId>
150+
<configuration>
151+
<autoVersionSubmodules>true</autoVersionSubmodules>
152+
<useReleaseProfile>false</useReleaseProfile>
153+
<releaseProfiles>release</releaseProfiles>
154+
<goals>deploy</goals>
155+
</configuration>
156+
</plugin>
51157
</plugins>
52158
</pluginManagement>
53159
<plugins>
54-
<plugin>
55-
<groupId>org.apache.maven.plugins</groupId>
56-
<artifactId>maven-surefire-plugin</artifactId>
57-
<version>${surefire-plugin.version}</version>
58-
</plugin>
59160
<plugin>
60161
<groupId>org.apache.maven.plugins</groupId>
61162
<artifactId>maven-source-plugin</artifactId>
62-
<version>${source-plugin.version}</version>
63163
<executions>
64164
<execution>
65165
<id>attach-sources</id>
@@ -71,33 +171,17 @@
71171
</plugin>
72172
<plugin>
73173
<groupId>org.apache.maven.plugins</groupId>
74-
<artifactId>maven-javadoc-plugin</artifactId>
75-
<version>${javadoc-plugin.version}</version>
76-
<executions>
77-
<execution>
78-
<id>attach-javadocs</id>
79-
<goals>
80-
<goal>jar</goal>
81-
</goals>
82-
</execution>
83-
</executions>
174+
<artifactId>maven-surefire-plugin</artifactId>
84175
</plugin>
85176
<plugin>
86177
<groupId>org.apache.maven.plugins</groupId>
87-
<artifactId>maven-deploy-plugin</artifactId>
88-
<version>${deploy-plugin.version}</version>
178+
<artifactId>maven-javadoc-plugin</artifactId>
89179
<executions>
90180
<execution>
91-
<id>deploy-file</id>
92-
<phase>deploy</phase>
181+
<id>attach-javadocs</id>
93182
<goals>
94-
<goal>deploy-file</goal>
183+
<goal>jar</goal>
95184
</goals>
96-
<configuration>
97-
<file>${project.build.directory}${file.separator}${project.build.finalName}.jar</file>
98-
<repositoryId>releases</repositoryId>
99-
<url>https://mvnrepo.nordstrom.net/nexus/content/repositories/releases</url>
100-
</configuration>
101185
</execution>
102186
</executions>
103187
</plugin>

0 commit comments

Comments
 (0)