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:
Yuta HIGUCHI 2017-08-18 10:54:26 -07:00 committed by Yuta HIGUCHI
parent 9901073b8f
commit 002f39477c
2 changed files with 5 additions and 2 deletions

View File

@ -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>

View File

@ -0,0 +1,4 @@
/*
* Copyright 201[0-9].*
*
* Licensed under the Apache License, Version 2.0 \(the "License"\);