diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c8aeb3a27..74c342fe0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,9 +16,9 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Build with Maven run: mvn -B package --file pom.xml diff --git a/README.md b/README.md index 06bdd1afd..f8c9a589c 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,17 @@ Most common use of the library would de-serialize an existing SPDX document usi The methods enterCriticalSection and leaveCritialSection are available to support multi-threaded applications. These methods serialize access to the model store for the specific SPDX document used for the SPDX model object. ## Getting Started +The library is available in [Maven Central org.spdx:java-spdx-library](https://search.maven.org/artifact/org.spdx/java-spdx-library). + +If you are using Maven, you can add the following dependency in your POM file: +``` + + org.spdx + java-spdx-library + (,1.0] + +``` + There are a couple of static classes that help common usage scenarios: - org.spdx.library.SPDXModelFactory supports the creation of specific model objects @@ -26,4 +37,4 @@ To update Spdx-Java-Library, the following is a very brief checklist: 4. Update unit tests ## Development Status -Note: This library is in development and likely contains defects. Reviews, suggestions are welcome. Please enter an issue with any suggestions. +Note: This library is mostly stable, but and contains some defects. Reviews, suggestions are welcome. Please enter an issue with any suggestions. diff --git a/pom.xml b/pom.xml index 6eee2dc00..92939abfc 100644 --- a/pom.xml +++ b/pom.xml @@ -31,14 +31,14 @@ https://github.com/spdx/Spdx-Java-Library - https://github.com/spdx/Spdx-Java-Library.git - https://github.com/spdx/Spdx-Java-Library.git + scm:git:git://github.com/spdx/Spdx-Java-Library.git + scm:git:git@github.com:/spdx/Spdx-Java-Library.git - bintray-spdx-spdx-tools + ossrh spdx-spdx-tools - https://api.bintray.com/maven/spdx/spdx-tools/java-spdx-library/;publish=1 + https://oss.sonatype.org/service/local/staging/deploy/maven2/