Skip to content

Commit

Permalink
Use gaol corresponding to com.mycila license plugin, not mojohaus
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Dec 16, 2024
1 parent 8456b4b commit 9b34954
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<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 http://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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.openrewrite.maven</groupId>
Expand Down Expand Up @@ -492,36 +493,21 @@
<!-- 4.6 is the last version supporting Java 8 -->
<version>4.6</version>
<configuration>
<defaultProperties>
<project.inceptionYear>2020</project.inceptionYear>
</defaultProperties>
<licenseSets>
<licenseSet>
<header>.mvn/licenseHeader.txt</header>
<excludes>
<exclude>pom.xml</exclude>
<exclude>suppressions.xml</exclude>
<exclude>**/README</exclude>
<exclude>**/README.md</exclude>
<exclude>**/.sdkmanrc</exclude>
<exclude>src/test/resources-its/**</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>src/main/resources/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
<executions>
<execution>
<id>first</id>
<goals>
<goal>update-file-header</goal>
</goals>
<phase>process-sources</phase>
<configuration>
<canUpdateDesciption>true</canUpdateDesciption>
<canUpdateCopyright>true</canUpdateCopyright>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.mycila</groupId>
Expand All @@ -530,6 +516,22 @@
<version>4.6</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>first</id>
<goals>
<goal>format</goal>
</goals>
<phase>process-sources</phase>
</execution>
<execution>
<id>second</id>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 9b34954

Please sign in to comment.