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
diff --git a/lib/pom.xml b/lib/pom.xml
index 5759aa4..af013ea 100644
--- a/lib/pom.xml
+++ b/lib/pom.xml
@@ -844,8 +844,7 @@
<configLocation>onos/checkstyle-mvn.xml</configLocation>
<suppressionsLocation>onos/suppressions.xml
</suppressionsLocation>
- <headerLocation>onos/onos-java.header
- </headerLocation>
+ <headerLocation>onos/onos-java.header</headerLocation>
<failsOnError>false</failsOnError>
<logViolationsToConsole>true</logViolationsToConsole>
<includeTestSourceDirectory>true</includeTestSourceDirectory>