File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed
Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ script:
1515before_deploy :
1616 - ./mvnw help:evaluate -N -Dexpression=project.version | grep -v '\['
1717 - export project_version=$(./mvnw help:evaluate -N -Dexpression=project.version | grep -v '\[')
18- - echo "${GPG_SECRET_KEYS}" | base64 --decode | "${GPG_EXECUTABLE}" --batch --passphrase "${GPG_PASSPHRASE}" --import
19- - echo "${GPG_OWNERTRUST}" | base64 --decode | "${GPG_EXECUTABLE}" --batch --passphrase "${GPG_PASSPHRASE}" --import-ownertrust
20- - ./mvnw -DskipTests -Dmaven.test.skip=true -Dfindbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip -Dmaven.javadoc.skip=false --settings .settings.xml deploy -B
2118
2219deploy :
2320 provider : releases
Original file line number Diff line number Diff line change @@ -62,6 +62,31 @@ $> mvn clean test
6262
6363Also, if you do ` package ` or ` install ` goals, the tests launch automatically.
6464
65+ ## Deploy
66+
67+ To deploy the project in Maven Central, use the following command:
68+
69+ ``` bash
70+ $> ./mvnw \
71+ -DskipTests \
72+ -Dmaven.test.skip=true \
73+ -Dfindbugs.skip=true \
74+ -Dpmd.skip=true \
75+ -Dcheckstyle.skip \
76+ -Dmaven.javadoc.skip=false \
77+ --settings .settings.xml \
78+ deploy -B
79+ ```
80+
81+ It maybe usefull to import ` gpg ` 's secret keys and ownertrust from somewhere:
82+
83+ ``` bash
84+ $> echo " ${GPG_SECRET_KEYS} " | base64 --decode | " ${GPG_EXECUTABLE} " --batch --passphrase " ${GPG_PASSPHRASE} " --import
85+ ...
86+ $> echo " ${GPG_OWNERTRUST} " | base64 --decode | " ${GPG_EXECUTABLE} " --batch --passphrase " ${GPG_PASSPHRASE} " --import-ownertrust
87+ ...
88+ ```
89+
6590## Built With
6691
6792* [ Java] ( http://www.oracle.com/technetwork/java/javase ) - is a systems and applications programming language
You can’t perform that action at this time.
0 commit comments