Skip to content

Commit 808e0e4

Browse files
stevehouelPankaj Agrawal
authored andcommitted
refactor: refactor pom modules and plugins management
1 parent 9cfd436 commit 808e0e4

5 files changed

Lines changed: 118 additions & 192 deletions

File tree

pom.xml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<parent>
8+
<artifactId>powertools-parent</artifactId>
9+
<groupId>software.amazon.lambda</groupId>
10+
<version>0.1.0-SNAPSHOT</version>
11+
<relativePath>powertools-parent/pom.xml</relativePath>
12+
</parent>
13+
14+
<artifactId>powertools</artifactId>
15+
<version>0.1.0-SNAPSHOT</version>
16+
<packaging>pom</packaging>
17+
18+
<name>AWS Lambda Powertools Java library Parent</name>
19+
<description>
20+
A suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier.
21+
</description>
22+
<url>https://aws.amazon.com/lambda/</url>
23+
<issueManagement>
24+
<system>GitHub Issues</system>
25+
<url>https://github.com/awslabs/aws-lambda-powertools-java/issues</url>
26+
</issueManagement>
27+
<licenses>
28+
<license>
29+
<name>Apache License, Version 2.0</name>
30+
<url>https://aws.amazon.com/apache2.0</url>
31+
<distribution>repo</distribution>
32+
</license>
33+
</licenses>
34+
35+
<modules>
36+
<module>powertools-parent</module>
37+
<module>powertools-core</module>
38+
<module>powertools-logging</module>
39+
<module>powertools-tracing</module>
40+
</modules>
41+
42+
<scm>
43+
<url>https://github.com/awslabs/aws-lambda-powertools-java.git</url>
44+
</scm>
45+
46+
<developers>
47+
<developer>
48+
<name>AWS Lambda Powertools team</name>
49+
<organization>Amazon Web Services</organization>
50+
<organizationUrl>https://aws.amazon.com/</organizationUrl>
51+
</developer>
52+
</developers>
53+
54+
</project>

powertools-core/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
<plugin>
108108
<groupId>org.apache.maven.plugins</groupId>
109109
<artifactId>maven-compiler-plugin</artifactId>
110-
<version>3.8.1</version>
111110
<configuration>
112111
<source>${maven.compiler.source}</source>
113112
<target>${maven.compiler.target}</target>
@@ -118,7 +117,6 @@
118117
<!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45 -->
119118
<groupId>com.nickwongdev</groupId>
120119
<artifactId>aspectj-maven-plugin</artifactId>
121-
<version>1.12.1</version>
122120
<configuration>
123121
<source>${maven.compiler.source}</source>
124122
<target>${maven.compiler.target}</target>
@@ -146,12 +144,10 @@
146144
<plugin>
147145
<groupId>org.apache.maven.plugins</groupId>
148146
<artifactId>maven-surefire-plugin</artifactId>
149-
<version>2.22.2</version>
150147
</plugin>
151148
<plugin>
152149
<groupId>org.jacoco</groupId>
153150
<artifactId>jacoco-maven-plugin</artifactId>
154-
<version>0.8.5</version>
155151
<executions>
156152
<execution>
157153
<goals>
@@ -171,7 +167,6 @@
171167
<plugin>
172168
<groupId>org.codehaus.mojo</groupId>
173169
<artifactId>cobertura-maven-plugin</artifactId>
174-
<version>2.7</version>
175170
<configuration>
176171
<formats>
177172
<format>html</format>
@@ -183,7 +178,6 @@
183178
<plugin>
184179
<groupId>org.sonatype.plugins</groupId>
185180
<artifactId>nexus-staging-maven-plugin</artifactId>
186-
<version>1.6.8</version>
187181
<extensions>true</extensions>
188182
<configuration>
189183
<serverId>sonatype-nexus-staging</serverId>
@@ -202,7 +196,6 @@
202196
<plugin>
203197
<groupId>org.apache.maven.plugins</groupId>
204198
<artifactId>maven-gpg-plugin</artifactId>
205-
<version>1.6</version>
206199
<executions>
207200
<execution>
208201
<id>sign-artifacts</id>
@@ -232,7 +225,6 @@
232225
<plugin>
233226
<groupId>org.apache.maven.plugins</groupId>
234227
<artifactId>maven-source-plugin</artifactId>
235-
<version>2.4</version>
236228
<executions>
237229
<execution>
238230
<id>attach-sources</id>
@@ -245,7 +237,6 @@
245237
<plugin>
246238
<groupId>org.apache.maven.plugins</groupId>
247239
<artifactId>maven-javadoc-plugin</artifactId>
248-
<version>2.10.3</version>
249240
<configuration>
250241
<additionalparam>-Xdoclint:none</additionalparam>
251242
<detectJavaApiLink>false</detectJavaApiLink>

