Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Gliffy Diagram
nameworkflow mavenutils
pagePin9

Publishing


Release

(need improvement list findings.)

get zip from jenkins build and extract localy (ie https://builds.apache.org/job/incubator-netbeans-r100-maven/ ) repository is generated according to a git tag to match a released version

do sign

find . -name '*.nbm' -exec gpg --armor --output {}.asc --detach-sig {} \;

find . -name '*.xml' -exec gpg --armor --output {}.asc --detach-sig {} \;

find . -name '*.pom' -exec gpg --armor --output {}.asc --detach-sig {} \;

find . -name '*.sha1' -exec gpg --armor --output {}.asc --detach-sig {} \;

find . -name '*.md5' -exec gpg --armor --output {}.asc --detach-sig {} \;

find . -name '*.jar' -exec gpg --armor --output {}.asc --detach-sig {} \;

 test signing

find . -name '*.asc' -exec gpg --verify {} \;

The release process is using Apache Maven. You need to have a settings.xml configured as follow https://www.apache.org/dev/publishing-maven-artifacts.html

(non mandatory mvn org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:rc-list-profiles –DserverId=apache.snapshots.https –DnexusUrl=https://repository.apache.org | grep 'netbeans'

give the id stagingprofile

20604114d0070e is id for Apache NetBeans

)

populate the staging repository

mvn org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:deploy-staged-repository –DserverId=apache.snapshots.https –DnexusUrl=https://repository.apache.org –DstagingProfileId=20604114d0070e –DrepositoryDirectory=pathofsignedartefacts

close using web UI need stage repository

Snapshot