You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2014/04/07 00:07:14 UTC
svn commit: r1585356 - in /maven/jxr/trunk: maven-jxr-plugin/
maven-jxr-plugin/src/test/resources/unit/pom-test/src/main/java/maven/
maven-jxr-plugin/src/test/resources/unit/pom-test/src/test/java/maven/
maven-jxr/ maven-jxr/src/test/java/org/apache/ma...
Author: dennisl
Date: Sun Apr 6 22:07:13 2014
New Revision: 1585356
URL: http://svn.apache.org/r1585356
Log:
Add missing license headers, and a couple of excludes for RAT.
Modified:
maven/jxr/trunk/maven-jxr-plugin/pom.xml
maven/jxr/trunk/maven-jxr-plugin/src/test/resources/unit/pom-test/src/main/java/maven/App.java
maven/jxr/trunk/maven-jxr-plugin/src/test/resources/unit/pom-test/src/test/java/maven/AppTest.java
maven/jxr/trunk/maven-jxr/pom.xml
maven/jxr/trunk/maven-jxr/src/test/java/org/apache/maven/jxr/package-info.java
maven/jxr/trunk/maven-jxr/src/test/resources/exclude/ExcludedClass.java
maven/jxr/trunk/maven-jxr/src/test/resources/include/IncludedClass.java
maven/jxr/trunk/maven-jxr/src/test/resources/include/NotIncludedClass.java
Modified: maven/jxr/trunk/maven-jxr-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/pom.xml?rev=1585356&r1=1585355&r2=1585356&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/pom.xml (original)
+++ maven/jxr/trunk/maven-jxr-plugin/pom.xml Sun Apr 6 22:07:13 2014
@@ -56,6 +56,19 @@ under the License.
<forkMode>always</forkMode>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <!--
+ This file is in a format that doesn't support comments, so a
+ license header can not be applied.
+ -->
+ <exclude>src/test/resources/unit/default-configuration/javadoc-files/apidocs/package-list</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>
Modified: maven/jxr/trunk/maven-jxr-plugin/src/test/resources/unit/pom-test/src/main/java/maven/App.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/src/test/resources/unit/pom-test/src/main/java/maven/App.java?rev=1585356&r1=1585355&r2=1585356&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/src/test/resources/unit/pom-test/src/main/java/maven/App.java (original)
+++ maven/jxr/trunk/maven-jxr-plugin/src/test/resources/unit/pom-test/src/main/java/maven/App.java Sun Apr 6 22:07:13 2014
@@ -1,5 +1,24 @@
package maven;
+/*
+ * 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.
+ */
+
/**
* Hello world!
*
Modified: maven/jxr/trunk/maven-jxr-plugin/src/test/resources/unit/pom-test/src/test/java/maven/AppTest.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/src/test/resources/unit/pom-test/src/test/java/maven/AppTest.java?rev=1585356&r1=1585355&r2=1585356&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/src/test/resources/unit/pom-test/src/test/java/maven/AppTest.java (original)
+++ maven/jxr/trunk/maven-jxr-plugin/src/test/resources/unit/pom-test/src/test/java/maven/AppTest.java Sun Apr 6 22:07:13 2014
@@ -1,5 +1,24 @@
package maven;
+/*
+ * 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.
+ */
+
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
Modified: maven/jxr/trunk/maven-jxr/pom.xml
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr/pom.xml?rev=1585356&r1=1585355&r2=1585356&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr/pom.xml (original)
+++ maven/jxr/trunk/maven-jxr/pom.xml Sun Apr 6 22:07:13 2014
@@ -33,6 +33,31 @@ under the License.
<name>Maven JXR</name>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <!--
+ This file has been copied and is under another license which
+ allows redistribution and use in source and binary forms, under
+ certain circumstances.
+ -->
+ <exclude>src/main/java/org/apache/maven/jxr/JavaCodeTransform.java</exclude>
+ <!--
+ A test resource that must be empty.
+ -->
+ <exclude>src/test/resources/EmptyClass.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
<dependencies>
<dependency>
<groupId>junit</groupId>
Modified: maven/jxr/trunk/maven-jxr/src/test/java/org/apache/maven/jxr/package-info.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr/src/test/java/org/apache/maven/jxr/package-info.java?rev=1585356&r1=1585355&r2=1585356&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr/src/test/java/org/apache/maven/jxr/package-info.java (original)
+++ maven/jxr/trunk/maven-jxr/src/test/java/org/apache/maven/jxr/package-info.java Sun Apr 6 22:07:13 2014
@@ -1 +1,20 @@
-package org.apache.maven.jxr;
\ No newline at end of file
+package org.apache.maven.jxr;
+
+/*
+ * 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/jxr/trunk/maven-jxr/src/test/resources/exclude/ExcludedClass.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr/src/test/resources/exclude/ExcludedClass.java?rev=1585356&r1=1585355&r2=1585356&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr/src/test/resources/exclude/ExcludedClass.java (original)
+++ maven/jxr/trunk/maven-jxr/src/test/resources/exclude/ExcludedClass.java Sun Apr 6 22:07:13 2014
@@ -1,5 +1,24 @@
package exclude;
+/*
+ * 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.
+ */
+
/**
* An excluded class.
*/
Modified: maven/jxr/trunk/maven-jxr/src/test/resources/include/IncludedClass.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr/src/test/resources/include/IncludedClass.java?rev=1585356&r1=1585355&r2=1585356&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr/src/test/resources/include/IncludedClass.java (original)
+++ maven/jxr/trunk/maven-jxr/src/test/resources/include/IncludedClass.java Sun Apr 6 22:07:13 2014
@@ -1,5 +1,24 @@
package include;
+/*
+ * 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.
+ */
+
/**
* An included class.
*/
Modified: maven/jxr/trunk/maven-jxr/src/test/resources/include/NotIncludedClass.java
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr/src/test/resources/include/NotIncludedClass.java?rev=1585356&r1=1585355&r2=1585356&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr/src/test/resources/include/NotIncludedClass.java (original)
+++ maven/jxr/trunk/maven-jxr/src/test/resources/include/NotIncludedClass.java Sun Apr 6 22:07:13 2014
@@ -1,5 +1,24 @@
package include;
+/*
+ * 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.
+ */
+
/**
* A class that is not included.
*/