Skip to content

Commit

Permalink
Run maven-changes-plugin validation on verify
Browse files Browse the repository at this point in the history
- Remove requirement from maven-changes-plugin 3.0.0-M1 for the "dev"
attribute
- See https://maven.apache.org/plugins/maven-changes-plugin/examples/changes-file-validation.html
  • Loading branch information
garydgregory committed Jan 3, 2025
1 parent 378a289 commit 56243e3
Show file tree
Hide file tree
Showing 2 changed files with 234 additions and 218 deletions.
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,18 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>${commons.changes.version}</version>
<executions>
<execution>
<id>validate-changes</id>
<phase>verify</phase>
<goals>
<goal>changes-validate</goal>
</goals>
<configuration>
<failOnError>true</failOnError>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
Expand Down Expand Up @@ -1055,6 +1067,10 @@
<groupId>org.spdx</groupId>
<artifactId>spdx-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
Loading

0 comments on commit 56243e3

Please sign in to comment.