Skip to content

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
psibre committed Aug 29, 2024
1 parent 963d096 commit df7dc92
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Awesome Java App
================

Non-functional example Java application project intended as a specimen for dependency scanning analysis.

The app contains a single, deliberately outdated, dependency, [Stanford CoreNLP](https://stanfordnlp.github.io/CoreNLP/), at [v4.3.2](https://mvnrepository.com/artifact/edu.stanford.nlp/stanford-corenlp/4.3.2), due to its interesting properties (various transitive dependencies, licenses, and vulnerabilities).

Prerequisites
-------------

A JDK is required, recommend at least Java 17.
A great way to manage JDK installations is [SDKMAN!](https://sdkman.io/).

Assembly
--------

Run

./gradlew installDist

to assemble and "install" a distribution of the app under `build/install`.
The dependency JARs will be included under `build/install/awesome-java-app/lib`.

SBOM
----

Run

./gradlew cyclonedxBom

to generate an SBOM from the runtime classpath dependency tree, in CycloneDX JSON format.
The SBOM file will be created at `build/reports/bom.json`.

0 comments on commit df7dc92

Please sign in to comment.