spring-cloud-contract-shade
Used in: 0 components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
Overview
Description
Spring Cloud Contract Shaded Dependencies
Snippets
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-contract-shade</artifactId> <version>4.2.1</version> </dependency>
Maven POM File
<?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>4.2.1</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> <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>attach-zip</id> <phase>none</phase> </execution> <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.3.5</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.sisu</groupId> <artifactId>org.eclipse.sisu.plexus</artifactId> <version>0.3.5</version> <scope>provided</scope> <exclusions> <exclusion> <artifactId>cdi-api</artifactId> <groupId>javax.enterprise</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>9.6</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>cglib</groupId> <artifactId>cglib</artifactId> <version>3.3.0</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.checkerframework</groupId> <artifactId>checker</artifactId> <version>3.25.0</version> <scope>provided</scope> <optional>true</optional> </dependency> </dependencies> <properties> <guice.version>5.0.1</guice.version> <guava.version>33.0.0-jre</guava.version> <maven-dependency-plugin.version>3.6.1</maven-dependency-plugin.version> <checker.version>3.25.0</checker.version> <asm.version>9.6</asm.version> <org.eclipse.sisu.plexus.version>0.3.5</org.eclipse.sisu.plexus.version> <build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version> <org.eclipse.sisu.inject.version>0.3.5</org.eclipse.sisu.inject.version> <apache-client.version>4.5.14</apache-client.version> <sisu-guice.version>4.2.0</sisu-guice.version> <plexus-utils.version>3.5.1</plexus-utils.version> </properties> </project>