changed snakeyaml to the bmoliveira one to provide support for android

use maven shade plugin to include this dependency in the java-faker jar, because it is not available from maven central
This commit is contained in:
Pascal Schumacher
2016-05-06 23:32:47 +02:00
committed by Ricky Yim
parent 38f60d3c98
commit f4bb18940c
+31 -3
View File
@@ -39,6 +39,12 @@
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>commons-lang</groupId>
@@ -46,9 +52,9 @@
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.17</version>
<groupId>com.github.bmoliveira</groupId>
<artifactId>snake-yaml</artifactId>
<version>v1.18-android</version>
</dependency>
<dependency>
<groupId>com.github.mifmif</groupId>
@@ -142,5 +148,27 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<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>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>