simplify license header checking
Original commit: elastic/x-pack-elasticsearch@d48ce3f7bf
This commit is contained in:
parent
8ea126de90
commit
6e557b82da
30
pom.xml
30
pom.xml
|
@ -23,36 +23,10 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<license.basedir combine.self="override">${project.basedir}</license.basedir>
|
<license.basedir combine.self="override">${project.basedir}</license.basedir>
|
||||||
|
<elasticsearch.license.header>${license.basedir}/dev-tools/license/elasticsearch_license_header.txt</elasticsearch.license.header>
|
||||||
|
<elasticsearch.license.headerDefinition>${license.basedir}/dev-tools/license/license_header_definition.xml</elasticsearch.license.headerDefinition>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>com.mycila</groupId>
|
|
||||||
<artifactId>license-maven-plugin</artifactId>
|
|
||||||
<version>2.5</version>
|
|
||||||
<configuration>
|
|
||||||
<header>${license.basedir}/dev-tools/license/elasticsearch_license_header.txt</header>
|
|
||||||
<headerDefinitions>
|
|
||||||
<headerDefinition>${license.basedir}/dev-tools/license/license_header_definition.xml</headerDefinition>
|
|
||||||
</headerDefinitions>
|
|
||||||
<includes>
|
|
||||||
<include>**/src/main/java/org/elasticsearch/**/*.java</include>
|
|
||||||
<include>**/src/test/java/org/elasticsearch/**/*.java</include>
|
|
||||||
</includes>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>compile</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>check</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>oss-snapshots</id>
|
<id>oss-snapshots</id>
|
||||||
|
|
Loading…
Reference in New Issue