powertools-logging/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
<plugin>
115115
<groupId>org.apache.maven.plugins</groupId>
116116
<artifactId>maven-compiler-plugin</artifactId>
117-
<version>3.8.1</version>
118117
<configuration>
119118
<source>${maven.compiler.source}</source>
120119
<target>${maven.compiler.target}</target>
@@ -125,7 +124,6 @@
125124
<!-- We can use official one after https://github.com/mojohaus/aspectj-maven-plugin/pull/45 -->
126125
<groupId>com.nickwongdev</groupId>
127126
<artifactId>aspectj-maven-plugin</artifactId>
128-
<version>1.12.1</version>
129127
<configuration>
130128
<source>${maven.compiler.source}</source>
131129
<target>${maven.compiler.target}</target>
@@ -153,12 +151,10 @@
153151
<plugin>
154152
<groupId>org.apache.maven.plugins</groupId>
155153
<artifactId>maven-surefire-plugin</artifactId>
156-
<version>2.22.2</version>
157154
</plugin>
158155
<plugin>
159156
<groupId>org.jacoco</groupId>
160157
<artifactId>jacoco-maven-plugin</artifactId>
161-
<version>0.8.5</version>
162158
<executions>
163159
<execution>
164160
<goals>
@@ -178,7 +174,6 @@
178174
<plugin>
179175
<groupId>org.codehaus.mojo</groupId>
180176
<artifactId>cobertura-maven-plugin</artifactId>
181-
<version>2.7</version>
182177
<configuration>
183178
<formats>
184179
<format>html</format>
@@ -190,7 +185,6 @@
190185
<plugin>
191186
<groupId>org.sonatype.plugins</groupId>
192187
<artifactId>nexus-staging-maven-plugin</artifactId>
193-
<version>1.6.8</version>
194188
<extensions>true</extensions>
195189
<configuration>
196190
<serverId>sonatype-nexus-staging</serverId>
@@ -209,7 +203,6 @@
209203
<plugin>
210204
<groupId>org.apache.maven.plugins</groupId>
211205
<artifactId>maven-gpg-plugin</artifactId>
212-
<version>1.6</version>
213206
<executions>
214207
<execution>
215208
<id>sign-artifacts</id>
@@ -239,7 +232,6 @@
239232
<plugin>
240233
<groupId>org.apache.maven.plugins</groupId>
241234
<artifactId>maven-source-plugin</artifactId>
242-
<version>2.4</version>
243235
<executions>
244236
<execution>
245237
<id>attach-sources</id>
@@ -252,7 +244,6 @@
252244
<plugin>
253245
<groupId>org.apache.maven.plugins</groupId>
254246
<artifactId>maven-javadoc-plugin</artifactId>
255-
<version>2.10.3</version>
256247
<configuration>
257248
<additionalparam>-Xdoclint:none</additionalparam>
258249
<detectJavaApiLink>false</detectJavaApiLink>

0 commit comments

Comments
 (0)