Skip to content

Commit 86024b7

Browse files
committed
Update maven license plugin configuration
to address deprecation warnings.
1 parent a3b5dd8 commit 86024b7

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

pom.xml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,15 @@
145145
<artifactId>license-maven-plugin</artifactId>
146146
<version>${license-maven-plugin.version}</version>
147147
<configuration>
148-
<header>${project.basedir}/src/main/resources/license.header</header>
148+
<licenseSets>
149+
<licenseSet>
150+
<header>${project.basedir}/src/main/resources/license.header</header>
151+
<includes>
152+
<include>**/*.java</include>
153+
<include>**/*.xml</include>
154+
</includes>
155+
</licenseSet>
156+
</licenseSets>
149157
<strictCheck>true</strictCheck>
150158
<headerDefinitions>
151159
<headerDefinition>${project.basedir}/src/main/resources/java-header-style.xml</headerDefinition>
@@ -155,10 +163,6 @@
155163
<java>JAVA_CLASS_STYLE</java>
156164
<xml>XML_FILE_STYLE</xml>
157165
</mapping>
158-
<includes>
159-
<include>**/*.java</include>
160-
<include>**/*.xml</include>
161-
</includes>
162166
</configuration>
163167
<executions>
164168
<execution>

0 commit comments

Comments
 (0)