Skip to content

Commit cafe44e

Browse files
committed
chore(ci): add spdx plugin
Signed-off-by: Sam Gammon <[email protected]>
1 parent f7bf395 commit cafe44e

File tree

2 files changed

+43
-2
lines changed

2 files changed

+43
-2
lines changed

guava/pom.xml

+29
Original file line numberDiff line numberDiff line change
@@ -223,4 +223,33 @@
223223
</plugin>
224224
</plugins>
225225
</build>
226+
<profiles>
227+
<profile>
228+
<id>spdx</id>
229+
<activation>
230+
<jdk>11</jdk>
231+
</activation>
232+
<build>
233+
<plugins>
234+
<plugin>
235+
<groupId>org.spdx</groupId>
236+
<artifactId>spdx-maven-plugin</artifactId>
237+
<version>0.7.3</version>
238+
<executions>
239+
<execution>
240+
<id>build-spdx</id>
241+
<goals>
242+
<goal>createSPDX</goal>
243+
</goals>
244+
</execution>
245+
</executions>
246+
<configuration>
247+
<useArtifactID>true</useArtifactID>
248+
<includeTransitiveDependencies>false</includeTransitiveDependencies>
249+
</configuration>
250+
</plugin>
251+
</plugins>
252+
</build>
253+
</profile>
254+
</profiles>
226255
</project>

pom.xml

+14-2
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,20 @@
274274
<artifactId>build-helper-maven-plugin</artifactId>
275275
<version>3.4.0</version>
276276
</plugin>
277+
<plugin>
278+
<artifactId>maven-gpg-plugin</artifactId>
279+
<version>3.0.1</version>
280+
</plugin>
281+
<plugin>
282+
<groupId>dev.sigstore</groupId>
283+
<artifactId>sigstore-maven-plugin</artifactId>
284+
<version>0.4.0</version>
285+
</plugin>
286+
<plugin>
287+
<groupId>org.spdx</groupId>
288+
<artifactId>spdx-maven-plugin</artifactId>
289+
<version>0.7.3</version>
290+
</plugin>
277291
</plugins>
278292
</pluginManagement>
279293
</build>
@@ -331,7 +345,6 @@
331345
<plugin>
332346
<groupId>dev.sigstore</groupId>
333347
<artifactId>sigstore-maven-plugin</artifactId>
334-
<version>0.4.0</version>
335348
<executions>
336349
<execution>
337350
<id>sign</id>
@@ -343,7 +356,6 @@
343356
</plugin>
344357
<plugin>
345358
<artifactId>maven-gpg-plugin</artifactId>
346-
<version>3.0.1</version>
347359
<executions>
348360
<execution>
349361
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)