Skip to content

Commit e5f9b14

Browse files
committed
address comments
1 parent 9530762 commit e5f9b14

File tree

3 files changed

+37
-8
lines changed

3 files changed

+37
-8
lines changed

.github/workflows/sbom-pr.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,13 @@ permissions:
1313

1414
jobs:
1515
generate-and-pr:
16-
if: github.repository == 'JabRef/jabref'
1716
runs-on: ubuntu-latest
1817
steps:
1918
- name: Check out repository
2019
# Full history is preferred so create-pull-request can diff and commit
2120
uses: actions/checkout@v5
22-
with:
23-
fetch-depth: 0
2421

25-
- name: Set up JDK 24 (Corretto)
22+
- name: Set up JDK
2623
uses: actions/setup-java@v5
2724
with:
2825
distribution: 'corretto'
@@ -34,7 +31,7 @@ jobs:
3431
uses: gradle/actions/setup-gradle@v4
3532

3633
- name: Generate aggregated CycloneDX SBOM
37-
run: ./gradlew --no-daemon cyclonedxBom
34+
run: ./gradlew cyclonedxBom
3835

3936
- name: Copy SBOMs to repository root
4037
run: |
@@ -45,8 +42,10 @@ jobs:
4542
ls -la "$src_dir" || true
4643
exit 1
4744
fi
48-
cp "$src_dir/bom.json" ./bom.json
49-
cp "$src_dir/bom.xml" ./bom.xml
45+
cp "$src_dir/bom.json" bom.json
46+
cp "$src_dir/bom.xml" bom.xml
47+
echo "" >> bom.xml
48+
echo "" >> bom.json
5049
5150
- name: Create Pull Request
5251
uses: peter-evans/create-pull-request@v6
@@ -62,7 +61,7 @@ jobs:
6261
Generated via Gradle task `cyclonedxBom` using the org.cyclonedx.bom plugin configured in the build.
6362
branch: chore/update-sbom
6463
delete-branch: true
65-
labels: sbom, dependencies
64+
labels: "dev: dependencies""
6665
add-paths: |
6766
bom.json
6867
bom.xml

build-logic/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import jdk.tools.jlink.resources.plugins
12

23
plugins {
34
`kotlin-dsl`

external-libraries.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# External libraries
2+
3+
This document lists the fonts, icons, and libraries used by JabRef.
4+
5+
One can generate a file with all library dependencies by using Gradle task `cyclonedxBom`.
6+
It generates the file `build/cyclonedx/bom.xml` and `build/cyclonedx/bom.json`.
7+
8+
## bst files
9+
10+
```yaml
11+
Project: IEEEtran
12+
Path: src/main/resources/bst/IEEEtran.bst
13+
URL: https://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/bibtex
14+
License: LPPL-1.3
15+
```
16+
## Fonts and Icons
17+
The loading animation during loading of recommendations from Mr. DLib is created by <http://loading.io/> and is free of use under license CC0 1.0.
18+
```yaml
19+
Id: material-design-icons.font
20+
Project: Material Design Icons
21+
Version: v1.5.54
22+
URL: https://materialdesignicons.com/
23+
License: SIL Open Font License, Version 1.1
24+
Note: It is important to include v1.5.54 or later as v1.5.54 is the first version offering fixed code points. Do not confuse with http://zavoloklom.github.io/material-design-iconic-font/
25+
```
26+
27+
## Libraries
28+
29+
[SBOM](bom.json)

0 commit comments

Comments
 (0)