|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 |
|
7 | | - <groupId>com.amazonaws</groupId> |
| 7 | + <groupId>software.aws.lambda</groupId> |
8 | 8 | <artifactId>aws-lambda-powertools-java</artifactId> |
9 | 9 | <version>0.1.0-SNAPSHOT</version> |
10 | 10 | <packaging>jar</packaging> |
|
42 | 42 | </properties> |
43 | 43 |
|
44 | 44 | <distributionManagement> |
| 45 | + <snapshotRepository> |
| 46 | + <id>ossrh</id> |
| 47 | + <url>https://aws.oss.sonatype.org/content/repositories/snapshots</url> |
| 48 | + </snapshotRepository> |
45 | 49 | <repository> |
46 | | - <id>github</id> |
47 | | - <name>GitHub OWNER Apache Maven Packages</name> |
48 | | - <url>https://maven.pkg.github.com/awslabs/aws-lambda-powertools-java</url> |
| 50 | + <id>ossrh</id> |
| 51 | + <url>https://aws.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
49 | 52 | </repository> |
50 | 53 | </distributionManagement> |
51 | 54 |
|
|
114 | 117 | </build> |
115 | 118 | </profile> |
116 | 119 | <profile> |
117 | | - <id>release-github</id> |
118 | | - <distributionManagement> |
119 | | - <repository> |
120 | | - <id>github</id> |
121 | | - <name>GitHub OWNER Apache Maven Packages</name> |
122 | | - <url>https://maven.pkg.github.com/awslabs/aws-lambda-powertools-java</url> |
123 | | - </repository> |
124 | | - </distributionManagement> |
| 120 | + <id>release</id> |
125 | 121 | <build> |
126 | 122 | <plugins> |
127 | 123 | <plugin> |
|
181 | 177 | <plugin> |
182 | 178 | <groupId>org.apache.maven.plugins</groupId> |
183 | 179 | <artifactId>maven-gpg-plugin</artifactId> |
184 | | - <version>1.5</version> |
| 180 | + <version>1.6</version> |
185 | 181 | <executions> |
186 | 182 | <execution> |
187 | 183 | <id>sign-artifacts</id> |
|
195 | 191 | <plugin> |
196 | 192 | <groupId>org.sonatype.plugins</groupId> |
197 | 193 | <artifactId>nexus-staging-maven-plugin</artifactId> |
198 | | - <version>1.6.3</version> |
| 194 | + <version>1.6.8</version> |
199 | 195 | <extensions>true</extensions> |
200 | 196 | <configuration> |
201 | 197 | <serverId>sonatype-nexus-staging</serverId> |
202 | | - <nexusUrl>https://aws.oss.sonatype.org/</nexusUrl> |
203 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
204 | | - </configuration> |
205 | | - </plugin> |
206 | | - </plugins> |
207 | | - </build> |
208 | | - </profile> |
209 | | - <profile> |
210 | | - <id>release-maven</id> |
211 | | - <build> |
212 | | - <plugins> |
213 | | - <plugin> |
214 | | - <groupId>org.apache.maven.plugins</groupId> |
215 | | - <artifactId>maven-surefire-plugin</artifactId> |
216 | | - <version>2.22.1</version> |
217 | | - </plugin> |
218 | | - <plugin> |
219 | | - <groupId>org.jacoco</groupId> |
220 | | - <artifactId>jacoco-maven-plugin</artifactId> |
221 | | - <version>0.8.2</version> |
222 | | - <executions> |
223 | | - <execution> |
224 | | - <goals> |
225 | | - <goal>prepare-agent</goal> |
226 | | - </goals> |
227 | | - </execution> |
228 | | - <!-- attached to Maven test phase --> |
229 | | - <execution> |
230 | | - <id>report</id> |
231 | | - <phase>test</phase> |
232 | | - <goals> |
233 | | - <goal>report</goal> |
234 | | - </goals> |
235 | | - </execution> |
236 | | - </executions> |
237 | | - </plugin> |
238 | | - <plugin> |
239 | | - <groupId>org.apache.maven.plugins</groupId> |
240 | | - <artifactId>maven-source-plugin</artifactId> |
241 | | - <version>2.2.1</version> |
242 | | - <executions> |
243 | | - <execution> |
244 | | - <id>attach-sources</id> |
245 | | - <goals> |
246 | | - <goal>jar-no-fork</goal> |
247 | | - </goals> |
248 | | - </execution> |
249 | | - </executions> |
250 | | - </plugin> |
251 | | - <plugin> |
252 | | - <groupId>org.apache.maven.plugins</groupId> |
253 | | - <artifactId>maven-javadoc-plugin</artifactId> |
254 | | - <version>2.9.1</version> |
255 | | - <configuration> |
256 | | - <additionalparam>-Xdoclint:none</additionalparam> |
257 | | - </configuration> |
258 | | - <executions> |
259 | | - <execution> |
260 | | - <id>attach-javadocs</id> |
261 | | - <goals> |
262 | | - <goal>jar</goal> |
263 | | - </goals> |
264 | | - </execution> |
265 | | - </executions> |
266 | | - </plugin> |
267 | | - <plugin> |
268 | | - <groupId>org.apache.maven.plugins</groupId> |
269 | | - <artifactId>maven-gpg-plugin</artifactId> |
270 | | - <version>1.5</version> |
271 | | - <executions> |
272 | | - <execution> |
273 | | - <id>sign-artifacts</id> |
274 | | - <phase>verify</phase> |
275 | | - <goals> |
276 | | - <goal>sign</goal> |
277 | | - </goals> |
278 | | - </execution> |
279 | | - </executions> |
280 | | - </plugin> |
281 | | - <plugin> |
282 | | - <groupId>org.sonatype.plugins</groupId> |
283 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
284 | | - <version>1.6.3</version> |
285 | | - <extensions>true</extensions> |
286 | | - <configuration> |
287 | | - <serverId>sonatype-nexus-staging</serverId> |
288 | | - <nexusUrl>https://aws.oss.sonatype.org/</nexusUrl> |
| 198 | + <nexusUrl>https://aws.oss.sonatype.org</nexusUrl> |
289 | 199 | <autoReleaseAfterClose>false</autoReleaseAfterClose> |
290 | 200 | </configuration> |
291 | 201 | </plugin> |
|
0 commit comments