Created
April 13, 2016 11:43
-
-
Save wjbakker/328a05382e466de7fef3e07fc664d44f to your computer and use it in GitHub Desktop.
MSHADE-86 Reproduction scenario
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] mshade-86:projectA:jar:1.0-SNAPSHOT | |
[INFO] \- com.google.guava:guava:jar:16.0:compile | |
[INFO] mshade-86:projectB:jar:1.0-SNAPSHOT | |
[INFO] +- mshade-86:projectA:jar:1.0-SNAPSHOT:compile | |
[INFO] | \- (com.google.guava:guava:jar:16.0:compile - omitted for conflict with 17.0) | |
[INFO] \- com.google.guava:guava:jar:17.0:compile | |
[INFO] mshade-86:projectC:jar:1.0-SNAPSHOT | |
[INFO] +- mshade-86:projectB:jar:1.0-SNAPSHOT:compile | |
[INFO] | \- mshade-86:projectA:jar:1.0-SNAPSHOT:compile | |
[INFO] \- com.google.guava:guava:jar:18.0:compile | |
[INFO] mshade-86:projectC-shaded:jar:1.0-SNAPSHOT | |
[INFO] \- mshade-86:projectC:jar:1.0-SNAPSHOT:compile | |
[INFO] +- mshade-86:projectB:jar:1.0-SNAPSHOT:compile | |
[INFO] | \- mshade-86:projectA:jar:1.0-SNAPSHOT:compile | |
[INFO] \- com.google.guava:guava:jar:18.0:compile | |
[INFO] mshade-86:projectD:jar:1.0-SNAPSHOT | |
[INFO] +- mshade-86:projectC-shaded:jar:1.0-SNAPSHOT:compile | |
[INFO] | +- mshade-86:projectB:jar:1.0-SNAPSHOT:compile | |
[INFO] | | +- (mshade-86:projectA:jar:1.0-SNAPSHOT:compile - omitted for duplicate) | |
[INFO] | | \- (com.google.guava:guava:jar:17.0:compile - omitted for conflict with 18.0) | |
[INFO] | +- mshade-86:projectA:jar:1.0-SNAPSHOT:compile | |
[INFO] | | \- (com.google.guava:guava:jar:16.0:compile - omitted for conflict with 17.0) | |
[INFO] | \- (com.google.guava:guava:jar:18.0:compile - omitted for conflict with 19.0) | |
[INFO] \- com.google.guava:guava:jar:19.0:compile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mshade-86</groupId> | |
<artifactId>projectA</artifactId> | |
<name>projectA</name> | |
<version>1.0-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>16.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mshade-86</groupId> | |
<artifactId>projectB</artifactId> | |
<name>projectB</name> | |
<version>1.0-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>mshade-86</groupId> | |
<artifactId>projectA</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>17.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mshade-86</groupId> | |
<artifactId>projectC</artifactId> | |
<name>projectC</name> | |
<version>1.0-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>mshade-86</groupId> | |
<artifactId>projectB</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<exclusions> | |
<exclusion> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>18.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mshade-86</groupId> | |
<artifactId>projectC-shaded</artifactId> | |
<name>projectC-shaded</name> | |
<version>1.0-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>mshade-86</groupId> | |
<artifactId>projectC</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>2.4.3</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<createSourcesJar>true</createSourcesJar> | |
<createDependencyReducedPom>true</createDependencyReducedPom> | |
<keepDependenciesWithProvidedScope>false</keepDependenciesWithProvidedScope> | |
<promoteTransitiveDependencies>true</promoteTransitiveDependencies> | |
<artifactSet> | |
<includes> | |
<include>mshade-86:projectC</include> | |
</includes> | |
</artifactSet> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>mshade-86</groupId> | |
<artifactId>projectD</artifactId> | |
<name>projectD</name> | |
<version>1.0-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>mshade-86</groupId> | |
<artifactId>projectC-shaded</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>19.0</version> | |
</dependency> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment