This project contains Linux bash scripts to work with java projects.
The main repository is hosted in gitlab.com/singletonsd/scripts/java but it is automatically mirrored to github.com/singletonsd, github.com/patoperpetua and to gitlab.com/patoperpetua. If you are in the Github page it may occur that is not updated to the last version.
It updates the version of a pom file. It adds the timestamp to the version and if MVN_SNAPSHOT is defined or has one argument, it also add -SNAPSHOT.
curl -s https://singletonsd.gitlab.io/scripts/java/latest/java_update_version.sh | bash /dev/stdin
It can be downloaded by:
curl -o java_update_version.sh -L https://singletonsd.gitlab.io/scripts/java/latest/java_update_version.sh
All scripts are available also inside a zip file under this url. Or you can execute the following to download:
mkdir -p binaries && \
curl -o binaries/scripts.zip -L https://singletonsd.gitlab.io/scripts/java/latest/scripts.zip && \
cd binaries && unzip scripts.zip && mv src/* . && rm -r src && rm -r scripts.zip && cd ..
You can setup shellcheck to be run before a commit. To do that just execute the following script under your git repository:
curl -s https://singletonsd.gitlab.io/scripts/common/latest/bash_script_test_hook_installer.sh | bash /dev/stdin
Master branch is setup as latest folder. To use an specific version, put the version name before the file name like:
https://singletonsd.gitlab.io/scripts/java/latest/bash_script_test_standalone.sh
https://singletonsd.gitlab.io/scripts/java/develop/bash_script_test_standalone.sh
https://singletonsd.gitlab.io/scripts/java/v0.0.2/bash_script_test_standalone.sh
- Fix documentation.
- Add script to download test script from gitlab pages.
- Zip all scripts and put inside pages.
- Create a docker image with all scripts inside.
- Improve generators. Add more information.
© Singleton SD, France, 2019.