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 <parent> 22 <groupId>software.amazon.awssdk</groupId> 23 <artifactId>aws-sdk-java-pom</artifactId> 24 <version>2.24.3</version> 25 </parent> 26 <artifactId>bundle</artifactId> 27 <packaging>jar</packaging> 28 29 <name>AWS Java SDK :: Bundle</name> 30 <url>https://aws.amazon.com/sdkforjava</url> 31 32 <properties> 33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 34 <sonar.skip>true</sonar.skip> 35 </properties> 36 37 <dependencyManagement> 38 <dependencies> 39 <dependency> 40 <groupId>software.amazon.awssdk</groupId> 41 <artifactId>bom-internal</artifactId> 42 <version>${project.version}</version> 43 <type>pom</type> 44 <scope>import</scope> 45 </dependency> 46 </dependencies> 47 </dependencyManagement> 48 49 <dependencies> 50 <dependency> 51 <groupId>software.amazon.awssdk</groupId> 52 <artifactId>bundle-sdk</artifactId> 53 <version>${awsjavasdk.version}</version> 54 </dependency> 55 <dependency> 56 <groupId>software.amazon.awssdk</groupId> 57 <artifactId>bundle-logging-bridge</artifactId> 58 <version>${awsjavasdk.version}</version> 59 </dependency> 60 </dependencies> 61 62 <build> 63 <pluginManagement> 64 <plugins> 65 <plugin> 66 <groupId>org.apache.maven.plugins</groupId> 67 <artifactId>maven-shade-plugin</artifactId> 68 <version>3.5.0</version> 69 <executions> 70 <execution> 71 <phase>package</phase> 72 <goals> 73 <goal>shade</goal> 74 </goals> 75 </execution> 76 </executions> 77 </plugin> 78 </plugins> 79 </pluginManagement> 80 <plugins> 81 <plugin> 82 <groupId>org.apache.maven.plugins</groupId> 83 <artifactId>maven-dependency-plugin</artifactId> 84 <configuration> 85 <ignoredUnusedDeclaredDependencies> 86 <ignoredUnusedDeclaredDependency>software.amazon.awssdk:bundle-sdk</ignoredUnusedDeclaredDependency> 87 <ignoredUnusedDeclaredDependency>software.amazon.awssdk:bundle-logging-bridge</ignoredUnusedDeclaredDependency> 88 </ignoredUnusedDeclaredDependencies> 89 </configuration> 90 </plugin> 91 </plugins> 92 </build> 93 94 <profiles> 95 <profile> 96 <id>publishing</id> 97 <build> 98 <plugins> 99 <plugin> 100 <groupId>org.apache.maven.plugins</groupId> 101 <artifactId>maven-shade-plugin</artifactId> 102 <configuration> 103 <createSourcesJar>true</createSourcesJar> 104 </configuration> 105 </plugin> 106 <plugin> 107 <artifactId>maven-javadoc-plugin</artifactId> 108 <executions> 109 <execution> 110 <id>javadoc-jar</id> 111 <phase>package</phase> 112 <goals> 113 <goal>jar</goal> 114 </goals> 115 </execution> 116 </executions> 117 <configuration> 118 <sourcepath>${basedir}/../core/profiles/src/main/java/software/amazon/awssdk/profiles;${basedir}/../core/sdk-core/src/main/java/software/amazon/awssdk/core</sourcepath> 119 <failOnError>false</failOnError> 120 </configuration> 121 </plugin> 122 <plugin> 123 <groupId>org.apache.maven.plugins</groupId> 124 <artifactId>maven-dependency-plugin</artifactId> 125 <configuration> 126 <ignoredUnusedDeclaredDependencies> 127 <ignoredUnusedDeclaredDependency>software.amazon.awssdk:bundle-sdk</ignoredUnusedDeclaredDependency> 128 <ignoredUnusedDeclaredDependency>software.amazon.awssdk:bundle-logging-bridge</ignoredUnusedDeclaredDependency> 129 </ignoredUnusedDeclaredDependencies> 130 </configuration> 131 </plugin> 132 </plugins> 133 </build> 134 </profile> 135 </profiles> 136 137</project> 138