File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Release Checklist for the SPDX Java Tools
2+
3+ - [ ] Check for any warnings from the compiler and findbugs
4+ - [ ] Test the release ` mvn release:prepare -DdryRun `
5+ - [ ] Run ` mvn release:prepare ` - you will be prompted for the release - typically take the defaults
6+ - [ ] Run ` mvn release:perform `
7+ - [ ] Release artifacts to Maven Central
8+ - [ ] Create a Git release including release notes
9+ - [ ] Zip up the files from the Maven archive and add them to the release
Original file line number Diff line number Diff line change 3434 <url >https://github.com/spdx/Spdx-Java-Library</url >
3535 <connection >scm:git:git://github.com/spdx/Spdx-Java-Library.git</connection >
3636 <developerConnection >scm:git:git@github.com:/spdx/Spdx-Java-Library.git</developerConnection >
37+ <tag >master</tag >
3738 </scm >
3839 <distributionManagement >
3940 <repository >
7980 </properties >
8081 </profile >
8182 <profile >
82- <id >gpg-signing </id >
83+ <id >release </id >
8384 <build >
8485 <plugins >
86+ <plugin >
87+ <groupId >org.apache.maven.plugins</groupId >
88+ <artifactId >maven-source-plugin</artifactId >
89+ <version >3.2.1</version >
90+ <executions >
91+ <execution >
92+ <id >attach-sources</id >
93+ <phase >verify</phase >
94+ <goals >
95+ <goal >jar-no-fork</goal >
96+ </goals >
97+ </execution >
98+ </executions >
99+ </plugin >
85100 <plugin >
86101 <groupId >org.apache.maven.plugins</groupId >
87102 <artifactId >maven-gpg-plugin</artifactId >
229244 </archive >
230245 </configuration >
231246 </plugin >
232- <plugin >
233- <groupId >org.apache.maven.plugins</groupId >
234- <artifactId >maven-source-plugin</artifactId >
235- <version >3.3.0</version >
236- <executions >
237- <execution >
238- <id >attach-sources</id >
239- <phase >verify</phase >
240- <goals >
241- <goal >jar-no-fork</goal >
242- </goals >
243- </execution >
244- </executions >
245- </plugin >
246247 <plugin >
247248 <groupId >org.spdx</groupId >
248249 <artifactId >spdx-maven-plugin</artifactId >
286287 <originator >Organization: Linux Foundation</originator >
287288 </configuration >
288289 </plugin >
290+ <plugin >
291+ <groupId >org.apache.maven.plugins</groupId >
292+ <artifactId >maven-release-plugin</artifactId >
293+ <version >3.0.1</version >
294+ <configuration >
295+ <tagNameFormat >v@{project.version}</tagNameFormat >
296+ <releaseProfiles >release</releaseProfiles >
297+ <goals >deploy</goals >
298+ </configuration >
299+ </plugin >
289300 </plugins >
290301 </build >
291302 <reporting >
You can’t perform that action at this time.
0 commit comments