xref: /aosp_15_r20/external/aws-sdk-java-v2/bundle-sdk/pom.xml (revision 8a52c7834d808308836a99fc2a6e0ed8db339086)
1*8a52c783SCole Faust<?xml version="1.0" encoding="UTF-8"?>
2*8a52c783SCole Faust<!--
3*8a52c783SCole Faust  ~ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4*8a52c783SCole Faust  ~
5*8a52c783SCole Faust  ~ Licensed under the Apache License, Version 2.0 (the "License").
6*8a52c783SCole Faust  ~ You may not use this file except in compliance with the License.
7*8a52c783SCole Faust  ~ A copy of the License is located at
8*8a52c783SCole Faust  ~
9*8a52c783SCole Faust  ~  http://aws.amazon.com/apache2.0
10*8a52c783SCole Faust  ~
11*8a52c783SCole Faust  ~ or in the "license" file accompanying this file. This file is distributed
12*8a52c783SCole Faust  ~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13*8a52c783SCole Faust  ~ express or implied. See the License for the specific language governing
14*8a52c783SCole Faust  ~ permissions and limitations under the License.
15*8a52c783SCole Faust  -->
16*8a52c783SCole Faust
17*8a52c783SCole Faust<project xmlns="http://maven.apache.org/POM/4.0.0"
18*8a52c783SCole Faust         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19*8a52c783SCole Faust         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20*8a52c783SCole Faust    <modelVersion>4.0.0</modelVersion>
21*8a52c783SCole Faust    <parent>
22*8a52c783SCole Faust        <groupId>software.amazon.awssdk</groupId>
23*8a52c783SCole Faust        <artifactId>aws-sdk-java-pom</artifactId>
24*8a52c783SCole Faust        <version>2.24.3</version>
25*8a52c783SCole Faust    </parent>
26*8a52c783SCole Faust    <artifactId>bundle-sdk</artifactId>
27*8a52c783SCole Faust    <packaging>jar</packaging>
28*8a52c783SCole Faust
29*8a52c783SCole Faust    <name>AWS Java SDK :: SDK Bundle</name>
30*8a52c783SCole Faust    <description>A single bundled dependency that includes all service and dependent JARs with third-party libraries
31*8a52c783SCole Faust        relocated to different namespaces.
32*8a52c783SCole Faust    </description>
33*8a52c783SCole Faust    <url>https://aws.amazon.com/sdkforjava</url>
34*8a52c783SCole Faust
35*8a52c783SCole Faust    <properties>
36*8a52c783SCole Faust        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37*8a52c783SCole Faust        <sonar.skip>true</sonar.skip>
38*8a52c783SCole Faust    </properties>
39*8a52c783SCole Faust
40*8a52c783SCole Faust    <dependencyManagement>
41*8a52c783SCole Faust        <dependencies>
42*8a52c783SCole Faust            <dependency>
43*8a52c783SCole Faust                <groupId>software.amazon.awssdk</groupId>
44*8a52c783SCole Faust                <artifactId>bom-internal</artifactId>
45*8a52c783SCole Faust                <version>${project.version}</version>
46*8a52c783SCole Faust                <type>pom</type>
47*8a52c783SCole Faust                <scope>import</scope>
48*8a52c783SCole Faust            </dependency>
49*8a52c783SCole Faust        </dependencies>
50*8a52c783SCole Faust    </dependencyManagement>
51*8a52c783SCole Faust
52*8a52c783SCole Faust    <dependencies>
53*8a52c783SCole Faust        <dependency>
54*8a52c783SCole Faust            <groupId>software.amazon.awssdk</groupId>
55*8a52c783SCole Faust            <artifactId>aws-sdk-java</artifactId>
56*8a52c783SCole Faust            <version>${awsjavasdk.version}</version>
57*8a52c783SCole Faust            <optional>true</optional>
58*8a52c783SCole Faust        </dependency>
59*8a52c783SCole Faust        <dependency>
60*8a52c783SCole Faust            <groupId>software.amazon.s3.accessgrants</groupId>
61*8a52c783SCole Faust            <artifactId>aws-s3-accessgrants-java-plugin</artifactId>
62*8a52c783SCole Faust            <version>${s3accessgrants.version}</version>
63*8a52c783SCole Faust        </dependency>
64*8a52c783SCole Faust    </dependencies>
65*8a52c783SCole Faust
66*8a52c783SCole Faust    <build>
67*8a52c783SCole Faust        <pluginManagement>
68*8a52c783SCole Faust            <plugins>
69*8a52c783SCole Faust                <plugin>
70*8a52c783SCole Faust                    <groupId>org.apache.maven.plugins</groupId>
71*8a52c783SCole Faust                    <artifactId>maven-shade-plugin</artifactId>
72*8a52c783SCole Faust                    <version>3.5.0</version>
73*8a52c783SCole Faust                    <configuration>
74*8a52c783SCole Faust                        <artifactSet>
75*8a52c783SCole Faust                            <includes>
76*8a52c783SCole Faust                                <include>com.fasterxml.jackson.jr:*</include>
77*8a52c783SCole Faust                                <include>io.netty:*</include>
78*8a52c783SCole Faust                                <include>org.apache.httpcomponents:*</include>
79*8a52c783SCole Faust                                <include>org.reactivestreams:*</include>
80*8a52c783SCole Faust                                <include>org.slf4j:*</include>
81*8a52c783SCole Faust                                <include>commons-codec:commons-codec</include>
82*8a52c783SCole Faust                                <include>software.amazon.awssdk:*</include>
83*8a52c783SCole Faust                                <include>software.amazon:*</include>
84*8a52c783SCole Faust                                <include>software.amazon.s3.accessgrants:*</include>
85*8a52c783SCole Faust                                <inlcude>com.github.ben-manes.caffeine:*</inlcude>
86*8a52c783SCole Faust                                <include>commons-logging:*</include>
87*8a52c783SCole Faust                            </includes>
88*8a52c783SCole Faust                        </artifactSet>
89*8a52c783SCole Faust                        <relocations>
90*8a52c783SCole Faust                            <relocation>
91*8a52c783SCole Faust                                <pattern>org.apache</pattern>
92*8a52c783SCole Faust                                <shadedPattern>software.amazon.awssdk.thirdparty.org.apache</shadedPattern>
93*8a52c783SCole Faust                                <excludes>
94*8a52c783SCole Faust                                    <exclude>org.apache.log4j.*</exclude>
95*8a52c783SCole Faust                                </excludes>
96*8a52c783SCole Faust                            </relocation>
97*8a52c783SCole Faust                            <relocation>
98*8a52c783SCole Faust                                <pattern>io.netty</pattern>
99*8a52c783SCole Faust                                <shadedPattern>software.amazon.awssdk.thirdparty.io.netty</shadedPattern>
100*8a52c783SCole Faust                            </relocation>
101*8a52c783SCole Faust                            <relocation>
102*8a52c783SCole Faust                                <pattern>org.slf4j</pattern>
103*8a52c783SCole Faust                                <shadedPattern>software.amazon.awssdk.thirdparty.org.slf4j</shadedPattern>
104*8a52c783SCole Faust                            </relocation>
105*8a52c783SCole Faust                        </relocations>
106*8a52c783SCole Faust                        <shadedArtifactAttached>false</shadedArtifactAttached>
107*8a52c783SCole Faust                        <createDependencyReducedPom>true</createDependencyReducedPom>
108*8a52c783SCole Faust                        <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
109*8a52c783SCole Faust                        </dependencyReducedPomLocation>
110*8a52c783SCole Faust                        <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
111*8a52c783SCole Faust                    </configuration>
112*8a52c783SCole Faust                    <executions>
113*8a52c783SCole Faust                        <execution>
114*8a52c783SCole Faust                            <phase>package</phase>
115*8a52c783SCole Faust                            <goals>
116*8a52c783SCole Faust                                <goal>shade</goal>
117*8a52c783SCole Faust                            </goals>
118*8a52c783SCole Faust                        </execution>
119*8a52c783SCole Faust                    </executions>
120*8a52c783SCole Faust                </plugin>
121*8a52c783SCole Faust            </plugins>
122*8a52c783SCole Faust        </pluginManagement>
123*8a52c783SCole Faust
124*8a52c783SCole Faust    </build>
125*8a52c783SCole Faust
126*8a52c783SCole Faust    <profiles>
127*8a52c783SCole Faust        <profile>
128*8a52c783SCole Faust            <id>publishing</id>
129*8a52c783SCole Faust            <build>
130*8a52c783SCole Faust                <plugins>
131*8a52c783SCole Faust                    <plugin>
132*8a52c783SCole Faust                        <groupId>org.apache.maven.plugins</groupId>
133*8a52c783SCole Faust                        <artifactId>maven-shade-plugin</artifactId>
134*8a52c783SCole Faust                        <configuration>
135*8a52c783SCole Faust                            <createSourcesJar>true</createSourcesJar>
136*8a52c783SCole Faust                        </configuration>
137*8a52c783SCole Faust                    </plugin>
138*8a52c783SCole Faust                    <plugin>
139*8a52c783SCole Faust                        <artifactId>maven-javadoc-plugin</artifactId>
140*8a52c783SCole Faust                        <executions>
141*8a52c783SCole Faust                            <execution>
142*8a52c783SCole Faust                                <id>javadoc-jar</id>
143*8a52c783SCole Faust                                <phase>package</phase>
144*8a52c783SCole Faust                                <goals>
145*8a52c783SCole Faust                                    <goal>jar</goal>
146*8a52c783SCole Faust                                </goals>
147*8a52c783SCole Faust                            </execution>
148*8a52c783SCole Faust                        </executions>
149*8a52c783SCole Faust                        <configuration>
150*8a52c783SCole Faust                            <sourcepath>${basedir}/../core/profiles/src/main/java/software/amazon/awssdk/profiles;${basedir}/../core/sdk-core/src/main/java/software/amazon/awssdk/core</sourcepath>
151*8a52c783SCole Faust                            <failOnError>false</failOnError>
152*8a52c783SCole Faust                        </configuration>
153*8a52c783SCole Faust                    </plugin>
154*8a52c783SCole Faust                </plugins>
155*8a52c783SCole Faust            </build>
156*8a52c783SCole Faust        </profile>
157*8a52c783SCole Faust    </profiles>
158*8a52c783SCole Faust
159*8a52c783SCole Faust</project>
160