# ignite-416: rat plugin - turn on full license text matching
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/5ffeeb16 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/5ffeeb16 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/5ffeeb16 Branch: refs/heads/ignite-141-2 Commit: 5ffeeb16b83d4a11a908c6c68a48ea94fcb34879 Parents: 13bd631 Author: Artem Shutak <ashu...@gridgain.com> Authored: Fri Mar 6 15:37:50 2015 +0300 Committer: Artem Shutak <ashu...@gridgain.com> Committed: Fri Mar 6 15:37:50 2015 +0300 ---------------------------------------------------------------------- modules/clients/src/test/keystore/generate.sh | 26 +++++++++-------- pom.xml | 34 +++++++++++++++++++++- 2 files changed, 47 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/5ffeeb16/modules/clients/src/test/keystore/generate.sh ---------------------------------------------------------------------- diff --git a/modules/clients/src/test/keystore/generate.sh b/modules/clients/src/test/keystore/generate.sh index 5f9ca98..9b1d6fa 100644 --- a/modules/clients/src/test/keystore/generate.sh +++ b/modules/clients/src/test/keystore/generate.sh @@ -1,17 +1,19 @@ #!/bin/sh # -# 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. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. # # Initialize openssl & CA. # http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/5ffeeb16/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 9c6ef75..b0747be 100644 --- a/pom.xml +++ b/pom.xml @@ -506,9 +506,39 @@ <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>0.11</version> + <configuration> + <addDefaultLicenseMatchers>false</addDefaultLicenseMatchers> + <licenses> + <license implementation="org.apache.rat.analysis.license.FullTextMatchingLicense"> + <licenseFamilyCategory>IAL20</licenseFamilyCategory> + <licenseFamilyName>Ignite Apache License 2.0</licenseFamilyName> + <fullText> + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You 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. + </fullText> + </license> + </licenses> + <licenseFamilies> + <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily"> + <familyName>Ignite Apache License 2.0</familyName> + </licenseFamily> + </licenseFamilies> + </configuration> <executions> <execution> - <phase>verify</phase> + <phase>validate</phase> <goals> <goal>check</goal> </goals> @@ -541,6 +571,7 @@ <exclude>src/test/java/org/apache/ignite/spi/deployment/uri/META-INF/ignite.brokenxml</exclude><!--test resource--> <exclude>src/test/java/org/apache/ignite/internal/processors/hadoop/books/*.txt</exclude><!--books examples--> <exclude>src/main/java/META-INF/services/javax.cache.spi.CachingProvider</exclude><!--cannot be changed--> + <exclude>src/main/java/org/jetbrains/annotations/*.java</exclude><!--copyright--> <exclude>src/main/resources/META-INF/services/org.apache.hadoop.mapreduce.protocol.ClientProtocolProvider</exclude><!--cannot be changed--> <exclude>modules/winservice/IgniteService.sln</exclude> <exclude>modules/winservice/IgniteService/IgniteService.csproj</exclude> @@ -551,6 +582,7 @@ <exclude>ipc/shmem/config.guess</exclude><!--own license--> <exclude>ipc/shmem/config.sub</exclude><!--own license--> <exclude>ipc/shmem/configure</exclude><!--own license--> + <exclude>ipc/shmem/config.h.in</exclude><!--auto generated--> <exclude>ipc/shmem/configure.ac</exclude><!----> <exclude>ipc/shmem/ltmain.sh</exclude><!--own license--> <exclude>ipc/shmem/install-sh</exclude><!--own license-->