You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2011/10/28 20:20:18 UTC

svn commit: r1190488 - in /maven/archetype/trunk: ./ archetype-common/src/main/mdo/ archetype-common/src/main/resources/ archetype-common/src/main/resources/org/apache/maven/archetype/creator/ archetype-models/archetype-catalog/src/site/apt/ archetype-...

Author: olamy
Date: Fri Oct 28 18:20:17 2011
New Revision: 1190488

URL: http://svn.apache.org/viewvc?rev=1190488&view=rev
Log:
enabled rat plugin and fix some missing license headers

Modified:
    maven/archetype/trunk/archetype-common/src/main/mdo/archetype.mdo
    maven/archetype/trunk/archetype-common/src/main/resources/archetype-catalog.xml
    maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/archetype.properties
    maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/goal.txt
    maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/pom-prototype.xml
    maven/archetype/trunk/archetype-models/archetype-catalog/src/site/apt/index.apt
    maven/archetype/trunk/archetype-models/archetype-descriptor/src/site/apt/index.apt
    maven/archetype/trunk/archetype-models/archetype-registry/src/site/apt/index.apt
    maven/archetype/trunk/archetype-samples/mojo/pom.xml
    maven/archetype/trunk/archetype-testing/archetype-proxy/src/main/webapp/WEB-INF/web.xml
    maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-clean-plugin/2.1.1/maven-clean-plugin-2.1.1.pom
    maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml
    maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-metadata.xml
    maven/archetype/trunk/archetype-testing/archetype-repository/src/main/webapp/WEB-INF/web.xml
    maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/creation/package.html
    maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/generation/package.html
    maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/package.html
    maven/archetype/trunk/maven-archetype-plugin/src/site/fml/faq.fml
    maven/archetype/trunk/pom.xml
    maven/archetype/trunk/src/site/apt/index.apt

Modified: maven/archetype/trunk/archetype-common/src/main/mdo/archetype.mdo
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-common/src/main/mdo/archetype.mdo?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-common/src/main/mdo/archetype.mdo (original)
+++ maven/archetype/trunk/archetype-common/src/main/mdo/archetype.mdo Fri Oct 28 18:20:17 2011
@@ -1,5 +1,25 @@
 <?xml version="1.0"?>
 
+<!--
+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.
+-->
+
+
  <!-- START SNIPPET: modello-model -->
 
 <model xmlns="http://modello.codehaus.org/MODELLO/1.4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Modified: maven/archetype/trunk/archetype-common/src/main/resources/archetype-catalog.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-common/src/main/resources/archetype-catalog.xml?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-common/src/main/resources/archetype-catalog.xml (original)
+++ maven/archetype/trunk/archetype-common/src/main/resources/archetype-catalog.xml Fri Oct 28 18:20:17 2011
@@ -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.
+-->
 <archetype-catalog xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0 http://maven.apache.org/xsd/archetype-catalog-1.0.0.xsd"
     xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

Modified: maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/archetype.properties
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/archetype.properties?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/archetype.properties (original)
+++ maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/archetype.properties Fri Oct 28 18:20:17 2011
@@ -1,3 +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.
+#
 groupId=archetype.it
 artifactId=basic
 version=0.1-SNAPSHOT

Modified: maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/goal.txt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/goal.txt?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/goal.txt (original)
+++ maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/goal.txt Fri Oct 28 18:20:17 2011
@@ -0,0 +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.
+#
\ No newline at end of file

Modified: maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/pom-prototype.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/pom-prototype.xml?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/pom-prototype.xml (original)
+++ maven/archetype/trunk/archetype-common/src/main/resources/org/apache/maven/archetype/creator/pom-prototype.xml Fri Oct 28 18:20:17 2011
@@ -1,5 +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 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/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 

Modified: maven/archetype/trunk/archetype-models/archetype-catalog/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-models/archetype-catalog/src/site/apt/index.apt?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-models/archetype-catalog/src/site/apt/index.apt (original)
+++ maven/archetype/trunk/archetype-models/archetype-catalog/src/site/apt/index.apt Fri Oct 28 18:20:17 2011
@@ -6,6 +6,26 @@
  2011-08-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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
 Maven Archetype Catalog Model
 
  This is strictly the model for Maven Archetype Catalog used to contain information about Archetypes so that users

Modified: maven/archetype/trunk/archetype-models/archetype-descriptor/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-models/archetype-descriptor/src/site/apt/index.apt?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-models/archetype-descriptor/src/site/apt/index.apt (original)
+++ maven/archetype/trunk/archetype-models/archetype-descriptor/src/site/apt/index.apt Fri Oct 28 18:20:17 2011
@@ -6,6 +6,26 @@
  2011-08-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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
 Maven Archetype Descriptor Model
 
  This is strictly the model for Maven Archetype Descriptor used to describe archetypes's metadata.

Modified: maven/archetype/trunk/archetype-models/archetype-registry/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-models/archetype-registry/src/site/apt/index.apt?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-models/archetype-registry/src/site/apt/index.apt (original)
+++ maven/archetype/trunk/archetype-models/archetype-registry/src/site/apt/index.apt Fri Oct 28 18:20:17 2011
@@ -6,6 +6,26 @@
  2011-08-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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
 Maven Archetype Registry Descriptor Model
 
  This is strictly the model for Maven Archetype Registry Descriptor.

Modified: maven/archetype/trunk/archetype-samples/mojo/pom.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-samples/mojo/pom.xml?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-samples/mojo/pom.xml (original)
+++ maven/archetype/trunk/archetype-samples/mojo/pom.xml Fri Oct 28 18:20:17 2011
@@ -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 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/xsd/maven-4.0.0.xsd">
 
   <modelVersion>4.0.0</modelVersion>

