Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- name: Retrieve project metadata
id: metadata
uses: radcortez/project-metadata-action@master
uses: radcortez/project-metadata-action@main
with:
github-token: ${{secrets.GITHUB_TOKEN}}
metadata-file-path: '.github/project.yml'
Expand All @@ -32,16 +32,16 @@ jobs:
with:
distribution: temurin
java-version: 17
server-id: 'sonatype-nexus-staging'
server-username: 'MAVEN_DEPLOY_USERNAME'
server-password: 'MAVEN_DEPLOY_TOKEN'
server-id: 'central'
server-username: 'CENTRAL_PORTAL_USERNAME'
server-password: 'CENTRAL_PORTAL_PWD'
gpg-private-key: ${{secrets.MAVEN_GPG_PRIVATE_KEY}}
gpg-passphrase: 'MAVEN_GPG_PASSPHRASE'

- name: Maven release ${{steps.metadata.outputs.current-version}}
env:
MAVEN_DEPLOY_USERNAME: ${{secrets.MAVEN_DEPLOY_USERNAME}}
MAVEN_DEPLOY_TOKEN: ${{secrets.MAVEN_DEPLOY_TOKEN}}
CENTRAL_PORTAL_USERNAME: ${{secrets.CENTRAL_PORTAL_USERNAME}}
CENTRAL_PORTAL_PWD: ${{secrets.CENTRAL_PORTAL_PWD}}
MAVEN_GPG_PASSPHRASE: ${{secrets.MAVEN_GPG_PASSPHRASE}}
run: |
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED"
Expand Down
34 changes: 14 additions & 20 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
</jboss.releases.repo.url>
<jboss.snapshots.repo.url>https://repository.jboss.org/nexus/content/repositories/snapshots/
</jboss.snapshots.repo.url>
<ossrh.releases.repo.url>https://oss.sonatype.org/service/local/staging/deploy/maven2</ossrh.releases.repo.url>
<ossrh.snapshots.repo.url>https://oss.sonatype.org/content/repositories/snapshots</ossrh.snapshots.repo.url>
<central.portal.releases.repo.url>https://central.sonatype.com/api/v1/publisher</central.portal.releases.repo.url>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -96,16 +95,16 @@
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus.staging.plugin.version}</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<extensions>true</extensions>
<configuration>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<serverId>sonatype-nexus-staging</serverId>
<stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes>
<!-- Automatically releases staging repo, no manual action needed -->
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<publishingServerId>central</publishingServerId>
<!-- Automatically publish staged repo -->
<autoPublish>true</autoPublish>
<!-- The plugin will block and wait until the artifact is published -->
<waitUntil>published</waitUntil>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -134,25 +133,20 @@
</snapshotRepository>
</distributionManagement>
</profile>
<!-- OSSRH release repository - selected by default -->
<!-- Sonatype Central Portal - selected by default -->
<profile>
<id>ossrh-release-repo</id>
<id>central-portal-release-repo</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>!jboss-release-repo</name>
</property>
</activation>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>${ossrh.snapshots.repo.url}</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>${ossrh.releases.repo.url}</url>
<id>central-portal-staging</id>
<name>Central Portal Repository</name>
<url>${central.portal.releases.repo.url}</url>
</repository>
</distributionManagement>
</profile>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-parent</artifactId>
<version>53</version>
<version>54</version>
</parent>

<name>Weld APIs Parent</name>
Expand Down