Skip to content

Commit 1111d65

Browse files
authored
Merge pull request #1432 from scmacdon/master
Update POMs to use latest API versions for all services
2 parents e1b28cf + bc93719 commit 1111d65

File tree

41 files changed

+308
-467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+308
-467
lines changed

javav2/example_code/athena/pom.xml

+10-15
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
<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/xsd/maven-4.0.0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
4-
<groupId>aws.example.athena</groupId>
5-
<artifactId>aws-athena-examples</artifactId>
6-
<version>1.0.0</version>
7-
8-
<properties>
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+
<groupId>athenaJ2Example</groupId>
7+
<artifactId>athenaJ2Example</artifactId>
8+
<version>1.0-SNAPSHOT</version>
9+
<properties>
910
<maven.compiler.target>1.8</maven.compiler.target>
1011
<maven.compiler.source>1.8</maven.compiler.source>
1112
</properties>
@@ -23,7 +24,7 @@
2324
<dependency>
2425
<groupId>software.amazon.awssdk</groupId>
2526
<artifactId>bom</artifactId>
26-
<version>2.10.30</version>
27+
<version>2.15.14</version>
2728
<type>pom</type>
2829
<scope>import</scope>
2930
</dependency>
@@ -42,14 +43,11 @@
4243
<version>5.4.2</version>
4344
<scope>test</scope>
4445
</dependency>
45-
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-commons -->
4646
<dependency>
4747
<groupId>org.junit.platform</groupId>
4848
<artifactId>junit-platform-commons</artifactId>
4949
<version>1.4.0</version>
5050
</dependency>
51-
52-
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher -->
5351
<dependency>
5452
<groupId>org.junit.platform</groupId>
5553
<artifactId>junit-platform-launcher</artifactId>
@@ -64,9 +62,6 @@
6462
<dependency>
6563
<groupId>software.amazon.awssdk</groupId>
6664
<artifactId>athena</artifactId>
67-
<version>2.10.86</version>
6865
</dependency>
6966
</dependencies>
70-
7167
</project>
72-

javav2/example_code/cloudformation/pom.xml

+3-7
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,18 @@
3333
<dependency>
3434
<groupId>software.amazon.awssdk</groupId>
3535
<artifactId>bom</artifactId>
36-
<version>2.13.25</version>
36+
<version>2.15.14</version>
3737
<type>pom</type>
3838
<scope>import</scope>
3939
</dependency>
4040
</dependencies>
4141
</dependencyManagement>
4242
<dependencies>
43-
<dependency>
43+
<dependency>
4444
<groupId>software.amazon.awssdk</groupId>
4545
<artifactId>cloudformation</artifactId>
4646
</dependency>
47-
<dependency>
48-
<groupId>software.amazon.awssdk</groupId>
49-
<artifactId>guardduty</artifactId>
50-
</dependency>
51-
<dependency>
47+
<dependency>
5248
<groupId>org.junit.jupiter</groupId>
5349
<artifactId>junit-jupiter-api</artifactId>
5450
<version>5.4.2</version>

javav2/example_code/cloudtrail/pom.xml

