File tree 2 files changed +25
-3
lines changed
2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ script:
15
15
before_deploy :
16
16
- ./mvnw help:evaluate -N -Dexpression=project.version | grep -v '\['
17
17
- 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
21
18
22
19
deploy :
23
20
provider : releases
Original file line number Diff line number Diff line change @@ -62,6 +62,31 @@ $> mvn clean test
62
62
63
63
Also, if you do ` package ` or ` install ` goals, the tests launch automatically.
64
64
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
+
65
90
## Built With
66
91
67
92
* [ 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