Skip to content

Commit 1305b17

Browse files
authored
Rename release profile (#133)
As we dumped nx2 staging plugin, rename the profile ID to something more logical: "sisu-release".
1 parent 2804808 commit 1305b17

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

RELEASE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Releasing Sisu
2+
3+
## Maven
4+
5+
Note: Build uses latest `maven-gpg-plugin` and is getting rid "old bad practices" of storing sensitive information in
6+
any Maven configuration file. Hence, on Workstations, users are recommended to have GPG Agent set up and running,
7+
as plugin will make use of it to get the sensitive information. On unattended releases, the use of
8+
BouncyCastle signer is recommended, and use environment variables `MAVEN_GPG_KEY` and `MAVEN_GPG_PASSPHRASE`
9+
to pass over the key material and the passphrase to `maven-gpg-plugin`.
10+
See [maven-gpg-plugin site](https://maven.apache.org/plugins/maven-gpg-plugin/usage.html) for more information.
11+
12+
### Release steps
13+
14+
The "usual" Maven release:
15+
* `mvn release:prepare`
16+
* `mvn release:perform`
17+
* project uses https://oss.sonatype.org/ to stage (manual step: close and release staging repository)
18+
19+
## Site
20+
21+
TBD

org.eclipse.sisu.inject/pom.xml

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

457457
<profiles>
458458
<profile>
459-
<id>sonatype-oss-release</id>
459+
<id>sisu-release</id>
460460
<build>
461461
<plugins>
462462
<plugin>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ Bundle-DocURL: http://www.eclipse.org/sisu/
434434
<configuration>
435435
<mavenExecutorId>forked-path</mavenExecutorId>
436436
<useReleaseProfile>false</useReleaseProfile>
437-
<arguments>-Psonatype-oss-release</arguments>
437+
<arguments>-Psisu-release</arguments>
438438
<localCheckout>true</localCheckout>
439439
<pushChanges>false</pushChanges>
440440
<scmCommentPrefix>|</scmCommentPrefix>
@@ -572,7 +572,7 @@ Bundle-DocURL: http://www.eclipse.org/sisu/
572572
</build>
573573
</profile>
574574
<profile>
575-
<id>sonatype-oss-release</id>
575+
<id>sisu-release</id>
576576
<build>
577577
<plugins>
578578
<plugin>

0 commit comments

Comments
 (0)