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>
|
<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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue