Lockheed Martin developed common SBOM library
This project contains common classes used by the various components of the software bill of materials (SBOM) services and applications. The SbomCommons project is not intended as a standalone application, this project was written with test driven development to validate the project's methods and classes. Additions should have paired JUnit tests.
- Open JDK11
- Apache Maven 3.6.3 or greater installed
- (Recommended) java IDE Eclipse with Subclipse 4.3.0 plug-in
- Clone this git repository
- Compile first time with the Maven Command
mvn clean install
. The project is not intended as a standalone application, but instead to hold commonalities between the SBOM projects, such as the Date utility. The project was written as a test driven development to validate the methods and classes in this project and additions should have paired JUnit tests. Tests can be verified through the Maven Commandmvn clean test
.
<dependency>
<groupId>org.cyclonedx.contrib.com.lmco.efoss.sbom</groupId>
<artifactId>sbom-commons</artifactId>
<version>TAG-Version</version>
</dependency>
After the dependency is added to your pom you can reference the classes found in this project by adding the import, import org.cyclonedx.contrib.com.lmco.efoss.sbom.commons.*
, to your java class.
The project is not intended as a standalone application, the JUnit tests can be verified through the Maven Command mvn clean test
.
CycloneDX SBOM Commons is Copyright (c) Lockheed Martin Corporation. All Rights Reserved.
Permission to modify and redistribute is granted under the terms of the Apache 2.0 license. See the License file for the full license.