|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + ~ Copyright 2010-2018 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>services</artifactId> |
| 24 | + <version>2.0.0-preview-10-SNAPSHOT</version> |
| 25 | + </parent> |
| 26 | + <artifactId>kinesis-bundle</artifactId> |
| 27 | + <packaging>jar</packaging> |
| 28 | + |
| 29 | + <name>AWS Java SDK :: Kinesis Bundle</name> |
| 30 | + <description>A single bundled dependency that includes all classes and dependencies for Amazon Kinesis.</description> |
| 31 | + |
| 32 | + <properties> |
| 33 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 34 | + <sonar.skip>true</sonar.skip> |
| 35 | + </properties> |
| 36 | + |
| 37 | + <dependencies> |
| 38 | + <dependency> |
| 39 | + <artifactId>kinesis</artifactId> |
| 40 | + <groupId>software.amazon.awssdk</groupId> |
| 41 | + <version>${awsjavasdk.version}</version> |
| 42 | + </dependency> |
| 43 | + </dependencies> |
| 44 | + |
| 45 | + <build> |
| 46 | + <plugins> |
| 47 | + <plugin> |
| 48 | + <artifactId>maven-dependency-plugin</artifactId> |
| 49 | + <groupId>org.apache.maven.plugins</groupId> |
| 50 | + <configuration> |
| 51 | + <ignoredUnusedDeclaredDependencies> |
| 52 | + <ignoredUnusedDeclaredDependency>software.amazon.awssdk:core</ignoredUnusedDeclaredDependency> |
| 53 | + <ignoredUnusedDeclaredDependency>software.amazon.awssdk:kinesis</ignoredUnusedDeclaredDependency> |
| 54 | + </ignoredUnusedDeclaredDependencies> |
| 55 | + </configuration> |
| 56 | + </plugin> |
| 57 | + <plugin> |
| 58 | + <groupId>org.apache.maven.plugins</groupId> |
| 59 | + <artifactId>maven-shade-plugin</artifactId> |
| 60 | + <version>3.1.0</version> |
| 61 | + <configuration> |
| 62 | + <artifactSet> |
| 63 | + <includes> |
| 64 | + <include>com.fasterxml.jackson.jr:*</include> |
| 65 | + <include>io.netty:*</include> |
| 66 | + <include>com.typesafe.netty:*</include> |
| 67 | + <include>com.fasterxml.jackson.core:*</include> |
| 68 | + <include>com.fasterxml.jackson.dataformat:jackson-dataformat-cbor</include> |
| 69 | + <include>org.apache.httpcomponents:*</include> |
| 70 | + <include>org.reactivestreams:*</include> |
| 71 | + <include>org.slf4j:*</include> |
| 72 | + <include>commons-codec:commons-codec</include> |
| 73 | + <include>software.amazon.awssdk.ion:ion-java</include> |
| 74 | + <include>software.amazon.awssdk:*</include> |
| 75 | + <include>commons-logging:*</include> |
| 76 | + </includes> |
| 77 | + </artifactSet> |
| 78 | + <relocations> |
| 79 | + <relocation> |
| 80 | + <pattern>com.fasterxml.jackson</pattern> |
| 81 | + <shadedPattern>software.amazon.awssdk.thirdparty.jackson</shadedPattern> |
| 82 | + </relocation> |
| 83 | + <relocation> |
| 84 | + <pattern>org.apache.http</pattern> |
| 85 | + <shadedPattern>software.amazon.awssdk.thirdparty.apache.http</shadedPattern> |
| 86 | + </relocation> |
| 87 | + <relocation> |
| 88 | + <pattern>org.apache.commons.codec</pattern> |
| 89 | + <shadedPattern>software.amazon.awssdk.thirdparty.apache.codec</shadedPattern> |
| 90 | + </relocation> |
| 91 | + <relocation> |
| 92 | + <pattern>software.amazon.awssdk.ion</pattern> |
| 93 | + <shadedPattern>software.amazon.awssdk.thirdparty.ion</shadedPattern> |
| 94 | + </relocation> |
| 95 | + <relocation> |
| 96 | + <pattern>org.apache.commons.logging</pattern> |
| 97 | + <shadedPattern>software.amazon.awssdk.thirdparty.apache.logging</shadedPattern> |
| 98 | + </relocation> |
| 99 | + <relocation> |
| 100 | + <pattern>io.netty</pattern> |
| 101 | + <shadedPattern>software.amazon.awssdk.thirdparty.io.netty</shadedPattern> |
| 102 | + </relocation> |
| 103 | + <relocation> |
| 104 | + <pattern>com.typesafe</pattern> |
| 105 | + <shadedPattern>software.amazon.awssdk.thirdparty.com.typesafe</shadedPattern> |
| 106 | + </relocation> |
| 107 | + <relocation> |
| 108 | + <pattern>org.reactivestreams</pattern> |
| 109 | + <shadedPattern>software.amazon.awssdk.thirdparty.org.reactivestreams</shadedPattern> |
| 110 | + </relocation> |
| 111 | + <relocation> |
| 112 | + <pattern>org.slf4j</pattern> |
| 113 | + <shadedPattern>software.amazon.awssdk.thirdparty.org.slf4j</shadedPattern> |
| 114 | + </relocation> |
| 115 | + </relocations> |
| 116 | + <shadedArtifactAttached>false</shadedArtifactAttached> |
| 117 | + <createDependencyReducedPom>true</createDependencyReducedPom> |
| 118 | + <dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml |
| 119 | + </dependencyReducedPomLocation> |
| 120 | + <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| 121 | + </configuration> |
| 122 | + <executions> |
| 123 | + <execution> |
| 124 | + <phase>package</phase> |
| 125 | + <goals> |
| 126 | + <goal>shade</goal> |
| 127 | + </goals> |
| 128 | + </execution> |
| 129 | + </executions> |
| 130 | + </plugin> |
| 131 | + </plugins> |
| 132 | + </build> |
| 133 | + <profiles> |
| 134 | + <profile> |
| 135 | + <id>publishing</id> |
| 136 | + <build> |
| 137 | + <plugins> |
| 138 | + <plugin> |
| 139 | + <groupId>org.apache.maven.plugins</groupId> |
| 140 | + <artifactId>maven-shade-plugin</artifactId> |
| 141 | + <configuration> |
| 142 | + <createSourcesJar>true</createSourcesJar> |
| 143 | + </configuration> |
| 144 | + </plugin> |
| 145 | + <plugin> |
| 146 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 147 | + <executions> |
| 148 | + <execution> |
| 149 | + <id>javadoc-jar</id> |
| 150 | + <phase>package</phase> |
| 151 | + <goals> |
| 152 | + <goal>jar</goal> |
| 153 | + </goals> |
| 154 | + </execution> |
| 155 | + </executions> |
| 156 | + <configuration> |
| 157 | + <sourcepath>${basedir}/../core/src</sourcepath> |
| 158 | + </configuration> |
| 159 | + </plugin> |
| 160 | + </plugins> |
| 161 | + </build> |
| 162 | + </profile> |
| 163 | + </profiles> |
| 164 | + |
| 165 | +</project> |
0 commit comments