+2-5
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<dependency>
3434
<groupId>software.amazon.awssdk</groupId>
3535
<artifactId>bom</artifactId>
36-
<version>2.10.86</version>
36+
<version>2.15.14</version>
3737
<type>pom</type>
3838
<scope>import</scope>
3939
</dependency>
@@ -56,14 +56,12 @@
5656
<version>5.4.2</version>
5757
<scope>test</scope>
5858
</dependency>
59-
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-commons -->
6059
<dependency>
6160
<groupId>org.junit.platform</groupId>
6261
<artifactId>junit-platform-commons</artifactId>
6362
<version>1.4.0</version>
6463
</dependency>
65-
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher -->
66-
<dependency>
64+
<dependency>
6765
<groupId>org.junit.platform</groupId>
6866
<artifactId>junit-platform-launcher</artifactId>
6967
<version>1.4.0</version>
@@ -75,5 +73,4 @@
7573
<version>1.7.25</version>
7674
</dependency>
7775
</dependencies>
78-
7976
</project>
+26-43
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,30 @@
1-
<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">
3-
<modelVersion>4.0.0</modelVersion>
4-
<groupId>com.example.cloudwatch</groupId>
5-
<artifactId>sdk-cloudwatch-examples</artifactId>
6-
<packaging>jar</packaging>
7-
<version>1.0</version>
8-
9-
<properties>
10-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11-
<java.version>1.8</java.version>
12-
</properties>
13-
14-
<build>
15-
<plugins>
16-
<plugin>
17-
<groupId>org.apache.maven.plugins</groupId>
18-
<artifactId>maven-surefire-plugin</artifactId>
19-
<version>2.22.1</version>
20-
</plugin>
21-
<plugin>
22-
<groupId>org.apache.maven.plugins</groupId>
23-
<artifactId>maven-compiler-plugin</artifactId>
24-
<version>3.1</version>
25-
<configuration>
26-
<source>${java.version}</source>
27-
<target>${java.version}</target>
28-
</configuration>
29-
</plugin>
30-
</plugins>
31-
</build>
32-
33-
<dependencyManagement>
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+
<groupId>CloudwatchJ2Project</groupId>
7+
<artifactId>CloudwatchJ2Project</artifactId>
8+
<version>1.0-SNAPSHOT</version>
9+
<properties>
10+
<maven.compiler.target>1.8</maven.compiler.target>
11+
<maven.compiler.source>1.8</maven.compiler.source>
12+
</properties>
13+
<build>
14+
<plugins>
15+
<plugin>
16+
<groupId>org.apache.maven.plugins</groupId>
17+
<artifactId>maven-surefire-plugin</artifactId>
18+
<version>2.22.1</version>
19+
</plugin>
20+
</plugins>
21+
</build>
22+
<dependencyManagement>
3423
<dependencies>
3524
<dependency>
3625
<groupId>software.amazon.awssdk</groupId>
3726
<artifactId>bom</artifactId>
38-
<version>2.10.86</version>
27+
<version>2.15.14</version>
3928
<type>pom</type>
4029
<scope>import</scope>
4130
</dependency>
@@ -54,14 +43,11 @@
5443
<version>5.4.2</version>
5544
<scope>test</scope>
5645
</dependency>
57-
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-commons -->
5846
<dependency>
5947
<groupId>org.junit.platform</groupId>
6048
<artifactId>junit-platform-commons</artifactId>
6149
<version>1.4.0</version>
6250
</dependency>
63-
64-
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher -->
6551
<dependency>
6652
<groupId>org.junit.platform</groupId>
6753
<artifactId>junit-platform-launcher</artifactId>
@@ -76,18 +62,15 @@
7662
<dependency>
7763
<groupId>software.amazon.awssdk</groupId>
7864
<artifactId>cloudwatch</artifactId>
79-
<version>2.10.86</version>
80-
</dependency>
65+
</dependency>
8166
<dependency>
8267
<groupId>software.amazon.awssdk</groupId>
8368
<artifactId>cloudwatchevents</artifactId>
84-
<version>2.10.86</version>
85-
</dependency>
69+
</dependency>
8670
<dependency>
8771
<groupId>software.amazon.awssdk</groupId>
8872
<artifactId>cloudwatchlogs</artifactId>
89-
<version>2.10.86</version>
90-
</dependency>
73+
</dependency>
9174
</dependencies>
9275

9376
</project>

javav2/example_code/codecommit/pom.xml

+3-7
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<dependency>
3434
<groupId>software.amazon.awssdk</groupId>
3535
<artifactId>bom</artifactId>
36-
<version>2.13.25</version>
36+
<version>2.15.14</version>
3737
<type>pom</type>
3838
<scope>import</scope>
3939
</dependency>
@@ -44,11 +44,7 @@
4444
<groupId>software.amazon.awssdk</groupId>
4545
<artifactId>codecommit</artifactId>
4646
</dependency>
47-
<dependency>
48-
<groupId>software.amazon.awssdk</groupId>
49-
<artifactId>guardduty</artifactId>
50-
</dependency>
51-
<dependency>
47+
<dependency>
5248
<groupId>org.junit.jupiter</groupId>
5349
<artifactId>junit-jupiter-api</artifactId>
5450
<version>5.4.2</version>
@@ -77,4 +73,4 @@
7773
<version>1.7.25</version>
7874
</dependency>
7975
</dependencies>
80-
</project>
76+
</project>

