|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 | <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> |
7 | 6 | <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> |
10 | 28 |
|
11 | 29 | <properties> |
12 | 30 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
15 | 33 | <compiler-plugin.version>3.6.0</compiler-plugin.version> |
16 | 34 | <source-plugin.version>3.0.1</source-plugin.version> |
17 | 35 | <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> |
19 | 39 | </properties> |
20 | 40 |
|
| 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 | + |
21 | 58 | <dependencyManagement> |
22 | 59 | <dependencies> |
23 | 60 | <dependency> |
|
39 | 76 | <build> |
40 | 77 | <pluginManagement> |
41 | 78 | <plugins> |
| 79 | + <plugin> |
| 80 | + <groupId>org.apache.maven.plugins</groupId> |
| 81 | + <artifactId>maven-source-plugin</artifactId> |
| 82 | + <version>${source-plugin.version}</version> |
| 83 | + </plugin> |
42 | 84 | <plugin> |
43 | 85 | <groupId>org.apache.maven.plugins</groupId> |
44 | 86 | <artifactId>maven-compiler-plugin</artifactId> |
|
48 | 90 | <target>1.8</target> |
49 | 91 | </configuration> |
50 | 92 | </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> |
51 | 157 | </plugins> |
52 | 158 | </pluginManagement> |
53 | 159 | <plugins> |
54 | | - <plugin> |
55 | | - <groupId>org.apache.maven.plugins</groupId> |
56 | | - <artifactId>maven-surefire-plugin</artifactId> |
57 | | - <version>${surefire-plugin.version}</version> |
58 | | - </plugin> |
59 | 160 | <plugin> |
60 | 161 | <groupId>org.apache.maven.plugins</groupId> |
61 | 162 | <artifactId>maven-source-plugin</artifactId> |
62 | | - <version>${source-plugin.version}</version> |
63 | 163 | <executions> |
64 | 164 | <execution> |
65 | 165 | <id>attach-sources</id> |
|
71 | 171 | </plugin> |
72 | 172 | <plugin> |
73 | 173 | <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> |
84 | 175 | </plugin> |
85 | 176 | <plugin> |
86 | 177 | <groupId>org.apache.maven.plugins</groupId> |
87 | | - <artifactId>maven-deploy-plugin</artifactId> |
88 | | - <version>${deploy-plugin.version}</version> |
| 178 | + <artifactId>maven-javadoc-plugin</artifactId> |
89 | 179 | <executions> |
90 | 180 | <execution> |
91 | | - <id>deploy-file</id> |
92 | | - <phase>deploy</phase> |
| 181 | + <id>attach-javadocs</id> |
93 | 182 | <goals> |
94 | | - <goal>deploy-file</goal> |
| 183 | + <goal>jar</goal> |
95 | 184 | </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> |
101 | 185 | </execution> |
102 | 186 | </executions> |
103 | 187 | </plugin> |
|
0 commit comments