-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update POM to use the release plugin
Fixes #51 Signed-off-by: Gary O'Neall <[email protected]>
- Loading branch information
Showing
3 changed files
with
64 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Release Checklist for the SPDX RDF Store | ||
|
||
- [ ] Check for any warnings from the compiler and findbugs | ||
- [ ] Run unit tests for all packages that depend on the library | ||
- [ ] Run dependency check to find any potential vulnerabilities `mvn dependency-check:check` | ||
- [ ] Run `mvn release:prepare` - you will be prompted for the release - typically take the defaults | ||
- [ ] Run `mvn release:perform` | ||
- [ ] Release artifacts to Maven Central | ||
- [ ] Create a Git release including release notes | ||
- [ ] Zip up the files from the Maven archive and add them to the release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,15 @@ | |
<sonar.host.url>https://sonarcloud.io</sonar.host.url> | ||
<sonar.organization>spdx</sonar.organization> | ||
<sonar.projectKey>spdx-tagvalue-store</sonar.projectKey> | ||
<dependency-check-maven.version>8.0.1</dependency-check-maven.version> | ||
<dependency-check-maven.version>8.4.3</dependency-check-maven.version> | ||
</properties> | ||
|
||
<description>SPDX store that supports serializing and deserializing SPDX tag/value files.</description> | ||
<scm> | ||
<url>https://github.com/spdx/spdx-java-tagvalue-store</url> | ||
<connection>https:</connection> | ||
<connection>scm:git:ssh://[email protected]:spdx/spdx-java-tagvalue-store</connection> | ||
<developerConnection>scm:git:[email protected]:spdx/spdx-java-tagvalue-store</developerConnection> | ||
<tag>master</tag> | ||
</scm> | ||
<issueManagement> | ||
<system>Github</system> | ||
|
@@ -69,9 +71,23 @@ | |
</properties> | ||
</profile> | ||
<profile> | ||
<id>gpg-signing</id> | ||
<id>release</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>3.2.1</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>jar-no-fork</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
|
@@ -90,6 +106,28 @@ | |
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.9</version> | ||
<configuration> | ||
<quiet>true</quiet> | ||
<source>8</source> | ||
<javadocExecutable>${env.JAVA_HOME}/bin/javadoc</javadocExecutable> | ||
<additionalparam>-Xdoclint:none</additionalparam> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<configuration> | ||
<additionalparam>${javadoc.opts}</additionalparam> | ||
</configuration> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
|
@@ -149,6 +187,16 @@ | |
</testResource> | ||
</testResources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>3.0.1</version> | ||
<configuration> | ||
<tagNameFormat>v@{project.version}</tagNameFormat> | ||
<releaseProfiles>release</releaseProfiles> | ||
<goals>deploy</goals> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.owasp</groupId> | ||
<artifactId>dependency-check-maven</artifactId> | ||
|
@@ -157,7 +205,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.6.1</version> | ||
<version>3.11.0</version> | ||
<configuration> | ||
<source>1.8</source> | ||
<target>1.8</target> | ||
|
@@ -167,46 +215,10 @@ | |
<optimize>true</optimize> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.9</version> | ||
<configuration> | ||
<quiet>true</quiet> | ||
<source>8</source> | ||
<javadocExecutable>${env.JAVA_HOME}/bin/javadoc</javadocExecutable> | ||
<additionalparam>-Xdoclint:none</additionalparam> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<configuration> | ||
<additionalparam>${javadoc.opts}</additionalparam> | ||
</configuration> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>3.2.1</version> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>jar-no-fork</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.spdx</groupId> | ||
<artifactId>spdx-maven-plugin</artifactId> | ||
<version>0.5.5</version> | ||
<version>0.7.1</version> | ||
<executions> | ||
<execution> | ||
<id>build-spdx</id> | ||
|
@@ -217,8 +229,6 @@ | |
</execution> | ||
</executions> | ||
<configuration> | ||
<spdxDocumentNamespace>http://spdx.org/documents/java-spdx-tagvalue-store-{$version}</spdxDocumentNamespace> | ||
|
||
<defaultFileCopyright>Copyright (c) 2020 Source Auditor Inc.</defaultFileCopyright> | ||
<defaultFileContributors> | ||
<param>Gary O'Neall</param> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters