File tree Expand file tree Collapse file tree 3 files changed +40
-12
lines changed Expand file tree Collapse file tree 3 files changed +40
-12
lines changed Original file line number Diff line number Diff line change @@ -43,18 +43,18 @@ jobs:
43
43
nexus_username : ${{ secrets.NEXUS_USERNAME }}
44
44
nexus_password : ${{ secrets.NEXUS_PASSWORD }}
45
45
46
- # sbom:
47
- # name: SBOM processing
48
- # needs: build
49
- # runs-on: ubuntu-latest
50
- # container:
51
- # image: cyclonedx/cyclonedx-cli:0.24.2
52
- # steps:
53
- # - uses: jahia/jahia-modules-action/sbom-processing@v2
54
- # with:
55
- # dependencytrack_hostname: ${{ vars.DEPENDENCYTRACK_HOSTNAME }}
56
- # dependencytrack_apikey: ${{ secrets.DEPENDENCYTRACK_APIKEY }}
57
- # sbom_artifacts: 'build-artifacts'
46
+ sbom :
47
+ name : SBOM processing
48
+ needs : build
49
+ runs-on : ubuntu-latest
50
+ container :
51
+ image : cyclonedx/cyclonedx-cli:0.24.2
52
+ steps :
53
+ - uses : jahia/jahia-modules-action/sbom-processing@v2
54
+ with :
55
+ dependencytrack_hostname : ${{ vars.DEPENDENCYTRACK_HOSTNAME }}
56
+ dependencytrack_apikey : ${{ secrets.DEPENDENCYTRACK_APIKEY }}
57
+ sbom_artifacts : ' build-artifacts'
58
58
59
59
integration-tests :
60
60
name : Integration Tests
Original file line number Diff line number Diff line change 40
40
github_pr_id : ${{github.event.number}}
41
41
sonar_url : ${{ secrets.SONAR_URL }}
42
42
sonar_token : ${{ secrets.SONAR_TOKEN }}
43
+ nvd_apikey : ${{ secrets.NVD_APIKEY }}
43
44
mvn_settings_filepath : ' .github/maven.settings.xml'
Original file line number Diff line number Diff line change 110
110
</instructions >
111
111
</configuration >
112
112
</plugin >
113
+ <plugin >
114
+ <groupId >org.cyclonedx</groupId >
115
+ <artifactId >cyclonedx-maven-plugin</artifactId >
116
+ <version >2.7.11</version >
117
+ <executions >
118
+ <execution >
119
+ <phase >package</phase >
120
+ <goals >
121
+ <goal >makeAggregateBom</goal >
122
+ </goals >
123
+ </execution >
124
+ </executions >
125
+ <configuration >
126
+ <projectType >library</projectType >
127
+ <schemaVersion >1.4</schemaVersion >
128
+ <includeBomSerialNumber >true</includeBomSerialNumber >
129
+ <includeCompileScope >true</includeCompileScope >
130
+ <includeProvidedScope >false</includeProvidedScope >
131
+ <includeRuntimeScope >true</includeRuntimeScope >
132
+ <includeSystemScope >false</includeSystemScope >
133
+ <includeTestScope >false</includeTestScope >
134
+ <includeLicenseText >false</includeLicenseText >
135
+ <outputReactorProjects >true</outputReactorProjects >
136
+ <outputFormat >json</outputFormat >
137
+ <outputName >java-bom.cdx</outputName >
138
+ </configuration >
139
+ </plugin >
113
140
</plugins >
114
141
</build >
115
142
</project >
You can’t perform that action at this time.
0 commit comments