diff --git a/README.md b/README.md index 222e458..dee60c8 100644 --- a/README.md +++ b/README.md @@ -18,45 +18,65 @@ This library is open source, stable and well tested. Development happens on [Git Installation ------------ -To include the latest release in your Java project follow the instructions below. Instructions for alternative build systems such as Gradle, SBT, or Leiningen you can find on [JitPack](https://jitpack.io/#petitparser/java-petitparser). +To include the latest release in your Java project follow the instructions below. -### Maven +### Maven Central -Append the repository to your `pom.xml` file: +To depend on the core library, add the following dependency to your `pom.xml` file: ```xml - - - jitpack.io - https://jitpack.io - - + + com.github.petitparser + petitparser-core + 2.2.0 + +``` + +To also include the example grammars, use the following dependency: + +```xml + + com.github.petitparser + petitparser + 2.2.0 + +``` + +Instructions for alternative build systems you can find on [Maven Central](https://search.maven.org/artifact/com.github.petitparser/petitparser-core). + +### Maven JitPack + +JitPack requires you to first append the repository to your `pom.xml` file: + +```xml + + jitpack.io + https://jitpack.io + ``` To depend on the core library, add the following dependency: ```xml - - - com.github.petitparser.java-petitparser - petitparser-core - 2.1.0 - - + + com.github.petitparser.java-petitparser + petitparser-core + 2.2.0 + ``` To also include the example grammars, use the following dependency: ```xml - - - com.github.petitparser - java-petitparser - 2.1.0 - - + + com.github.petitparser + java-petitparser + 2.2.0 + ``` +Instructions for alternative build systems such as Gradle, SBT, or Leiningen you can find on [JitPack](https://jitpack.io/#petitparser/java-petitparser). + ### Bazel Alternatively, if you'd like the latest code clone the repository: diff --git a/petitparser-core/pom.xml b/petitparser-core/pom.xml index d5e9259..ca9c356 100644 --- a/petitparser-core/pom.xml +++ b/petitparser-core/pom.xml @@ -7,7 +7,7 @@ com.github.petitparser petitparser - 2.1.0 + 2.2.0 ../pom.xml diff --git a/petitparser-json/pom.xml b/petitparser-json/pom.xml index d17d27b..f1b3f08 100644 --- a/petitparser-json/pom.xml +++ b/petitparser-json/pom.xml @@ -7,7 +7,7 @@ com.github.petitparser petitparser - 2.1.0 + 2.2.0 ../pom.xml @@ -19,7 +19,7 @@ com.github.petitparser petitparser-core - 2.1.0 + 2.2.0 diff --git a/petitparser-smalltalk/pom.xml b/petitparser-smalltalk/pom.xml index f232bca..0e1865a 100644 --- a/petitparser-smalltalk/pom.xml +++ b/petitparser-smalltalk/pom.xml @@ -7,7 +7,7 @@ com.github.petitparser petitparser - 2.1.0 + 2.2.0 ../pom.xml @@ -19,7 +19,7 @@ com.github.petitparser petitparser-core - 2.1.0 + 2.2.0 diff --git a/petitparser-xml/pom.xml b/petitparser-xml/pom.xml index fce9ff3..3b9c7ec 100644 --- a/petitparser-xml/pom.xml +++ b/petitparser-xml/pom.xml @@ -7,7 +7,7 @@ com.github.petitparser petitparser - 2.1.0 + 2.2.0 ../pom.xml @@ -19,7 +19,7 @@ com.github.petitparser petitparser-core - 2.1.0 + 2.2.0 diff --git a/pom.xml b/pom.xml index e64039f..84776d3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,16 +5,15 @@ 4.0.0 - 1.8 - 4.12 - 4.3.0 + 1.8 + 1.8 UTF-8 UTF-8 com.github.petitparser petitparser - 2.1.0 + 2.2.0 pom PetitParser @@ -66,10 +65,18 @@ + junit junit - ${junit.version} + 4.12 + test + + + + org.hamcrest + java-hamcrest + 2.0.0.0 test @@ -77,34 +84,34 @@ + org.apache.maven.plugins maven-compiler-plugin - 3.7.0 - - ${java.version} - ${java.version} - + 3.8.0 + org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.8.0 javac-with-errorprone true + org.codehaus.plexus plexus-compiler-javac-errorprone - 2.8.2 + 2.8.5 + org.apache.maven.plugins maven-source-plugin @@ -118,12 +125,15 @@ + org.apache.maven.plugins maven-javadoc-plugin - 3.0.0 + 3.0.1 -Xdoclint:none + -Xdoclint:none + -html5 @@ -134,27 +144,108 @@ + org.eluder.coveralls coveralls-maven-plugin - ${coveralls.version} + 4.3.0 ${env.COVERALLS_TOKEN} + + + javax.xml.bind + jaxb-api + 2.2.3 + + + org.jacoco jacoco-maven-plugin - 0.7.9 + 0.8.2 - prepare-agent + default-prepare-agent prepare-agent + + default-prepare-agent-integration + pre-integration-test + + prepare-agent-integration + + + + default-report + + report + + + + default-report-integration + + report-integration + + + + + + + oss + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + gpg2 + true + ${gpg.keyname} + ${gpg.keyname} + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + +