Skip to content

Commit

Permalink
build: Drop old verifications now done by release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbasjes committed Mar 14, 2024
1 parent 0945da7 commit 05260a9
Showing 1 changed file with 1 addition and 44 deletions.
45 changes: 1 addition & 44 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -435,49 +435,6 @@
</build>
</profile>

<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<!-- Description: https://github.com/git-commit-id/git-commit-id-maven-plugin -->
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>${git-commit-id-maven-plugin.version}</version>
<executions>
<execution>
<id>Validate-Revision-Information</id>
<phase>validate</phase>
<goals>
<goal>validateRevision</goal>
</goals>
<configuration>
<validationProperties>
<!-- verify that the current repository is not dirty -->
<validationProperty>
<name>Don't try to release if something has not yet been committed.</name>
<!--suppress UnresolvedMavenProperty -->
<value>${git.dirty}</value>
<shouldMatchTo>false</shouldMatchTo>
</validationProperty>
<!-- verify that the current commit has a tag -->
<validationProperty>
<name>validating current commit has a tag</name>
<!--suppress UnresolvedMavenProperty -->
<value>${git.closest.tag.commit.count}</value>
<shouldMatchTo>0</shouldMatchTo>
</validationProperty>
</validationProperties>
<validationShouldFailIfNoMatch>true</validationShouldFailIfNoMatch>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
</profile>

<profile>
<id>deployToSonatype</id>
<properties>
Expand Down Expand Up @@ -773,7 +730,7 @@

<preparationProfiles>prepareRelease,packageForRelease</preparationProfiles>
<preparationGoals>clean verify</preparationGoals>
<releaseProfiles>packageForRelease,release,deployToSonatype</releaseProfiles>
<releaseProfiles>packageForRelease,deployToSonatype</releaseProfiles>
<pushChanges>false</pushChanges>
<remoteTagging>false</remoteTagging>
</configuration>
Expand Down

0 comments on commit 05260a9

Please sign in to comment.