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>
<artifactId>elasticsearch-license-core</artifactId>
<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>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-license-plugin-api</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
@ -70,8 +66,9 @@
</executions>
<configuration>
<shadeTestJar>true</shadeTestJar>
<minimizeJar>true</minimizeJar>
<minimizeJar>false</minimizeJar>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<createDependencyReducedPom>true</createDependencyReducedPom>
<artifactSet>
<includes>
<include>org.elasticsearch:elasticsearch-license-core</include>

View File

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