Put snake-yaml binaries into 'deps' shaded jar (#138)
Remove the snake-yaml binaries from the main jar and include for backwards compatibility sake in the 'deps' jar created by the maven-shade-plugin. resolves DiUS/java-faker#130
This commit is contained in:
@@ -175,19 +175,21 @@
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>2.4.3</version>
|
||||
<configuration>
|
||||
<artifactSet>
|
||||
<includes>
|
||||
<include>com.github.bmoliveira:snake-yaml</include>
|
||||
</includes>
|
||||
</artifactSet>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||
<shadedClassifierName>deps</shadedClassifierName>
|
||||
<artifactSet>
|
||||
<includes>
|
||||
<include>com.github.bmoliveira:snake-yaml</include>
|
||||
</includes>
|
||||
</artifactSet>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
Reference in New Issue
Block a user