Author: dennisl Date: Thu Sep 11 22:06:20 2014 New Revision: 1624407 URL: http://svn.apache.org/r1624407 Log: Add missing license headers. Add excludes to the Apache Rat Plugin configuration for the files that cannot include a license header, and explain why.
Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-126/res1/src/main/resources/file1.txt maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-126/res2/src/main/resources/file2.txt maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-path-test/artifact-doclet/umlgraph/UMLGraph-bis/2.1/UMLGraph-bis-2.1.pom maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-test/artifact-doclet/umlgraph/UMLGraph/2.1/UMLGraph-2.1.pom maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/taglet-test/artifact-taglet/org/tullmann/taglets/1.0/taglets-1.0.pom Modified: maven/plugins/trunk/maven-javadoc-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/pom.xml?rev=1624407&r1=1624406&r2=1624407&view=diff ============================================================================== --- maven/plugins/trunk/maven-javadoc-plugin/pom.xml (original) +++ maven/plugins/trunk/maven-javadoc-plugin/pom.xml Thu Sep 11 22:06:20 2014 @@ -286,6 +286,24 @@ under the License. <artifactId>maven-shade-plugin</artifactId> <version>1.7.1</version> </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <!-- Photoshop files are binary --> + <exclude>**/*.psd</exclude> + <!-- Checksum files cannot contain a license header --> + <exclude>**/*.sha1</exclude> + <!-- Javadoc package list files cannot contain a license header --> + <exclude>**/*package-list*</exclude> + <!-- This file is used to patch the generated Javadoc html files --> + <exclude>src/main/resources/org/apache/maven/plugin/javadoc/frame-injection-fix.txt</exclude> + <!-- Original POM file tha is used in a repository --> + <exclude>src/test/resources/unit/test-javadoc-test/junit/junit/3.8.1/junit-3.8.1.pom</exclude> + </excludes> + </configuration> + </plugin> </plugins> </pluginManagement> <plugins> Modified: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-126/res1/src/main/resources/file1.txt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-126/res1/src/main/resources/file1.txt?rev=1624407&r1=1624406&r2=1624407&view=diff ============================================================================== --- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-126/res1/src/main/resources/file1.txt (original) +++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-126/res1/src/main/resources/file1.txt Thu Sep 11 22:06:20 2014 @@ -0,0 +1,16 @@ +# 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. Modified: maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-126/res2/src/main/resources/file2.txt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-126/res2/src/main/resources/file2.txt?rev=1624407&r1=1624406&r2=1624407&view=diff ============================================================================== --- maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-126/res2/src/main/resources/file2.txt (original) +++ maven/plugins/trunk/maven-javadoc-plugin/src/it/MJAVADOC-126/res2/src/main/resources/file2.txt Thu Sep 11 22:06:20 2014 @@ -0,0 +1,16 @@ +# 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. Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-path-test/artifact-doclet/umlgraph/UMLGraph-bis/2.1/UMLGraph-bis-2.1.pom URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-path-test/artifact-doclet/umlgraph/UMLGraph-bis/2.1/UMLGraph-bis-2.1.pom?rev=1624407&r1=1624406&r2=1624407&view=diff ============================================================================== --- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-path-test/artifact-doclet/umlgraph/UMLGraph-bis/2.1/UMLGraph-bis-2.1.pom (original) +++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-path-test/artifact-doclet/umlgraph/UMLGraph-bis/2.1/UMLGraph-bis-2.1.pom Thu Sep 11 22:06:20 2014 @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- +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. +--> <project> <modelVersion>4.0.0</modelVersion> <groupId>umlgraph</groupId> Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-test/artifact-doclet/umlgraph/UMLGraph/2.1/UMLGraph-2.1.pom URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-test/artifact-doclet/umlgraph/UMLGraph/2.1/UMLGraph-2.1.pom?rev=1624407&r1=1624406&r2=1624407&view=diff ============================================================================== --- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-test/artifact-doclet/umlgraph/UMLGraph/2.1/UMLGraph-2.1.pom (original) +++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/doclet-test/artifact-doclet/umlgraph/UMLGraph/2.1/UMLGraph-2.1.pom Thu Sep 11 22:06:20 2014 @@ -1,4 +1,23 @@ -<?xml version="1.0" encoding="UTF-8"?><project> +<?xml version="1.0" encoding="UTF-8"?> +<!-- +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. +--> +<project> <modelVersion>4.0.0</modelVersion> <groupId>umlgraph</groupId> <artifactId>UMLGraph</artifactId> Modified: maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/taglet-test/artifact-taglet/org/tullmann/taglets/1.0/taglets-1.0.pom URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/taglet-test/artifact-taglet/org/tullmann/taglets/1.0/taglets-1.0.pom?rev=1624407&r1=1624406&r2=1624407&view=diff ============================================================================== --- maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/taglet-test/artifact-taglet/org/tullmann/taglets/1.0/taglets-1.0.pom (original) +++ maven/plugins/trunk/maven-javadoc-plugin/src/test/resources/unit/taglet-test/artifact-taglet/org/tullmann/taglets/1.0/taglets-1.0.pom Thu Sep 11 22:06:20 2014 @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- +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. +--> <project> <modelVersion>4.0.0</modelVersion> <groupId>org.tullmann</groupId>