Project Signer
This project is maintained by jesperancinha
You can find all project statuses here Project Statuses
This project serves the purpose of automatically signing all projects from the root
The idea is to use something like:
java -jar project-signer.jar -t <template> <tag1>...<tagn> -d <root_path> -ne <no empty>
java -jar project-signer.jar --template-location <template> <tag1>...<tagn> --root-directory <root_path> --no-empty <no empty>
Old example:
-l "../project-signer-templates/licenses/APACHE2.template,../project-signer-templates/licenses/ISC.template,../project-signer-templates/licenses/MIT.template" -t "../project-signer-templates/Readme.md" License "About me" -d ../../
2020/12/23 Example:
-l "../project-signer-templates/licenses/APACHE2.template,../project-signer-templates/licenses/ISC.template,../project-signer-templates/licenses/MIT.template" -t "../project-signer-templates/Readme.md" License "About me" "Achievements" -d ../../
To summarize, this program will scan all your readme files and standardize name. You may want a generic signature in all your projects and this little runner will do just that!
This command line runner will complete several boiler plate tasks:
All tags are case sensitive, which means you do need to add extra tags in case you have issues with word casing. Once you finally run the above command, please make sure to double check the given signature before committing and pushing to your repos.
The most common form of using this plugin would be something like this as command line parameters:
-t "../project-signer-templates/Readme.md" License "About me" -d ../../
Remember to user profiles dev/prod. No difference at the moment between the different profiles.
gpg --keyserver hkp://keyserver.ubuntu.com --send-keys <your GPG key>
gpg --list-keys
export GPG_TTY=$(tty)
mvn clean deploy -Prelease
mvn nexus-staging:release -Prelease
<settings>
<servers>
<server>
<id>ossrh</id>
<username>your-jira-id</username>
<password>your-jira-pwd</password>
</server>
</servers>
</settings>