Skip to content

Commit 1d1b56d

Browse files
committed
updated project settings
1 parent 02713ed commit 1d1b56d

8 files changed

Lines changed: 38 additions & 24 deletions

File tree

.idea/runConfigurations/Release___Deploy.xml renamed to .idea/runConfigurations/Deploy.xml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Release.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2121
set -e
2222
export LANG=en
2323
cd "$DIR"
24-
"$MVN" -Popenindex-release -Dgpg.skip=false clean deploy
24+
"$MVN" -Prelease -Pdeploy clean deploy

mvn-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2121
set -e
2222
export LANG=en
2323
cd "$DIR"
24-
"$MVN" -Popenindex-release clean install
24+
"$MVN" -Prelease clean install

pom.xml

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@
5858
<version.miglayout>5.2</version.miglayout>
5959
<version.slf4j>1.7.26</version.slf4j>
6060
<createChecksum>true</createChecksum>
61-
62-
<!-- Set this value to true, in order to skip GPG signing during the release phase. -->
63-
<gpg.skip>true</gpg.skip>
6461
</properties>
6562

6663
<dependencyManagement>
@@ -202,21 +199,12 @@
202199
</build>
203200

204201
<profiles>
202+
<!-- release profile -->
205203
<profile>
206-
<id>openindex-release</id>
204+
<id>release</id>
207205
<activation>
208206
<activeByDefault>false</activeByDefault>
209207
</activation>
210-
<distributionManagement>
211-
<repository>
212-
<id>openindex</id>
213-
<url>https://maven.openindex.de/repository/openindex-releases/</url>
214-
</repository>
215-
<snapshotRepository>
216-
<id>openindex</id>
217-
<url>https://maven.openindex.de/repository/openindex-snapshots/</url>
218-
</snapshotRepository>
219-
</distributionManagement>
220208
<build>
221209
<plugins>
222210
<plugin>
@@ -249,6 +237,32 @@
249237
</execution>
250238
</executions>
251239
</plugin>
240+
</plugins>
241+
</build>
242+
</profile>
243+
244+
<!-- deployment profile -->
245+
<profile>
246+
<id>deploy</id>
247+
<activation>
248+
<activeByDefault>false</activeByDefault>
249+
</activation>
250+
<properties>
251+
<gpg.keyname>0xA4B36C73</gpg.keyname>
252+
<gpg.passphrase></gpg.passphrase>
253+
</properties>
254+
<distributionManagement>
255+
<repository>
256+
<id>openindex</id>
257+
<url>https://maven.openindex.de/repository/openindex-releases/</url>
258+
</repository>
259+
<snapshotRepository>
260+
<id>openindex</id>
261+
<url>https://maven.openindex.de/repository/openindex-snapshots/</url>
262+
</snapshotRepository>
263+
</distributionManagement>
264+
<build>
265+
<plugins>
252266
<plugin>
253267
<groupId>org.apache.maven.plugins</groupId>
254268
<artifactId>maven-gpg-plugin</artifactId>
@@ -261,7 +275,7 @@
261275
</goals>
262276
<configuration>
263277
<keyname>${gpg.keyname}</keyname>
264-
<passphraseServerId>${gpg.passphrase}</passphraseServerId>
278+
<passphrase>${gpg.passphrase}</passphrase>
265279
</configuration>
266280
</execution>
267281
</executions>

release/mvn-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2121
set -e
2222
export LANG=en
2323
cd "$DIR"
24-
"$MVN" -Popenindex-release clean install
24+
"$MVN" -Prelease clean install

release/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103

104104
<profiles>
105105
<profile>
106-
<id>openindex-release</id>
106+
<id>release</id>
107107
<build>
108108
<plugins>
109109
<plugin>

0 commit comments

Comments
 (0)