Skip to content

Commit

Permalink
Fix build with new parent
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed May 11, 2024
1 parent bddd580 commit 9c0161a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 25 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MojoHaus Build Helper Maven Plugin

[![The MIT License](https://img.shields.io/github/license/mojohaus/build-helper-maven-plugin.svg?label=License)](https://opensource.org/licenses/MIT)
[![Maven Central](https://img.shields.io/maven-central/v/org.codehaus.mojo/build-helper-maven-plugin.svg?label=Maven%20Central)](https://search.maven.org/artifact/org.codehaus.mojo/build-helper-maven-plugin)
[![Build Status](https://github.com/mojohaus/build-helper-maven-plugin/workflows/GitHub%20CI/badge.svg?branch=master)](https://github.com/mojohaus/build-helper-maven-plugin/actions/workflows/maven.yml?query=branch%3Amaster)
Expand All @@ -21,3 +21,4 @@ For publishing the site do the following:
cd target/checkout
mvn verify site site:stage scm-publish:publish-scm
```

36 changes: 12 additions & 24 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
</ciManagement>

<properties>
<recommendedJavaBuildVersion>11</recommendedJavaBuildVersion>
<scmpublish.content>${project.build.directory}/staging/build-helper-maven-plugin</scmpublish.content>
<project.build.outputTimestamp>2023-11-24T19:44:40Z</project.build.outputTimestamp>
</properties>
Expand Down Expand Up @@ -133,6 +132,18 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<violationIgnore>MagicNumber</violationIgnore>
</configuration>
</plugin>
</plugins>
</build>

<profiles>

<profile>
Expand Down Expand Up @@ -164,29 +175,6 @@
</build>
</profile>

<profile>
<id>java11+</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<build>
<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>
<violationIgnore>MagicNumber</violationIgnore>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<!-- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
<profile>
<id>only-eclipse</id>
Expand Down

0 comments on commit 9c0161a

Please sign in to comment.