Added license fixing as part of the compile
This commit is contained in:
14
spring-data-graph-parent/license-header.txt
Normal file
14
spring-data-graph-parent/license-header.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Copyright 2011 the original author or authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
@@ -366,6 +366,38 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.mycila.maven-license-plugin</groupId>
|
||||
<artifactId>maven-license-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>check-licenses</id>
|
||||
<!-- fail as early as possible -->
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>format</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<strictCheck>true</strictCheck>
|
||||
<header>${basedir}/../spring-data-graph-parent/license-header.txt</header>
|
||||
<includes>
|
||||
<include>src/**/*.java</include>
|
||||
<include>src/**/*.js</include>
|
||||
<include>src/**/*.scala</include>
|
||||
<!--<include>src/**/*.xml</include>-->
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/lib/*.js</exclude>
|
||||
<exclude>**/lib/**/*.js</exclude>
|
||||
<exclude>**/javascript/vend/**</exclude>
|
||||
</excludes>
|
||||
<mapping>
|
||||
<scala>JAVADOC_STYLE</scala>
|
||||
</mapping>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<pluginRepositories>
|
||||
|
||||
Reference in New Issue
Block a user