From 002f39477ca5c5a5ac3b19c01f1ab51a3e2c0610 Mon Sep 17 00:00:00 2001 From: Yuta HIGUCHI Date: Fri, 18 Aug 2017 10:54:26 -0700 Subject: [PATCH] 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 ... org.apache.maven.plugins maven-checkstyle-plugin 2.17 onos/apache2-java.header ... Change-Id: I9c1eded80caf2cf9447d00b9907591749a1904dd --- lib/pom.xml | 3 +-- tools/build/conf/src/main/resources/onos/apache2-java.header | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 tools/build/conf/src/main/resources/onos/apache2-java.header diff --git a/lib/pom.xml b/lib/pom.xml index 5759aa4493..af013eab85 100644 --- a/lib/pom.xml +++ b/lib/pom.xml @@ -844,8 +844,7 @@ onos/checkstyle-mvn.xml onos/suppressions.xml - onos/onos-java.header - + onos/onos-java.header false true true diff --git a/tools/build/conf/src/main/resources/onos/apache2-java.header b/tools/build/conf/src/main/resources/onos/apache2-java.header new file mode 100644 index 0000000000..8f2292c17a --- /dev/null +++ b/tools/build/conf/src/main/resources/onos/apache2-java.header @@ -0,0 +1,4 @@ +/* + * Copyright 201[0-9].* + * + * Licensed under the Apache License, Version 2.0 \(the "License"\);