Skip to content

Commit

Permalink
exclude spotless:check goal for Eclipse / M2E
Browse files Browse the repository at this point in the history
  • Loading branch information
eidottermihi committed Jul 9, 2024
1 parent 2b641ea commit a1a0a80
Showing 1 changed file with 35 additions and 3 deletions.
38 changes: 35 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
THE SOFTWARE.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
Expand Down Expand Up @@ -199,7 +201,8 @@
application tests code -->
</includes>
<eclipse>
<file>itm-java-codeformat/java_codestyle_formatter.xml</file>
<file>
itm-java-codeformat/java_codestyle_formatter.xml</file>
</eclipse>
<trimTrailingWhitespace />
<endWithNewline />
Expand All @@ -214,6 +217,34 @@
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<versionRange>[2.43.0,)</versionRange>
<goals>
<goal>check</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
Expand All @@ -236,7 +267,8 @@
<NO_PROXY>${env.NO_PROXY}</NO_PROXY>
</env>
<tags>${env.IMAGE_TAGS}</tags>
<builder>paketobuildpacks/builder-jammy-base:latest</builder>
<builder>
paketobuildpacks/builder-jammy-base:latest</builder>
</image>
</configuration>
<executions>
Expand Down

0 comments on commit a1a0a80

Please sign in to comment.