Skip to content

Commit

Permalink
chore: 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 2920170 commit 1d1d6dd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions guava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,43 @@
</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>
<profile>
<id>srczip-parent</id>
<activation>
<file>
<exists>${java.home}/../src.zip</exists>
</file>
<property>
<name>maven.javadoc.skip</name>
<value>false</value>
</property>
</activation>
<dependencies>
<dependency>
Expand All @@ -273,6 +304,10 @@
<file>
<exists>${java.home}/lib/src.zip</exists>
</file>
<property>
<name>maven.javadoc.skip</name>
<value>false</value>
</property>
</activation>
<dependencies>
<dependency>
Expand Down

0 comments on commit 1d1d6dd

Please sign in to comment.