Skip to content

Commit

Permalink
publish parent pom and fixes for jrelease process
Browse files Browse the repository at this point in the history
  • Loading branch information
jperedadnr committed Oct 17, 2024
1 parent 564e1f2 commit 87e6b5b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 26 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/early-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,10 @@ jobs:
run: |
mvn -B -ntp -pl :parent -DartifactsDir=artifacts jreleaser:release
- name: JReleaser output
if: always()
uses: actions/upload-artifact@v4
with:
name: jreleaser-logs
path: |
target/jreleaser/trace.log
target/jreleaser/output.properties
- name: Deploy parent pom and Kit to local staging
run: |
mvn -B -ntp deploy -pl :parent -Dmaven.test.skip=true
mvn -B -ntp deploy -fkit -Dmaven.test.skip=true
- name: Publish Kit with JReleaser
env:
Expand All @@ -167,5 +163,13 @@ jobs:
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
run: |
mvn deploy -fkit
mvn -B -ntp -pl :parent jreleaser:deploy
- name: JReleaser output
if: always()
uses: actions/upload-artifact@v4
with:
name: jreleaser-logs
path: |
target/jreleaser/trace.log
target/jreleaser/output.properties
7 changes: 7 additions & 0 deletions gluon-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
<gluon.attach.version>4.0.21</gluon.attach.version>
</properties>

<repositories>
<repository>
<id>gluon-nexus</id>
<url>https://nexus.gluonhq.com/nexus/content/repositories/releases/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.gluonhq.scenebuilder</groupId>
Expand Down
5 changes: 0 additions & 5 deletions kit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@
<outputDirectory>target/lib</outputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down
20 changes: 8 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,9 @@
<project.github.repository>gluonhq/scenebuilder</project.github.repository>
<repository.url>github.com:${project.github.repository}</repository.url>
<jreleaser.files.active>RELEASE</jreleaser.files.active>
<altDeploymentRepository>local::file:./target/staging-deploy</altDeploymentRepository>
</properties>

<repositories>
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
<repository>
<id>gluon-nexus</id>
<url>https://nexus.gluonhq.com/nexus/content/repositories/releases/</url>
</repository>
</repositories>

<dependencyManagement>
<dependencies>
<dependency>
Expand Down Expand Up @@ -134,6 +124,12 @@
<version>3.2.0</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.3</version>
</plugin>

<!-- Ensure that available tests are executed -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -354,7 +350,7 @@
<maven-central>
<active>ALWAYS</active>
<url>https://s01.oss.sonatype.org/service/local</url>
<snapshotUrl>https://s01.oss.sonatype.org/content/repositories/snapshots/</snapshotUrl>
<snapshotUrl>https://s01.oss.sonatype.org/content/repositories/snapshots</snapshotUrl>
<closeRepository>true</closeRepository>
<releaseRepository>false</releaseRepository>
<stagingRepositories>target/staging-deploy</stagingRepositories>
Expand Down

0 comments on commit 87e6b5b

Please # to comment.