Generate SPDX SBOM from pom

This commit is contained in:
Simon Bruder 2024-01-11 10:34:45 +01:00
parent 6f237744fa
commit f9ddb710f9
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

24
pom.xml
View file

@ -20,6 +20,14 @@ SPDX-FileCopyrightText: 2023 swt23w23
<url>https://github.com/st-tu-dresden-praktikum/swt23w23</url> <url>https://github.com/st-tu-dresden-praktikum/swt23w23</url>
</scm> </scm>
<licenses>
<license>
<name>AGPL-3.0-or-later</name>
<url>https://www.gnu.org/licenses/agpl-3.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<parent> <parent>
<groupId>de.tudresden.inf.st.lab</groupId> <groupId>de.tudresden.inf.st.lab</groupId>
<artifactId>st-lab-parent</artifactId> <artifactId>st-lab-parent</artifactId>
@ -91,6 +99,22 @@ SPDX-FileCopyrightText: 2023 swt23w23
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.spdx</groupId>
<artifactId>spdx-maven-plugin</artifactId>
<version>0.7.2</version>
<executions>
<execution>
<id>build-spdx</id>
<goals>
<goal>createSPDX</goal>
</goals>
</execution>
</executions>
<configuration>
<licenseDeclared>AGPL-3.0-or-later</licenseDeclared>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>