Skip to content

Commit 9190cb6

Browse files
Davide Melfidarklight3it
authored andcommitted
chore: move libraries to central maven, fixing some plugin dep issue
1 parent 23243f3 commit 9190cb6

File tree

12 files changed

+61
-48
lines changed
  • aws-lambda-java-events-sdk-transformer
  • aws-lambda-java-events
  • aws-lambda-java-log4j2
  • aws-lambda-java-serialization
  • aws-lambda-java-tests
  • experimental/aws-lambda-java-profiler/examples/function/profiling-example
  • samples
    • custom-serialization
      • fastJson/HelloWorldFunction
      • gson/HelloWorldFunction
      • moshi/HelloWorldFunction
      • request-stream-handler/HelloWorldFunction
    • kinesis-firehose-event-handler

12 files changed

+61
-48
lines changed

aws-lambda-java-events-sdk-transformer/pom.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,18 +160,16 @@
160160
</executions>
161161
</plugin>
162162
<plugin>
163-
<groupId>org.sonatype.plugins</groupId>
164-
<artifactId>nexus-staging-maven-plugin</artifactId>
165-
<version>1.6.3</version>
163+
<groupId>org.sonatype.central</groupId>
164+
<artifactId>central-publishing-maven-plugin</artifactId>
165+
<version>0.7.0</version>
166166
<extensions>true</extensions>
167167
<configuration>
168-
<serverId>sonatype-nexus-staging</serverId>
169-
<nexusUrl>https://aws.oss.sonatype.org/</nexusUrl>
170-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
168+
<publishingServerId>central</publishingServerId>
171169
</configuration>
172170
</plugin>
173171
</plugins>
174172
</build>
175173
</profile>
176174
</profiles>
177-
</project>
175+
</project>

aws-lambda-java-events/pom.xml

Lines changed: 32 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55

66
<groupId>com.amazonaws</groupId>
@@ -80,6 +80,29 @@
8080
</dependency>
8181
</dependencies>
8282

83+
<build>
84+
<plugins>
85+
<plugin>
86+
<groupId>org.apache.maven.plugins</groupId>
87+
<artifactId>maven-resources-plugin</artifactId>
88+
<version>3.3.1</version>
89+
<configuration>
90+
<encoding>UTF-8</encoding>
91+
</configuration>
92+
</plugin>
93+
<plugin>
94+
<groupId>org.apache.maven.plugins</groupId>
95+
<artifactId>maven-compiler-plugin</artifactId>
96+
<version>3.11.0</version>
97+
<configuration>
98+
<source>1.8</source>
99+
<target>1.8</target>
100+
<encoding>UTF-8</encoding>
101+
</configuration>
102+
</plugin>
103+
</plugins>
104+
</build>
105+
83106
<profiles>
84107
<profile>
85108
<id>dev</id>
@@ -152,28 +175,26 @@
152175
</executions>
153176
</plugin>
154177
<plugin>
155-
<groupId>org.sonatype.plugins</groupId>
156-
<artifactId>nexus-staging-maven-plugin</artifactId>
157-
<version>1.6.3</version>
178+
<groupId>org.sonatype.central</groupId>
179+
<artifactId>central-publishing-maven-plugin</artifactId>
180+
<version>0.7.0</version>
158181
<extensions>true</extensions>
159182
<configuration>
160-
<serverId>sonatype-nexus-staging</serverId>
161-
<nexusUrl>https://aws.oss.sonatype.org/</nexusUrl>
162-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
183+
<publishingServerId>central</publishingServerId>
163184
</configuration>
164185
</plugin>
165186
<plugin>
166187
<groupId>org.apache.maven.plugins</groupId>
167188
<artifactId>maven-resources-plugin</artifactId>
168-
<version>3.2.0</version>
189+
<version>3.3.1</version>
169190
<configuration>
170191
<encoding>UTF-8</encoding>
171192
</configuration>
172193
</plugin>
173194
<plugin>
174195
<groupId>org.apache.maven.plugins</groupId>
175196
<artifactId>maven-compiler-plugin</artifactId>
176-
<version>3.8.1</version>
197+
<version>3.11.0</version>
177198
<configuration>
178199
<annotationProcessorPaths>
179200
<path>
@@ -189,4 +210,4 @@
189210
</build>
190211
</profile>
191212
</profiles>
192-
</project>
213+
</project>

aws-lambda-java-log4j2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ If using maven shade plugin, set the plugin configuration as follows
3939
<plugin>
4040
<groupId>org.apache.maven.plugins</groupId>
4141
<artifactId>maven-shade-plugin</artifactId>
42-
<version>2.4.3</version>
42+
<version>3.6.1</version>
4343
<executions>
4444
<execution>
4545
<phase>package</phase>

