maven-central-integration provides tooling to be able to release the qooxdoo SDK at Maven Central.
This is an additional step once a qooxdoo SDK is released. It does rely on already released SDK versions.
Make sure you have at least the Maven version 2.2.1 installed.
You have to make sure to adapt the pom.xml
to the current version of the SDK and the current version of the parent pom. The parent pom file has to be released before building the SDK package.
The following steps are using the 4.0.2 release of the qooxdoo SDK. Please make sure to adapt the version number before executing the command.
- adjust the
pom.xml
by setting the right version to the<version>
field (fill in the version you want to release) - Run
mvn clean package
- Fill in the passphrase
- Run
mvn gpg:sign-and-deploy-file -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -DpomFile=pom.xml -Dfile=target/qooxdoo-sdk-4.0.2.jar
(this takes some minutes - do not stop this upload process) - Login at Sonatype Nexus with the qooxdoo user
- Click at Staging Repositories
- Select the
org.qooxdoo
Repository, click Close and fill a meaningful message - If everything is fine and can be released: Click the Release button to finally release the SDK (a second dialog appears for the release message)
- Check at Maven Central if the SDK is successfully synced - this may take some time