Nort: Difference between revisions
(→Usage) |
(→Usage) |
||
Line 65: | Line 65: | ||
install [-f|--force] | install [-f|--force] | ||
</pre> | </pre> | ||
release <snapshot|minor|major> | release <snapshot|minor|major> | ||
release <version-string> | release <version-string> | ||
Makes a release by incrementing the release information appropriately, running all tests, building the final artifact and installing the artifact in the appropriate repository. | Makes a release by incrementing the release information appropriately, running all tests, building the final artifact and installing the artifact in the appropriate repository. | ||
Revision as of 04:00, 12 May 2016
Internal
Overview
A set of bash scripts that know how to interact with Maven and the Maven configuration. They provide extended operational capabilities for Nova Ordis projects: runtime wrappers, building artifacts to be distributed, local and remote installation, etc. A customized copy of these scripts is installed under the ./bin directory for each project.
In the future, the utilities will gain the capability of driving Go projects as well, offering a unified command line interface for Java and Go projects.
GitHub
Installation
Update novaordis-release-tools from GitHub and then:
.../novaordis-release-tools/install <project-home-dir>
What it does not do and it should
- Verify that the POM file contains the definition of maven.build.timestamp.format and release_date, as required by project Version and Release Date#Define_maven.build.timestamp.format_and_release_date. If it does not, inject it.
Usage
In-line help is available with:
operations
which is the original name of the script and it should be available in the ./bin subdirectory.
The latest output:
NOMBP2:events ovidiu$ ./bin/operations Nova Ordis Release Tools Usage: <command> [global-options] <command-arguments> | operations [global-options] <command> <command-arguments> Global Options: -v | --verbose - verbose execution. Commands: install-release-tools <project-home-directory> Install the release tools into the 'bin' subdirectory of the specified project home directory. A target directory qualifies as "project home directory" if it has a Maven pom.xml in it. install [-f|--force]
release <snapshot|minor|major>
release <version-string>
Makes a release by incrementing the release information appropriately, running all tests, building the final artifact and installing the artifact in the appropriate repository.
Under Development.
./bin/test
Tests experimental functionality.