Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```
<dependency>
<groupId>org.spdx</groupId>
<artifactId>java-spdx-library</artifactId>
<version>(,1.0]</version>
</dependency>
```

There are a couple of static classes that help common usage scenarios:

- org.spdx.library.SPDXModelFactory supports the creation of specific model objects
Expand All @@ -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.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
</organization>
<scm>
<url>https://github.com/spdx/Spdx-Java-Library</url>
<connection>https://github.com/spdx/Spdx-Java-Library.git</connection>
<developerConnection>https://github.com/spdx/Spdx-Java-Library.git</developerConnection>
<connection>scm:git:git://github.com/spdx/Spdx-Java-Library.git</connection>
<developerConnection>scm:git:git@github.com:/spdx/Spdx-Java-Library.git</developerConnection>
</scm>
<distributionManagement>
<repository>
<id>bintray-spdx-spdx-tools</id>
<id>ossrh</id>
<name>spdx-spdx-tools</name>
<url>https://api.bintray.com/maven/spdx/spdx-tools/java-spdx-library/;publish=1</url>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<properties>
Expand Down