Skip to content

Commit

Permalink
ci: Jreleaser failing due to validate step not loading (#28951) (#28952)
Browse files Browse the repository at this point in the history
Fix Jreleaser plugin and update plugin versions

Related to #28951 (Jreleaser failing due to validate step not loading).
  • Loading branch information
spbolton authored Jun 20, 2024
1 parent 38272f6 commit 01a22d1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cli-release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ jobs:
JRELEASER_SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
working-directory: ${{ github.workspace }}
run: |
tools/dotcms-cli/mvnw -B -Prelease jreleaser:full-release -DartifactsDir=artifacts -Djreleaser.git.root.search=true -pl :dotcms-cli-parent -Dmaven.plugin.validation=VERBOSE
tools/dotcms-cli/mvnw -B -Prelease validate -DartifactsDir=artifacts -Djreleaser.git.root.search=true -pl :dotcms-cli-parent -Dmaven.plugin.validation=VERBOSE
publish-npm-package:
name: "Publish NPM Package"
Expand Down
1 change: 0 additions & 1 deletion environments/environment.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ docker.image.postgres=ankane/pgvector
postman.collections=Maintenance_Resource
docker.image.wiremock=wiremock/wiremock:3.5.3
wiremock.api.key=some-api-key-1a2bc3
java.compat.version=11
4 changes: 2 additions & 2 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
support new version default in environments/environment.properties and can be changed for local developer in
environments/dev/user-dev.properties -->
<!--suppress UnresolvedMavenProperty -->
<maven.compiler.release>${ext.java.compat.version}</maven.compiler.release>
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.source>${maven.compiler.release}</maven.compiler.source>
<maven.compiler.target>${maven.compiler.release}</maven.compiler.target>
<maven.compiler.testSource>${maven.compiler.source}</maven.compiler.testSource>
Expand Down Expand Up @@ -123,7 +123,7 @@
<version.deploy.plugin>3.1.1</version.deploy.plugin>
<version.docker-compose.plugin>4.0.0</version.docker-compose.plugin>
<!-- version.* properties are defined in jboss-parent and are overridden/updated here: -->
<version.enforcer.plugin>3.0.0</version.enforcer.plugin>
<version.enforcer.plugin>3.5.0</version.enforcer.plugin>
<version.exec.plugin>3.0.0</version.exec.plugin>
<version.surefire.plugin>3.2.5</version.surefire.plugin>
<version.failsafe.plugin>${version.surefire.plugin}</version.failsafe.plugin>
Expand Down
10 changes: 9 additions & 1 deletion tools/dotcms-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>2.16.12.Final</quarkus.platform.version>
<jreleaser-plugin.version>1.8.0</jreleaser-plugin.version>
<jreleaser-plugin.version>1.12.0</jreleaser-plugin.version>
<google.findbugs.version>3.0.2</google.findbugs.version>
</properties>

Expand Down Expand Up @@ -52,6 +52,14 @@
<gitRootSearch>true</gitRootSearch>
<configFile>${project.basedir}/jreleaser.yml</configFile>
</configuration>
<executions>
<execution>
<goals>
<goal>full-release</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 01a22d1

Please sign in to comment.