Skip to content

Commit

Permalink
Bump org.codehaus.mojo:mojo-parent from 78 to 80 (#284)
Browse files Browse the repository at this point in the history
* Bump org.codehaus.mojo:mojo-parent from 78 to 80

Bumps [org.codehaus.mojo:mojo-parent](https://github.com/mojohaus/mojo-parent) from 78 to 80.
- [Release notes](https://github.com/mojohaus/mojo-parent/releases)
- [Commits](https://github.com/mojohaus/mojo-parent/commits)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:mojo-parent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix checkstyle configuration

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Slawomir Jaranowski <[email protected]>
  • Loading branch information
dependabot[bot] and slawekjaranowski authored Mar 8, 2024
1 parent 50b3017 commit 79d41e2
Showing 1 changed file with 8 additions and 35 deletions.
43 changes: 8 additions & 35 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.codehaus.mojo</groupId>
<artifactId>mojo-parent</artifactId>
<version>78</version>
<version>80</version>
</parent>

<artifactId>extra-enforcer-rules</artifactId>
Expand Down Expand Up @@ -57,8 +57,7 @@
</scm>

<properties>
<!-- some of plugins requires JDK 11 -->
<recommendedJavaBuildVersion>11</recommendedJavaBuildVersion>
<checkstyle.violation.ignore>MagicNumber</checkstyle.violation.ignore>

<!-- override from parent pom, here we need more control -->
<maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version>
Expand Down Expand Up @@ -145,6 +144,10 @@
<groupId>org.eclipse.sisu</groupId>
<artifactId>sisu-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand All @@ -166,6 +169,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<configuration>
<streamLogs>false</streamLogs>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<showErrors>true</showErrors>
<settingsFile>src/it/settings.xml</settingsFile>
Expand Down Expand Up @@ -193,43 +198,11 @@
<goal>install</goal>
<goal>run</goal>
</goals>
<configuration>
<streamLogs>false</streamLogs>
<debug>true</debug>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>java11+</id>
<activation>
<jdk>[11,)</jdk>
</activation>

<properties>
<checkstyle.violation.ignore>MagicNumber</checkstyle.violation.ignore>
</properties>

<build>
<!--- newer versions of plugins requires JDK 11 -->
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>${checkstyle.spotless.config}</configLocation>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 79d41e2

Please sign in to comment.