Skip to content

Commit

Permalink
chore(ci): add spdx plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <[email protected]>
  • Loading branch information
sgammon committed Mar 11, 2024
1 parent b001b0d commit 56bb0f0
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 2 deletions.
29 changes: 29 additions & 0 deletions guava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,33 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>spdx</id>
<activation>
<jdk>11</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.spdx</groupId>
<artifactId>spdx-maven-plugin</artifactId>
<version>0.7.3</version>
<executions>
<execution>
<id>build-spdx</id>
<goals>
<goal>createSPDX</goal>
</goals>
</execution>
</executions>
<configuration>
<useArtifactID>true</useArtifactID>
<includeTransitiveDependencies>false</includeTransitiveDependencies>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
16 changes: 14 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,20 @@
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.4.0</version>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>dev.sigstore</groupId>
<artifactId>sigstore-maven-plugin</artifactId>
<version>0.4.0</version>
</plugin>
<plugin>
<groupId>org.spdx</groupId>
<artifactId>spdx-maven-plugin</artifactId>
<version>0.7.3</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down Expand Up @@ -331,7 +345,6 @@
<plugin>
<groupId>dev.sigstore</groupId>
<artifactId>sigstore-maven-plugin</artifactId>
<version>0.4.0</version>
<executions>
<execution>
<id>sign</id>
Expand All @@ -343,7 +356,6 @@
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand Down

0 comments on commit 56bb0f0

Please sign in to comment.