Web asset management for CI builds and local development using a lightweight Java stack.
When the Rhino shell is run in this manner, the project's classes are automatically added to the classpath for Rhino's classloader, which makes them available via LiveConnect, etc.
(Note that the experience will be greatly improved by running this with readline, ledit, or equivalent library available for your platform.)
Performing a Release
To deploy SNAPSHOT releases to Sonatype, you need to be approved for the project. After that, you need to store your credentials in your local
settings.xml per Sonatype's instructions. With those two things in place, you can run
mvn deploy to deploy your local SNAPSHOT version of the project to Sonatype's SNAPSHOT repository for this project.
Follow these instructions to perform a release of Screwdriver that will be uploaded to a staging repository for this project:
# Prepare the release mvn clean release:clean mvn -Pintegration-tests release:prepare # If all went well, push changes to codebase and version tag git push origin master git push --tags # Perform release mvn -Dgpg.passphrase="XXXX" release:perform # Clean up afterwards too mvn clean release:clean
At this point, you need to head over to the Sonatype docs, following the instructions for closing and releasing the appropriate staging repository so that it can be synced with Maven Central.
Note: Before clicking "Release" for the closed staging repository in the Nexus UI, please heed the Sonatype instructions and test the JAR locally. To do so, download the JAR and the pom.xml file for the to-be release, install them locally and test manually. You can install them locally with the following Maven incantation (example uses version
mvn install:install-file -DpomFile=screwdriver-0.2.0.pom -DgroupId=com.semperos -DartifactId=screwdriver -Dversion=0.2.0 -Dfile=screwdriver-0.2.0.jar -Dpackaging=jar
Copyright 2013 Daniel Gregoire (semperos), Kirill Orlov (rheol,koberidze)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
See the LICENSE file for more details.