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 2013/09/14 21:08:58 UTC

svn commit: r1523295 - in /maven/plugins/trunk/maven-jar-plugin: ./ src/it/MJAR-30-excludes/src/main/resources/ src/it/MJAR-30-excludes/src/test/resources/ src/it/MJAR-70-no-recreation/ src/it/MJAR-70-recreation/ src/it/MJAR-75/ src/it/MJAR-80-exclude/...

Author: dennisl
Date: Sat Sep 14 19:08:58 2013
New Revision: 1523295

URL: http://svn.apache.org/r1523295
Log:
Add missing license headers where possible.
Configure explicit RAT exclusions for the files that cannot contain a license header.
This plugin now passes the checks done by RAT.

Modified:
    maven/plugins/trunk/maven-jar-plugin/pom.xml
    maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-30-excludes/src/main/resources/excluded-file.txt
    maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-30-excludes/src/test/resources/excluded-file.txt
    maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-no-recreation/invoker.properties
    maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-recreation/invoker.properties
    maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-75/invoker.properties
    maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-exclude/src/main/resources/excluded-file.txt
    maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-exclude/src/test/resources/excluded-file.txt
    maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-fullcontent/src/main/resources/excluded-file.txt
    maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-include/src/main/resources/excluded-file.txt
    maven/plugins/trunk/maven-jar-plugin/src/it/mjar-71-01/pom.xml
    maven/plugins/trunk/maven-jar-plugin/src/it/mjar-71-02/pom.xml
    maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess
    maven/plugins/trunk/maven-jar-plugin/src/test/resources/sign-0/pom.xml
    maven/plugins/trunk/maven-jar-plugin/src/test/resources/unit/jar-basic-test/pom.xml
    maven/plugins/trunk/maven-jar-plugin/src/test/resources/unit/jar-basic-test/src/main/java/TestCompile1.java

Modified: maven/plugins/trunk/maven-jar-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/pom.xml?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-jar-plugin/pom.xml Sat Sep 14 19:08:58 2013
@@ -167,6 +167,20 @@ under the License.
             </execution>
           </executions>
         </plugin>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <version>0.10</version>
