mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-24 05:41:01 +02:00
RegExp header only requiring Apache 2
External app who want to declare Apache 2 license with their own name
can add following to their pom.xml
<build>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<configuration>
<headerLocation>onos/apache2-java.header</headerLocation>
</configuration>
</plugin>
...
</plugins>
</build>
Change-Id: I9c1eded80caf2cf9447d00b9907591749a1904dd
This commit is contained in:
parent
9901073b8f
commit
002f39477c
@ -844,8 +844,7 @@
|
|||||||
<configLocation>onos/checkstyle-mvn.xml</configLocation>
|
<configLocation>onos/checkstyle-mvn.xml</configLocation>
|
||||||
<suppressionsLocation>onos/suppressions.xml
|
<suppressionsLocation>onos/suppressions.xml
|
||||||
</suppressionsLocation>
|
</suppressionsLocation>
|
||||||
<headerLocation>onos/onos-java.header
|
<headerLocation>onos/onos-java.header</headerLocation>
|
||||||
</headerLocation>
|
|
||||||
<failsOnError>false</failsOnError>
|
<failsOnError>false</failsOnError>
|
||||||
<logViolationsToConsole>true</logViolationsToConsole>
|
<logViolationsToConsole>true</logViolationsToConsole>
|
||||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||||
|
|||||||
@ -0,0 +1,4 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 201[0-9].*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 \(the "License"\);
|
||||||
Loading…
x
Reference in New Issue
Block a user