Modified: maven/archetype/trunk/archetype-testing/archetype-proxy/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-testing/archetype-proxy/src/main/webapp/WEB-INF/web.xml?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-testing/archetype-proxy/src/main/webapp/WEB-INF/web.xml (original)
+++ maven/archetype/trunk/archetype-testing/archetype-proxy/src/main/webapp/WEB-INF/web.xml Fri Oct 28 18:20:17 2011
@@ -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.
+-->
 <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
   <display-name>Archetype Proxy Web Application</display-name>
   <servlet>

Modified: maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-clean-plugin/2.1.1/maven-clean-plugin-2.1.1.pom
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-clean-plugin/2.1.1/maven-clean-plugin-2.1.1.pom?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-clean-plugin/2.1.1/maven-clean-plugin-2.1.1.pom (original)
+++ maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-clean-plugin/2.1.1/maven-clean-plugin-2.1.1.pom Fri Oct 28 18:20:17 2011
@@ -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>
   <parent>
     <artifactId>maven-plugins</artifactId>
     <groupId>org.apache.maven.plugins</groupId>

Modified: maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml (original)
+++ maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml Fri Oct 28 18:20:17 2011
@@ -1,4 +1,23 @@
-<?xml version="1.0"?><metadata>
+<?xml version="1.0"?>
+<!--
+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.
+-->
+<metadata>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-clean-plugin</artifactId>
   <versioning>

Modified: maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-metadata.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-metadata.xml?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-metadata.xml (original)
+++ maven/archetype/trunk/archetype-testing/archetype-repository/src/main/resources/org/apache/maven/plugins/maven-metadata.xml Fri Oct 28 18:20:17 2011
@@ -1,4 +1,23 @@
-<?xml version="1.0" encoding="UTF-8"?><metadata>
+<?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.
+-->
+<metadata>
   <plugins>
     <plugin>
       <name>Maven Clean Plugin</name>

Modified: maven/archetype/trunk/archetype-testing/archetype-repository/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/archetype-testing/archetype-repository/src/main/webapp/WEB-INF/web.xml?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/archetype-testing/archetype-repository/src/main/webapp/WEB-INF/web.xml (original)
+++ maven/archetype/trunk/archetype-testing/archetype-repository/src/main/webapp/WEB-INF/web.xml Fri Oct 28 18:20:17 2011
@@ -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.
+-->
 <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
   <display-name>Archetype Repository Web Application</display-name>
   <servlet>

Modified: maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/creation/package.html
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/creation/package.html?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/creation/package.html (original)
+++ maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/creation/package.html Fri Oct 28 18:20:17 2011
@@ -1,3 +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.
+-->
 <body>
   User Interaction for archetype creation from a project.
 </body>
\ No newline at end of file

Modified: maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/generation/package.html
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/generation/package.html?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/generation/package.html (original)
+++ maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/generation/package.html Fri Oct 28 18:20:17 2011
@@ -1,3 +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.
+-->
 <body>
   User Interaction for project creation from an archetype.
 </body>
\ No newline at end of file

Modified: maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/package.html
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/package.html?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/package.html (original)
+++ maven/archetype/trunk/maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/package.html Fri Oct 28 18:20:17 2011
@@ -1,3 +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.
+-->
 <body>
   User Interaction tooling for command-line use.
 </body>
\ No newline at end of file

Modified: maven/archetype/trunk/maven-archetype-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/maven-archetype-plugin/src/site/fml/faq.fml?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/maven-archetype-plugin/src/site/fml/faq.fml (original)
+++ maven/archetype/trunk/maven-archetype-plugin/src/site/fml/faq.fml Fri Oct 28 18:20:17 2011
@@ -1,5 +1,24 @@
 <?xml version="1.0"?>
 
+<!--
+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.
+-->
+
 <faqs id="FAQ" title="Frequently Asked Questions">
 
   <part id="General">

Modified: maven/archetype/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/pom.xml?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/pom.xml (original)
+++ maven/archetype/trunk/pom.xml Fri Oct 28 18:20:17 2011
@@ -367,6 +367,41 @@ under the License.
         </rules>
       </configuration>
       </plugin>-->
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>0.7</version>
+        <configuration>
+          <excludes>
+            <exclude>.gitignore</exclude>
+            <exclude>DEPENDENCIES</exclude>
+            <exclude>README.txt</exclude>
+            <exclude>*.sh</exclude>
+            <exclude>.git/**</exclude>
+            <exclude>.idea/**</exclude>
+            <exclude>**/generated-sources/**</exclude>
+            <exclude>**/.gitattributes</exclude>
+            <exclude>archetype-samples/**</exclude>
+            <exclude>**/*.sha1</exclude>
+            <!-- exclude some classes coming from dom4j -->
+            <exclude>**/Format.java</exclude>
+            <exclude>**/NamespaceStack.java</exclude>
+            <exclude>**/XMLOutputter.java</exclude>
+            <!-- disable test directories -->
+            <exclude>src/test/**</exclude>
+            <exclude>src/it/**</exclude>
+          </excludes>
+        </configuration>
+        <executions>
+          <execution>
+            <id>rat-check</id>
+            <goals>
+              <goal>check</goal>
+            </goals>
+            <phase>verify</phase>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 

Modified: maven/archetype/trunk/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/archetype/trunk/src/site/apt/index.apt?rev=1190488&r1=1190487&r2=1190488&view=diff
==============================================================================
--- maven/archetype/trunk/src/site/apt/index.apt (original)
+++ maven/archetype/trunk/src/site/apt/index.apt Fri Oct 28 18:20:17 2011
@@ -6,6 +6,26 @@
  2009-08-26
  ------
 
+~~ 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: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
 Maven Archetype
 
 * What is Archetype?