+          <configuration>
+            <excludes>
+              <!--
+                The manifest specification does not describe any method for writing comments into the manifest.
+              -->
+              <exclude>src/it/mjar-71-01/src/main/resources/META-INF/MANIFEST.MF</exclude>
+              <exclude>src/it/mjar-71-02/src/main/resources/META-INF/MANIFEST.MF</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-30-excludes/src/main/resources/excluded-file.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-30-excludes/src/main/resources/excluded-file.txt?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-30-excludes/src/main/resources/excluded-file.txt (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-30-excludes/src/main/resources/excluded-file.txt Sat Sep 14 19:08:58 2013
@@ -1 +1,18 @@
+# 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.
+
 This file is excluded by the custom configuration, so shouldn't end up in the end product
\ No newline at end of file

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-30-excludes/src/test/resources/excluded-file.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-30-excludes/src/test/resources/excluded-file.txt?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-30-excludes/src/test/resources/excluded-file.txt (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-30-excludes/src/test/resources/excluded-file.txt Sat Sep 14 19:08:58 2013
@@ -1 +1,18 @@
+# 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.
+
 This file is excluded by the custom configuration, so shouldn't end up in the end product
\ No newline at end of file

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-no-recreation/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-no-recreation/invoker.properties?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-no-recreation/invoker.properties (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-no-recreation/invoker.properties Sat Sep 14 19:08:58 2013
@@ -1,3 +1,20 @@
+# 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.
+
 # NOTE: The first time, we run up to "integration-test" phase which includes the AntRun execution which saves the
 # timestamp of the first JAR for comparision with the timestamp of the JAR from the final "package" invocation.
 invoker.goals = clean integration-test package

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-recreation/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-recreation/invoker.properties?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-recreation/invoker.properties (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-70-recreation/invoker.properties Sat Sep 14 19:08:58 2013
@@ -1,3 +1,20 @@
+# 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.
+
 # NOTE: The first time, we run up to "integration-test" phase which includes the AntRun execution which saves the
 # timestamp of the first JAR for comparision with the timestamp of the JAR from the final "package" invocation.
 invoker.goals = clean integration-test package

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-75/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-75/invoker.properties?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-75/invoker.properties (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-75/invoker.properties Sat Sep 14 19:08:58 2013
@@ -1,3 +1,20 @@
+# 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.
+
 # NOTE: Only run up to "package" phase, i.e. don't install into local repo, to force Maven to resolve the client's
 # dependency on the test jar from the active project artifacts of the reactor. Using the proper artifact type for the
 # test jar is crucial for this resolution to succeed.

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-exclude/src/main/resources/excluded-file.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-exclude/src/main/resources/excluded-file.txt?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-exclude/src/main/resources/excluded-file.txt (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-exclude/src/main/resources/excluded-file.txt Sat Sep 14 19:08:58 2013
@@ -1 +1,18 @@
+# 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.
+
 This file is excluded by the custom configuration, so shouldn't end up in the end product
\ No newline at end of file

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-exclude/src/test/resources/excluded-file.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-exclude/src/test/resources/excluded-file.txt?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-exclude/src/test/resources/excluded-file.txt (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-exclude/src/test/resources/excluded-file.txt Sat Sep 14 19:08:58 2013
@@ -1 +1,18 @@
+# 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.
+
 This file is excluded by the custom configuration, so shouldn't end up in the end product
\ No newline at end of file

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-fullcontent/src/main/resources/excluded-file.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-fullcontent/src/main/resources/excluded-file.txt?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-fullcontent/src/main/resources/excluded-file.txt (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-fullcontent/src/main/resources/excluded-file.txt Sat Sep 14 19:08:58 2013
@@ -1 +1,18 @@
+# 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.
+
 This file is excluded by the custom configuration, so shouldn't end up in the end product
\ No newline at end of file

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-include/src/main/resources/excluded-file.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-include/src/main/resources/excluded-file.txt?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-include/src/main/resources/excluded-file.txt (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/MJAR-80-include/src/main/resources/excluded-file.txt Sat Sep 14 19:08:58 2013
@@ -1 +1,18 @@
+# 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.
+
 This file is excluded by the custom configuration, so shouldn't end up in the end product
\ No newline at end of file

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/mjar-71-01/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/mjar-71-01/pom.xml?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/mjar-71-01/pom.xml (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/mjar-71-01/pom.xml Sat Sep 14 19:08:58 2013
@@ -1,3 +1,22 @@
+<!--
+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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>

Modified: maven/plugins/trunk/maven-jar-plugin/src/it/mjar-71-02/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/it/mjar-71-02/pom.xml?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/it/mjar-71-02/pom.xml (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/it/mjar-71-02/pom.xml Sat Sep 14 19:08:58 2013
@@ -1,3 +1,22 @@
+<!--
+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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>

Modified: maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/site/resources/.htaccess Sat Sep 14 19:08:58 2013
@@ -1,2 +1,18 @@
+# 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.
 RedirectMatch permanent (.*)/examples/executable-jar.html http://maven.apache.org/shared/maven-archiver/examples/classpath.html
 RedirectMatch permanent (.*)/examples/manifest-file.html http://maven.apache.org/shared/maven-archiver/examples/manifestFile.html

Modified: maven/plugins/trunk/maven-jar-plugin/src/test/resources/sign-0/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/test/resources/sign-0/pom.xml?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/test/resources/sign-0/pom.xml (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/test/resources/sign-0/pom.xml Sat Sep 14 19:08:58 2013
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
 <!-- Test project which creates and signs a jar artifact -->
 <project>
   <modelVersion>4.0.0</modelVersion>

Modified: maven/plugins/trunk/maven-jar-plugin/src/test/resources/unit/jar-basic-test/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/test/resources/unit/jar-basic-test/pom.xml?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/test/resources/unit/jar-basic-test/pom.xml (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/test/resources/unit/jar-basic-test/pom.xml Sat Sep 14 19:08:58 2013
@@ -1,3 +1,22 @@
+<!--
+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>
   <build>
     <plugins>

Modified: maven/plugins/trunk/maven-jar-plugin/src/test/resources/unit/jar-basic-test/src/main/java/TestCompile1.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jar-plugin/src/test/resources/unit/jar-basic-test/src/main/java/TestCompile1.java?rev=1523295&r1=1523294&r2=1523295&view=diff
==============================================================================
--- maven/plugins/trunk/maven-jar-plugin/src/test/resources/unit/jar-basic-test/src/main/java/TestCompile1.java (original)
+++ maven/plugins/trunk/maven-jar-plugin/src/test/resources/unit/jar-basic-test/src/main/java/TestCompile1.java Sat Sep 14 19:08:58 2013
@@ -1,4 +1,21 @@
-
+/*
+ * 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.
+ */
 
 public class TestCompile1
 {