xref: /aosp_15_r20/external/aws-sdk-java-v2/core/regions/pom.xml (revision 8a52c7834d808308836a99fc2a6e0ed8db339086)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  ~ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License").
6  ~ You may not use this file except in compliance with the License.
7  ~ A copy of the License is located at
8  ~
9  ~  http://aws.amazon.com/apache2.0
10  ~
11  ~ or in the "license" file accompanying this file. This file is distributed
12  ~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13  ~ express or implied. See the License for the specific language governing
14  ~ permissions and limitations under the License.
15  -->
16
17<project xmlns="http://maven.apache.org/POM/4.0.0"
18         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20    <modelVersion>4.0.0</modelVersion>
21
22    <parent>
23        <groupId>software.amazon.awssdk</groupId>
24        <artifactId>core</artifactId>
25        <version>2.24.3</version>
26    </parent>
27
28    <artifactId>regions</artifactId>
29    <name>AWS Java SDK :: Regions</name>
30    <dependencies>
31        <dependency>
32            <groupId>software.amazon.awssdk</groupId>
33            <artifactId>annotations</artifactId>
34            <version>${awsjavasdk.version}</version>
35        </dependency>
36        <dependency>
37            <groupId>software.amazon.awssdk</groupId>
38            <artifactId>utils</artifactId>
39            <version>${awsjavasdk.version}</version>
40        </dependency>
41        <dependency>
42            <groupId>software.amazon.awssdk</groupId>
43            <artifactId>sdk-core</artifactId>
44            <version>${awsjavasdk.version}</version>
45        </dependency>
46        <dependency>
47            <groupId>software.amazon.awssdk</groupId>
48            <artifactId>profiles</artifactId>
49            <version>${awsjavasdk.version}</version>
50        </dependency>
51        <dependency>
52            <groupId>software.amazon.awssdk</groupId>
53            <artifactId>json-utils</artifactId>
54            <version>${awsjavasdk.version}</version>
55        </dependency>
56        <dependency>
57            <groupId>org.slf4j</groupId>
58            <artifactId>slf4j-api</artifactId>
59        </dependency>
60        <dependency>
61            <groupId>software.amazon.awssdk</groupId>
62            <artifactId>test-utils</artifactId>
63            <version>${awsjavasdk.version}</version>
64            <scope>test</scope>
65        </dependency>
66        <dependency>
67            <groupId>org.junit.jupiter</groupId>
68            <artifactId>junit-jupiter</artifactId>
69            <scope>test</scope>
70        </dependency>
71        <dependency>
72            <groupId>org.junit.vintage</groupId>
73            <artifactId>junit-vintage-engine</artifactId>
74            <scope>test</scope>
75        </dependency>
76        <dependency>
77            <groupId>com.github.tomakehurst</groupId>
78            <artifactId>wiremock-jre8</artifactId>
79            <scope>test</scope>
80        </dependency>
81        <dependency>
82            <groupId>org.assertj</groupId>
83            <artifactId>assertj-core</artifactId>
84            <scope>test</scope>
85        </dependency>
86        <dependency>
87            <groupId>org.mockito</groupId>
88            <artifactId>mockito-core</artifactId>
89            <scope>test</scope>
90        </dependency>
91        <dependency>
92            <groupId>nl.jqno.equalsverifier</groupId>
93            <artifactId>equalsverifier</artifactId>
94            <scope>test</scope>
95        </dependency>
96        <dependency>
97            <groupId>net.bytebuddy</groupId>
98            <artifactId>byte-buddy</artifactId>
99            <scope>test</scope>
100        </dependency>
101    </dependencies>
102
103    <build>
104        <pluginManagement>
105            <plugins>
106                <plugin>
107                    <groupId>software.amazon.awssdk</groupId>
108                    <artifactId>codegen-lite-maven-plugin</artifactId>
109                    <version>${awsjavasdk.version}</version>
110                    <executions>
111                        <execution>
112                            <phase>generate-sources</phase>
113                            <goals>
114                                <goal>generate-regions</goal>
115                            </goals>
116                        </execution>
117                    </executions>
118                </plugin>
119                <plugin>
120                    <groupId>org.apache.maven.plugins</groupId>
121                    <artifactId>maven-jar-plugin</artifactId>
122                    <configuration>
123                        <archive>
124                            <manifestEntries>
125                                <Automatic-Module-Name>software.amazon.awssdk.regions</Automatic-Module-Name>
126                            </manifestEntries>
127                        </archive>
128                    </configuration>
129                </plugin>
130            </plugins>
131        </pluginManagement>
132    </build>
133
134    <profiles>
135        <!-- Generate region and service metadata -->
136        <profile>
137            <id>generated-service</id>
138            <activation>
139                <file>
140                    <exists>src/main/resources/software/amazon/awssdk/regions/internal/region</exists>
141                </file>
142            </activation>
143            <build>
144                <plugins>
145                    <plugin>
146                        <groupId>software.amazon.awssdk</groupId>
147                        <artifactId>codegen-lite-maven-plugin</artifactId>
148                    </plugin>
149                </plugins>
150            </build>
151        </profile>
152    </profiles>
153</project>
154