Skip to content

Commit cbf9fe0

Browse files
Update license-maven-plugin configuration format
1 parent a7ce426 commit cbf9fe0

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

python-frontend/pom.xml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<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/maven-v4_0_0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45

56
<parent>
@@ -190,18 +191,22 @@
190191
<plugin>
191192
<groupId>com.mycila</groupId>
192193
<artifactId>license-maven-plugin</artifactId>
193-
<!-- This plugin is already configured in parent pom, however we want a configuration specific to this project -->
194+
<!-- This plugin is already configured in parent pom, however we want a configuration specific to this project -->
194195
<configuration>
195-
<includes>
196-
<include>src/*/java/**/*.java</include>
197-
<include>typeshed_serializer/serializer/**/*.py</include>
198-
<include>typeshed_serializer/runners/**/*.py</include>
199-
<include>typeshed_serializer/tests/**/*.py</include>
200-
</includes>
201-
<excludes>
202-
<exclude>typeshed_serializer/serializer/proto_out/**</exclude>
203-
<exclude>src/test/resources/**</exclude>
204-
</excludes>
196+
<licenseSets>
197+
<licenseSet>
198+
<includes>
199+
<include>src/*/java/**/*.java</include>
200+
<include>typeshed_serializer/serializer/**/*.py</include>
201+
<include>typeshed_serializer/runners/**/*.py</include>
202+
<include>typeshed_serializer/tests/**/*.py</include>
203+
</includes>
204+
<excludes>
205+
<exclude>typeshed_serializer/serializer/proto_out/**</exclude>
206+
<exclude>src/test/resources/**</exclude>
207+
</excludes>
208+
</licenseSet>
209+
</licenseSets>
205210
</configuration>
206211
</plugin>
207212
</plugins>

0 commit comments

Comments
 (0)