diff --git a/README.md b/README.md index a642ba6c..0aa3da78 100644 --- a/README.md +++ b/README.md @@ -12,16 +12,28 @@ It's useful when you're developing a new project and need some pretty data for s Usage ----- -In pom.xml, add following between ` ... ` +In pom.xml, add the following xml stanza between ` ... ` ```xml com.github.javafaker javafaker - 0.10 + 0.11 ``` +Since version 0.11, the ```snake-yaml``` files are no longer included in the main jar. If you still wish +to use the shaded jar, you need to use the 'deps' classifier in the Maven coordinates (shown below). +```xml + + com.github.javafaker + javafaker + 0.11 + deps + +``` + + For gradle users, add the following to your build.gradle file. ```groovy @@ -30,7 +42,7 @@ repositories { } dependencies { - testCompile group: 'com.github.javafaker', name: 'javafaker', version: '0.10' + testCompile group: 'com.github.javafaker', name: 'javafaker', version: '0.11' } ``` diff --git a/pom.xml b/pom.xml index 0ec57470..96177c93 100644 --- a/pom.xml +++ b/pom.xml @@ -175,19 +175,21 @@ org.apache.maven.plugins maven-shade-plugin 2.4.3 - - - - com.github.bmoliveira:snake-yaml - - - package shade + + true + deps + + + com.github.bmoliveira:snake-yaml + + +