fix building of shaded jar and zip
Original commit: elastic/x-pack-elasticsearch@4fc1f08d07
This commit is contained in:
parent
47ab3cc244
commit
84846cce1d
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue