Files
spring-cloud-contract/spring-cloud-contract-shade/dependency-reduced-pom.xml
2019-07-23 11:06:30 +00:00

212 lines
7.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>spring-cloud-contract-parent</artifactId>
<groupId>org.springframework.cloud</groupId>
<version>2.2.0.BUILD-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>spring-cloud-contract-shade</artifactId>
<name>Spring Cloud Contract Shaded Dependencies</name>
<description>Spring Cloud Contract Shaded Dependencies</description>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<shadedArtifactAttached>false</shadedArtifactAttached>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
<keepDependenciesWithProvidedScope>false</keepDependenciesWithProvidedScope>
<relocations>
<relocation>
<pattern>com.google</pattern>
<shadedPattern>shaded.com.google</shadedPattern>
</relocation>
<relocation>
<pattern>org.eclipse.aether.connector</pattern>
<shadedPattern>shaded.org.eclipse.aether.connector</shadedPattern>
</relocation>
<relocation>
<pattern>org.eclipse.aether.transport</pattern>
<shadedPattern>shaded.org.eclipse.aether.transport</shadedPattern>
</relocation>
<relocation>
<pattern>org.eclipse.aether.impl</pattern>
<shadedPattern>shaded.org.eclipse.aether.impl</shadedPattern>
</relocation>
<relocation>
<pattern>org.eclipse.aether.internal</pattern>
<shadedPattern>shaded.org.eclipse.aether.internal</shadedPattern>
</relocation>
<relocation>
<pattern>org.eclipse.aether.spi</pattern>
<shadedPattern>shaded.org.eclipse.aether.spi</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.maven</pattern>
<shadedPattern>shaded.org.apache.maven</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<excludes>
<exclude>org/slf4j/</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
<executions>
<execution>
<id>unpack-dependencies</id>
<phase>package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-contract-shade</artifactId>
<version>${project.version}</version>
<classifier>sources</classifier>
<type>jar</type>
<overWrite>false</overWrite>
<outputDirectory>${project.build.directory}/sources</outputDirectory>
</artifactItem>
</artifactItems>
<includes>**/shaded/**/*.*,**/org/eclipse/**/*.*,**/org/codehaus/plexus/**/*.*</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>add-source</id>
<phase>package</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/sources</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<failIfNoTests>false</failIfNoTests>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.eclipse.sisu</groupId>
<artifactId>org.eclipse.sisu.inject</artifactId>
<version>0.1.1</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.eclipse.sisu</groupId>
<artifactId>org.eclipse.sisu.plexus</artifactId>
<version>0.1.1</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>cdi-api</artifactId>
<groupId>javax.enterprise</groupId>
</exclusion>
<exclusion>
<artifactId>plexus-classworlds</artifactId>
<groupId>org.codehaus.plexus</groupId>
</exclusion>
</exclusions>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-guice</artifactId>
<version>4.2.0</version>
<classifier>no_aop</classifier>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>aopalliance</artifactId>
<groupId>aopalliance</groupId>
</exclusion>
<exclusion>
<artifactId>jsr305</artifactId>
<groupId>com.google.code.findbugs</groupId>
</exclusion>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
</exclusions>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>7.1</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>3.2.9</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>ant</artifactId>
<groupId>org.apache.ant</groupId>
</exclusion>
</exclusions>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker</artifactId>
<version>2.8.2</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
<properties>
<sisu-guice.version>4.2.0</sisu-guice.version>
<maven-shade-plugin.version>3.2.1</maven-shade-plugin.version>
<guice.version>4.2.2</guice.version>
<asm.version>7.1</asm.version>
<guava.version>27.1-jre</guava.version>
<org.eclipse.sisu.plexus.version>0.1.1</org.eclipse.sisu.plexus.version>
<build-helper-maven-plugin.version>1.12</build-helper-maven-plugin.version>
<checker.version>2.8.2</checker.version>
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
<org.eclipse.sisu.inject.version>0.1.1</org.eclipse.sisu.inject.version>
</properties>
</project>