Skip to content

Commit

Permalink
build: enable skipping releasing and less strict pomchecker
Browse files Browse the repository at this point in the history
  • Loading branch information
poikilotherm committed Oct 18, 2024
1 parent 586bf4c commit 3b43ff0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>io.gdcc</groupId>
<artifactId>parent</artifactId>
<version>0.11.1-SNAPSHOT</version>
<version>0.10.2-SNAPSHOT</version>

<organization>
<name>Global Dataverse Community Consortium</name>
Expand Down Expand Up @@ -88,7 +88,9 @@
<skipEnforce.jdk-version>false</skipEnforce.jdk-version>
<skipEnforce.log-libs>true</skipEnforce.log-libs>
<skipEnforce.convergence>true</skipEnforce.convergence>
<skipEnforce.pomcheck-warn-is-no-error>false</skipEnforce.pomcheck-warn-is-no-error>
<skipSign>false</skipSign>
<skipRelease>false</skipRelease>

<!-- Dependencies -->
<dataverse.spi.version>2.0.0</dataverse.spi.version>
Expand Down Expand Up @@ -289,6 +291,7 @@
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<skipStaging>${skipRelease}</skipStaging>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
Expand Down Expand Up @@ -547,7 +550,8 @@
<configuration>
<rules>
<CheckMavenCentral implementation="org.kordamp.maven.enforcer.checker.CheckMavenCentral">
<failOnWarning>true</failOnWarning>
<failOnWarning>!${skipEnforce.pomcheck-warn-is-no-error}</failOnWarning>
<release>!${skipRelease}</release>
</CheckMavenCentral>
</rules>
</configuration>
Expand Down

0 comments on commit 3b43ff0

Please sign in to comment.