diff options
Diffstat (limited to 'it/it-projects/maven/shade-with-dependency-reduced-pom/child2/pom.xml')
-rw-r--r-- | it/it-projects/maven/shade-with-dependency-reduced-pom/child2/pom.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/it/it-projects/maven/shade-with-dependency-reduced-pom/child2/pom.xml b/it/it-projects/maven/shade-with-dependency-reduced-pom/child2/pom.xml new file mode 100644 index 00000000000..a25279f1f8b --- /dev/null +++ b/it/it-projects/maven/shade-with-dependency-reduced-pom/child2/pom.xml @@ -0,0 +1,47 @@ +<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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + + <parent> + <groupId>org.foo.bar</groupId> + <artifactId>parent</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + + <artifactId>child2</artifactId> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>1.7.1</version> + <executions> + <execution> + <configuration> + <shadedArtifactAttached>false</shadedArtifactAttached> + <!-- here lies a problem, (true is the default) --> + <createDependencyReducedPom>true</createDependencyReducedPom> + </configuration> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + </execution> + </executions> + </plugin> + + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.foo.bar</groupId> + <artifactId>child1</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + </dependencies> + + +</project> |