fix building of shaded jar and zip

Original commit: elastic/x-pack-elasticsearch@4fc1f08d07
This commit is contained in:
jaymode 2015-07-07 11:07:59 -04:00
parent 47ab3cc244
commit 84846cce1d
2 changed files with 6 additions and 6 deletions

View File

@ -29,15 +29,11 @@
<groupId>org.elasticsearch</groupId> <groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-license-core</artifactId> <artifactId>elasticsearch-license-core</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<!-- we mark this as provided because we need the dependency but shade it into this jar, so consumers of this
project don't need to depend on the core artifact -->
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.elasticsearch</groupId> <groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-license-plugin-api</artifactId> <artifactId>elasticsearch-license-plugin-api</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -70,8 +66,9 @@
</executions> </executions>
<configuration> <configuration>
<shadeTestJar>true</shadeTestJar> <shadeTestJar>true</shadeTestJar>
<minimizeJar>true</minimizeJar> <minimizeJar>false</minimizeJar>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies> <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<createDependencyReducedPom>true</createDependencyReducedPom>
<artifactSet> <artifactSet>
<includes> <includes>
<include>org.elasticsearch:elasticsearch-license-core</include> <include>org.elasticsearch:elasticsearch-license-core</include>

View File

@ -9,7 +9,10 @@
<dependencySet> <dependencySet>
<outputDirectory>/</outputDirectory> <outputDirectory>/</outputDirectory>
<useProjectArtifact>true</useProjectArtifact> <useProjectArtifact>true</useProjectArtifact>
<useTransitiveFiltering>true</useTransitiveFiltering> <useTransitiveDependencies>false</useTransitiveDependencies>
<includes>
<include>org.elasticsearch:elasticsearch-license-plugin-api</include>
</includes>
<excludes> <excludes>
<exclude>org.elasticsearch:elasticsearch</exclude> <exclude>org.elasticsearch:elasticsearch</exclude>
</excludes> </excludes>