Changeset 15464 for trunk/abcl/doc/releng.org
- Timestamp:
- 10/29/20 21:02:15 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/doc/releng.org
r15341 r15464 14 14 15 15 Enter your "JIRA username and a password" in a 16 <file:.m2/settings.xml>. This will authenticate 16 <file:.m2/settings.xml>. This will be used for authentication when 17 the =mvn= tool uploads artifacts to the Sonatype snapshot and staging 18 infrastructure. 17 19 18 20 #+BEGIN_SRC xml … … 50 52 51 53 **** Snapshots 52 For snapshots - development versions - the version in the POM should look like ~x.y.z-SNAPSHOT~. 54 For snapshots (aka development versions) the version in the POM should 55 be of the form ~x.y.z-SNAPSHOT~. 53 56 54 57 #+BEGIN_SRC bash … … 60 63 #+END_SRC 61 64 62 63 65 **** Release 64 For releases - the version in the POM should look like~x.y.z~66 For releases the version in the POM should be of the form ~x.y.z~ 65 67 66 68 #+BEGIN_SRC bash 67 keyname='< evenson.not.org@gmail.com>'68 abcl_version=1. 7.169 keyname='<your_pgg_key@example.com>' 70 abcl_version=1.8.0 69 71 mvn gpg:sign-and-deploy-file -Dgpg.keyname=${keyname} -Dfile=dist/abcl.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging 70 72 mvn gpg:sign-and-deploy-file -Dgpg.keyname=${keyname} -Dfile=dist/abcl-${abcl_version}-sources.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -Dclassifier=sources … … 76 78 #+BEGIN_SRC bash 77 79 keyname='<evenson.not.org@gmail.com>' 78 abcl_version=1. 7.180 abcl_version=1.8.0 79 81 mvn gpg:sign-and-deploy-file -Dgpg.keyname=${keyname} -Dfile=dist/abcl-contrib.jar -DpomFile=contrib/pom.xml -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging 80 82 mvn gpg:sign-and-deploy-file -Dgpg.keyname=${keyname} -Dfile=dist/abcl-contrib-${abcl_version}-sources.jar -DpomFile=contrib/pom.xml -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -Dclassifier=sources … … 100 102 101 103 102 103 104 *** Specifying GPG executable 104 105 105 For specifying gpg executable, use a property specified via106 '-Dgpg.executable=gpg2'. 106 For specifying the =gpg= executable used via =mvn= use a property 107 specified via the =gpg.executable= property (e.g. '-Dgpg.executable=gpg2'.) 107 108 108 109 **** Signing binary release … … 123 124 #+begin_example 124 125 Created: ?? 125 Revised: <2020- 06-05 Fri 08:46>126 Revised: <2020-10-21 Wed 10:01> 126 127 #+end_example 127 128
Note: See TracChangeset
for help on using the changeset viewer.