Skip to content

Commit 516db4e

Browse files
authored
chore: cleanup poms and reduce warning noise (#1535)
* pom cleanup and reduce warning noise * added variable for version
1 parent b139a96 commit 516db4e

File tree

23 files changed

+38
-206
lines changed

23 files changed

+38
-206
lines changed

examples/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<plugin>
4949
<groupId>org.apache.maven.plugins</groupId>
5050
<artifactId>maven-deploy-plugin</artifactId>
51+
<version>3.1.1</version>
5152
<configuration>
5253
<skip>true</skip>
5354
</configuration>

examples/powertools-examples-batch/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
<plugin>
137137
<groupId>org.apache.maven.plugins</groupId>
138138
<artifactId>maven-deploy-plugin</artifactId>
139+
<version>3.1.1</version>
139140
<configuration>
140141
<skip>true</skip>
141142
</configuration>

examples/powertools-examples-cloudformation/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
<plugin>
145145
<groupId>org.apache.maven.plugins</groupId>
146146
<artifactId>maven-deploy-plugin</artifactId>
147+
<version>3.1.1</version>
147148
<configuration>
148149
<skip>true</skip>
149150
</configuration>

examples/powertools-examples-core-utilities/cdk/app/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
<plugin>
133133
<groupId>org.apache.maven.plugins</groupId>
134134
<artifactId>maven-deploy-plugin</artifactId>
135+
<version>3.1.1</version>
135136
<configuration>
136137
<skip>true</skip>
137138
</configuration>

examples/powertools-examples-core-utilities/cdk/infra/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<plugin>
3535
<groupId>org.apache.maven.plugins</groupId>
3636
<artifactId>maven-deploy-plugin</artifactId>
37+
<version>3.1.1</version>
3738
<configuration>
3839
<skip>true</skip>
3940
</configuration>

examples/powertools-examples-core-utilities/terraform/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@
118118
<plugin>
119119
<groupId>org.apache.maven.plugins</groupId>
120120
<artifactId>maven-deploy-plugin</artifactId>
121+
<version>3.1.1</version>
121122
<configuration>
122123
<skip>true</skip>
123124
</configuration>

examples/powertools-examples-idempotency/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
<plugin>
177177
<groupId>org.apache.maven.plugins</groupId>
178178
<artifactId>maven-deploy-plugin</artifactId>
179+
<version>3.1.1</version>
179180
<configuration>
180181
<skip>true</skip>
181182
</configuration>

examples/powertools-examples-parameters/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
<plugin>
109109
<groupId>org.apache.maven.plugins</groupId>
110110
<artifactId>maven-deploy-plugin</artifactId>
111+
<version>3.1.1</version>
111112
<configuration>
112113
<skip>true</skip>
113114
</configuration>

examples/powertools-examples-serialization/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<plugin>
4242
<groupId>org.apache.maven.plugins</groupId>
4343
<artifactId>maven-deploy-plugin</artifactId>
44+
<version>3.1.1</version>
4445
<configuration>
4546
<skip>true</skip>
4647
</configuration>

examples/powertools-examples-validation/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
<plugin>
107107
<groupId>org.apache.maven.plugins</groupId>
108108
<artifactId>maven-deploy-plugin</artifactId>
109+
<version>3.1.1</version>
109110
<configuration>
110111
<skip>true</skip>
111112
</configuration>

pom.xml

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,25 @@
3232
<system>GitHub Issues</system>
3333
<url>https://github.com/aws-powertools/powertools-lambda-java/issues</url>
3434
</issueManagement>
35+
36+
<scm>
37+
<url>https://github.com/aws-powertools/powertools-lambda-java.git</url>
38+
</scm>
39+
<developers>
40+
<developer>
41+
<name>Powertools for AWS Lambda (Java) Team</name>
42+
<organization>Amazon Web Services</organization>
43+
<organizationUrl>https://aws.amazon.com/</organizationUrl>
44+
</developer>
45+
</developers>
46+
47+
<distributionManagement>
48+
<snapshotRepository>
49+
<id>ossrh</id>
50+
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
51+
</snapshotRepository>
52+
</distributionManagement>
53+
3554
<licenses>
3655
<license>
3756
<name>Apache License, Version 2.0</name>
@@ -63,21 +82,11 @@
6382
<module>powertools-parameters/powertools-parameters-tests</module>
6483
</modules>
6584

66-
<scm>
67-
<url>https://github.com/aws-powertools/powertools-lambda-java.git</url>
68-
</scm>
69-
70-
<developers>
71-
<developer>
72-
<name>Powertools for AWS Lambda (Java) team</name>
73-
<organization>Amazon Web Services</organization>
74-
<organizationUrl>https://aws.amazon.com/</organizationUrl>
75-
</developer>
76-
</developers>
77-
7885
<properties>
7986
<maven.compiler.source>1.8</maven.compiler.source>
8087
<maven.compiler.target>1.8</maven.compiler.target>
88+
<maven.deploy.plugin.version>3.1.1</maven.deploy.plugin.version>
89+
<log4j.version>2.20.0</log4j.version>
8190
<log4j.version>2.22.0</log4j.version>
8291
<slf4j.version>2.0.7</slf4j.version>
8392
<jackson.version>2.15.3</jackson.version>
@@ -103,13 +112,6 @@
103112
<elastic.version>1.5.0</elastic.version>
104113
</properties>
105114

106-
<distributionManagement>
107-
<snapshotRepository>
108-
<id>ossrh</id>
109-
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
110-
</snapshotRepository>
111-
</distributionManagement>
112-
113115
<dependencyManagement>
114116
<dependencies>
115117
<dependency>

powertools-cloudformation/pom.xml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,6 @@
3232
A suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating
3333
custom metrics asynchronously easier.
3434
</description>
35-
<url>https://aws.amazon.com/lambda/</url>
36-
<issueManagement>
37-
<system>GitHub Issues</system>
38-
<url>https://github.com/aws-powertools/powertools-lambda-java/issues</url>
39-
</issueManagement>
40-
<scm>
41-
<url>https://github.com/aws-powertools/powertools-lambda-java.git</url>
42-
</scm>
43-
<developers>
44-
<developer>
45-
<name>Powertools for AWS Lambda (Java) Team</name>
46-
<organization>Amazon Web Services</organization>
47-
<organizationUrl>https://aws.amazon.com/</organizationUrl>
48-
</developer>
49-
</developers>
50-
51-
<distributionManagement>
52-
<snapshotRepository>
53-
<id>ossrh</id>
54-
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
55-
</snapshotRepository>
56-
</distributionManagement>
5735

5836
<dependencies>
5937
<dependency>

powertools-common/pom.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,6 @@
2929

3030
<name>Powertools for AWS Lambda (Java) - Common Internal Utilities</name>
3131
<description>Internal utilities shared by the Powertools for AWS Lambda (Java) modules. Do not use directly in your project.</description>
32-
<url>https://aws.amazon.com/lambda/</url>
33-
<issueManagement>
34-
<system>GitHub Issues</system>
35-
<url>https://github.com/aws-powertools/powertools-lambda-java/issues</url>
36-
</issueManagement>
37-
38-
<scm>
39-
<url>https://github.com/aws-powertools/powertools-lambda-java.git</url>
40-
</scm>
41-
<developers>
42-
<developer>
43-
<name>Powertools for AWS Lambda team</name>
44-
<organization>Amazon Web Services</organization>
45-
<organizationUrl>https://aws.amazon.com/</organizationUrl>
46-
</developer>
47-
</developers>
48-
49-
<distributionManagement>
50-
<snapshotRepository>
51-
<id>ossrh</id>
52-
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
53-
</snapshotRepository>
54-
</distributionManagement>
5532

5633
<dependencies>
5734
<dependency>

powertools-e2e-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
<plugin>
185185
<groupId>org.apache.maven.plugins</groupId>
186186
<artifactId>maven-deploy-plugin</artifactId>
187-
<version>3.1.1</version>
187+
<version>${maven.deploy.plugin.version}</version>
188188
<configuration>
189189
<skip>true</skip>
190190
</configuration>

powertools-idempotency/pom.xml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,6 @@
3131
<description>
3232

3333
</description>
34-
<url>https://aws.amazon.com/lambda/</url>
35-
<issueManagement>
36-
<system>GitHub Issues</system>
37-
<url>https://github.com/aws-powertools/powertools-lambda-java/issues</url>
38-
</issueManagement>
39-
<scm>
40-
<url>https://github.com/aws-powertools/powertools-lambda-java.git</url>
41-
</scm>
42-
<developers>
43-
<developer>
44-
<name>Powertools for AWS Lambda team</name>
45-
<organization>Amazon Web Services</organization>
46-
<organizationUrl>https://aws.amazon.com/</organizationUrl>
47-
</developer>
48-
</developers>
49-
50-
<distributionManagement>
51-
<snapshotRepository>
52-
<id>ossrh</id>
53-
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
54-
</snapshotRepository>
55-
</distributionManagement>
5634

5735
<dependencies>
5836
<dependency>

powertools-large-messages/pom.xml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,6 @@
3131

3232
<name>Powertools for AWS Lambda (Java) - Large messages</name>
3333

34-
<issueManagement>
35-
<system>GitHub Issues</system>
36-
<url>https://github.com/aws-powertools/powertools-lambda-java/issues</url>
37-
</issueManagement>
38-
<scm>
39-
<url>https://github.com/aws-powertools/powertools-lambda-java.git</url>
40-
</scm>
41-
<developers>
42-
<developer>
43-
<name>Powertools for AWS Lambda team</name>
44-
<organization>Amazon Web Services</organization>
45-
<organizationUrl>https://aws.amazon.com/</organizationUrl>
46-
</developer>
47-
</developers>
48-
49-
<distributionManagement>
50-
<snapshotRepository>
51-
<id>ossrh</id>
52-
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
53-
</snapshotRepository>
54-
</distributionManagement>
55-
5634
<dependencies>
5735
<dependency>
5836
<groupId>org.aspectj</groupId>

powertools-logging/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@
1717
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1818
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1919
<modelVersion>4.0.0</modelVersion>
20+
2021
<parent>
2122
<artifactId>powertools-parent</artifactId>
2223
<groupId>software.amazon.lambda</groupId>
2324
<version>2.0.0-SNAPSHOT</version>
2425
</parent>
2526

26-
<artifactId>powertools-logging</artifactId>
27-
<packaging>jar</packaging>
2827
<name>Powertools for AWS Lambda (Java) - Logging</name>
2928
<description>Set of utility for better logging - common</description>
29+
<artifactId>powertools-logging</artifactId>
30+
<packaging>jar</packaging>
3031

3132
<dependencies>
3233
<dependency>

powertools-metrics/pom.xml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,6 @@
3232
A suite of utilities for AWS Lambda Functions that make creating custom metrics via AWS Embedded Metric Format
3333
asynchronously easier.
3434
</description>
35-
<url>https://aws.amazon.com/lambda/</url>
36-
<issueManagement>
37-
<system>GitHub Issues</system>
38-
<url>https://github.com/aws-powertools/powertools-lambda-java/issues</url>
39-
</issueManagement>
40-
<scm>
41-
<url>https://github.com/aws-powertools/powertools-lambda-java.git</url>
42-
</scm>
43-
<developers>
44-
<developer>
45-
<name>Powertools for AWS Lambda team</name>
46-
<organization>Amazon Web Services</organization>
47-
<organizationUrl>https://aws.amazon.com/</organizationUrl>
48-
</developer>
49-
</developers>
50-
51-
<distributionManagement>
52-
<snapshotRepository>
53-
<id>ossrh</id>
54-
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
55-
</snapshotRepository>
56-
</distributionManagement>
5735

5836
<dependencies>
5937
<dependency>

powertools-parameters/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
<artifactId>powertools-parameters</artifactId>
2828

2929
<name>Powertools for AWS Lambda (Java) - Parameters</name>
30-
3130
<description>Set of utilities to retrieve parameters - common interface</description>
3231

3332
<dependencies>

powertools-serialization/pom.xml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,6 @@
3131
<description>
3232

3333
</description>
34-
<url>https://aws.amazon.com/lambda/</url>
35-
<issueManagement>
36-
<system>GitHub Issues</system>
37-
<url>https://github.com/aws-powertools/powertools-lambda-java/issues</url>
38-
</issueManagement>
39-
<scm>
40-
<url>https://github.com/aws-powertools/powertools-lambda-java.git</url>
41-
</scm>
42-
<developers>
43-
<developer>
44-
<name>Powertools for AWS Lambda team</name>
45-
<organization>Amazon Web Services</organization>
46-
<organizationUrl>https://aws.amazon.com/</organizationUrl>
47-
</developer>
48-
</developers>
49-
50-
<distributionManagement>
51-
<snapshotRepository>
52-
<id>ossrh</id>
53-
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
54-
</snapshotRepository>
55-
</distributionManagement>
5634

5735
<dependencies>
5836
<dependency>

powertools-tracing/pom.xml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,6 @@
3131
<description>
3232
A suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier.
3333
</description>
34-
<url>https://aws.amazon.com/lambda/</url>
35-
<issueManagement>
36-
<system>GitHub Issues</system>
37-
<url>https://github.com/aws-powertools/powertools-lambda-java/issues</url>
38-
</issueManagement>
39-
40-
<scm>
41-
<url>https://github.com/aws-powertools/powertools-lambda-java.git</url>
42-
</scm>
43-
<developers>
44-
<developer>
45-
<name>Powertools for AWS Lambda team</name>
46-
<organization>Amazon Web Services</organization>
47-
<organizationUrl>https://aws.amazon.com/</organizationUrl>
48-
</developer>
49-
</developers>
50-
51-
<distributionManagement>
52-
<snapshotRepository>
53-
<id>ossrh</id>
54-
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
55-
</snapshotRepository>
56-
</distributionManagement>
5734

5835
<dependencies>
5936
<dependency>

0 commit comments

Comments
 (0)