aws-lambda-java-log4j2/pom.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,16 @@
134134
</executions>
135135
</plugin>
136136
<plugin>
137-
<groupId>org.sonatype.plugins</groupId>
138-
<artifactId>nexus-staging-maven-plugin</artifactId>
139-
<version>1.6.3</version>
137+
<groupId>org.sonatype.central</groupId>
138+
<artifactId>central-publishing-maven-plugin</artifactId>
139+
<version>0.7.0</version>
140140
<extensions>true</extensions>
141141
<configuration>
142-
<serverId>sonatype-nexus-staging</serverId>
143-
<nexusUrl>https://aws.oss.sonatype.org/</nexusUrl>
144-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
142+
<publishingServerId>central</publishingServerId>
145143
</configuration>
146144
</plugin>
147145
</plugins>
148146
</build>
149147
</profile>
150148
</profiles>
151-
</project>
149+
</project>

aws-lambda-java-serialization/pom.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2+
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>
44

55
<groupId>com.amazonaws</groupId>
@@ -169,14 +169,12 @@
169169
</executions>
170170
</plugin>
171171
<plugin>
172-
<groupId>org.sonatype.plugins</groupId>
173-
<artifactId>nexus-staging-maven-plugin</artifactId>
174-
<version>1.6.3</version>
172+
<groupId>org.sonatype.central</groupId>
173+
<artifactId>central-publishing-maven-plugin</artifactId>
174+
<version>0.7.0</version>
175175
<extensions>true</extensions>
176176
<configuration>
177-
<serverId>sonatype-nexus-staging</serverId>
178-
<nexusUrl>https://aws.oss.sonatype.org/</nexusUrl>
179-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
177+
<publishingServerId>central</publishingServerId>
180178
</configuration>
181179
</plugin>
182180
</plugins>

aws-lambda-java-tests/pom.xml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2+
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>
44

55
<groupId>com.amazonaws</groupId>
@@ -220,14 +220,12 @@
220220
</executions>
221221
</plugin>
222222
<plugin>
223-
<groupId>org.sonatype.plugins</groupId>
224-
<artifactId>nexus-staging-maven-plugin</artifactId>
225-
<version>1.6.3</version>
223+
<groupId>org.sonatype.central</groupId>
224+
<artifactId>central-publishing-maven-plugin</artifactId>
225+
<version>0.7.0</version>
226226
<extensions>true</extensions>
227227
<configuration>
228-
<serverId>sonatype-nexus-staging</serverId>
229-
<nexusUrl>https://aws.oss.sonatype.org/</nexusUrl>
230-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
228+
<publishingServerId>central</publishingServerId>
231229
</configuration>
232230
</plugin>
233231
</plugins>
@@ -240,7 +238,7 @@
240238
<plugin>
241239
<groupId>org.apache.maven.plugins</groupId>
242240
<artifactId>maven-compiler-plugin</artifactId>
243-
<version>3.8.1</version>
241+
<version>3.11.0</version>
244242
<configuration>
245243
<source>${maven.compiler.source}</source>
246244
<target>${maven.compiler.target}</target>
@@ -254,4 +252,4 @@
254252
</plugin>
255253
</plugins>
256254
</build>
257-
</project>
255+
</project>

experimental/aws-lambda-java-profiler/examples/function/profiling-example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<plugin>
4747
<groupId>org.apache.maven.plugins</groupId>
4848
<artifactId>maven-shade-plugin</artifactId>
49-
<version>3.2.4</version>
49+
<version>3.6.1</version>
5050
<configuration>
5151
</configuration>
5252
<executions>

samples/custom-serialization/fastJson/HelloWorldFunction/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<plugin>
3636
<groupId>org.apache.maven.plugins</groupId>
3737
<artifactId>maven-shade-plugin</artifactId>
38-
<version>3.2.4</version>
38+
<version>3.6.1</version>
3939
<configuration>
4040
</configuration>
4141
<executions>

samples/custom-serialization/gson/HelloWorldFunction/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<plugin>
3535
<groupId>org.apache.maven.plugins</groupId>
3636
<artifactId>maven-shade-plugin</artifactId>
37-
<version>3.2.4</version>
37+
<version>3.6.1</version>
3838
<configuration>
3939
</configuration>
4040
<executions>

samples/custom-serialization/moshi/HelloWorldFunction/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<plugin>
3636
<groupId>org.apache.maven.plugins</groupId>
3737
<artifactId>maven-shade-plugin</artifactId>
38-
<version>3.2.4</version>
38+
<version>3.6.1</version>
3939
<configuration>
4040
</configuration>
4141
<executions>

0 commit comments

Comments
 (0)