javav2/example_code/codedeploy/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
6+
67
<groupId>CodeDeployV2</groupId>
78
<artifactId>CodeDeployV2</artifactId>
89
<version>1.0-SNAPSHOT</version>
@@ -33,7 +34,7 @@
3334
<dependency>
3435
<groupId>software.amazon.awssdk</groupId>
3536
<artifactId>bom</artifactId>
36-
<version>2.14.2</version>
37+
<version>2.15.14</version>
3738
<type>pom</type>
3839
</dependency>
3940
</dependencies>
@@ -70,7 +71,6 @@
7071
<dependency>
7172
<groupId>software.amazon.awssdk</groupId>
7273
<artifactId>codedeploy</artifactId>
73-
<version>2.15.2</version>
74-
</dependency>
74+
</dependency>
7575
</dependencies>
7676
</project>

javav2/example_code/cognito/pom.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
</configuration>
2323
</plugin>
2424
<plugin>
25-
<artifactId>maven-surefire-plugin</artifactId>
26-
<version>2.22.1</version>
25+
<artifactId>maven-surefire-plugin</artifactId>
26+
<version>2.22.1</version>
2727
</plugin>
2828
</plugins>
2929
</build>
@@ -32,7 +32,7 @@
3232
<dependency>
3333
<groupId>software.amazon.awssdk</groupId>
3434
<artifactId>bom</artifactId>
35-
<version>2.10.86</version>
35+
<version>2.15.14</version>
3636
<type>pom</type>
3737
<scope>import</scope>
3838
</dependency>
@@ -63,7 +63,6 @@
6363
<version>5.4.2</version>
6464
<scope>test</scope>
6565
</dependency>
66-
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-commons -->
6766
<dependency>
6867
<groupId>org.junit.platform</groupId>
6968
<artifactId>junit-platform-commons</artifactId>

javav2/example_code/comprehend/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<dependency>
3434
<groupId>software.amazon.awssdk</groupId>
3535
<artifactId>bom</artifactId>
36-
<version>2.11.11</version>
36+
<version>2.15.14</version>
3737
<type>pom</type>
3838
<scope>import</scope>
3939
</dependency>

javav2/example_code/ec2/pom.xml

+10-14
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
<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">
3-
<modelVersion>4.0.0</modelVersion>
4-
<groupId>com.example.ec2</groupId>
5-
<artifactId>sdk-ec2-examples</artifactId>
6-
<packaging>jar</packaging>
7-
<version>1.0</version>
8-
<properties>
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+
<groupId>EC2J2Project</groupId>
7+
<artifactId>EC2J2Project</artifactId>
8+
<version>1.0-SNAPSHOT</version>
9+
<properties>
910
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1011
<java.version>1.8</java.version>
1112
</properties>
@@ -32,7 +33,7 @@
3233
<dependency>
3334
<groupId>software.amazon.awssdk</groupId>
3435
<artifactId>bom</artifactId>
35-
<version>2.10.86</version>
36+
<version>2.15.14</version>
3637
<type>pom</type>
3738
<scope>import</scope>
3839
</dependency>
@@ -51,14 +52,11 @@
5152
<version>5.4.2</version>
5253
<scope>test</scope>
5354
</dependency>
54-
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-commons -->
5555
<dependency>
5656
<groupId>org.junit.platform</groupId>
5757
<artifactId>junit-platform-commons</artifactId>
5858
<version>1.4.0</version>
5959
</dependency>
60-
61-
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher -->
6260
<dependency>
6361
<groupId>org.junit.platform</groupId>
6462
<artifactId>junit-platform-launcher</artifactId>
@@ -73,8 +71,6 @@
7371
<dependency>
7472
<groupId>software.amazon.awssdk</groupId>
7573
<artifactId>ec2</artifactId>
76-
<version>2.10.86</version>
7774
</dependency>
7875
</dependencies>
7976
</project>
80-

0 commit comments

Comments
 (0)