You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by to...@apache.org on 2007/06/15 20:30:21 UTC

svn commit: r547762 - in /incubator/cxf/trunk: ./ maven-plugins/archetypes/ maven-plugins/archetypes/cxf-http-basic/ maven-plugins/archetypes/cxf-http-basic/src/main/resources/META-INF/maven/ maven-plugins/archetypes/cxf-http-basic/src/main/resources/a...

Author: tomeks
Date: Fri Jun 15 11:30:20 2007
New Revision: 547762

URL: http://svn.apache.org/viewvc?view=rev&rev=547762
Log:
+: added licence header
+: using /parent/pom.xml as archetype parent

Modified:
    incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/pom.xml
    incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/META-INF/maven/archetype.xml
    incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/pom.xml
    incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/java/HelloWorld.java
    incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/java/HelloWorldImpl.java
    incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
    incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
    incubator/cxf/trunk/maven-plugins/archetypes/pom.xml
    incubator/cxf/trunk/parent/pom.xml
    incubator/cxf/trunk/pom.xml

Modified: incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/pom.xml?view=diff&rev=547762&r1=547761&r2=547762
==============================================================================
--- incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/pom.xml (original)
+++ incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/pom.xml Fri Jun 15 11:30:20 2007
@@ -1,16 +1,38 @@
-<?xml version="1.0"?><project>
-  <parent>
-    <artifactId>maven-archetypes</artifactId>
-    <groupId>org.apache.cxf</groupId>
-    <version>2.0-incubator-SNAPSHOT</version>
-  </parent>
+<?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.
+-->
+<project>
+	<parent>
+		<groupId>org.apache.cxf</groupId>
+		<artifactId>cxf-parent</artifactId>
+		<version>2.0-incubator-SNAPSHOT</version>
+		<relativePath>../../../parent/pom.xml</relativePath>
+	</parent>	
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.cxf</groupId>
   <artifactId>cxf-http-basic</artifactId>
-  <name>Archetype - cxf-http-basic</name>
+  <name>Apache CXF Archetype - cxf-http-basic</name>
   <version>2.0-incubator-SNAPSHOT</version>
   <url>http://maven.apache.org</url>
-  
+  <properties>
+	  <maven.test.skip>true</maven.test.skip>
+    </properties>  
   <build>
   
  </build>

Modified: incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/META-INF/maven/archetype.xml?view=diff&rev=547762&r1=547761&r2=547762
==============================================================================
--- incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/META-INF/maven/archetype.xml (original)
+++ incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/META-INF/maven/archetype.xml Fri Jun 15 11:30:20 2007
@@ -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.
+-->
 <archetype>
   <id>cxf-spring-basic</id>
   <sources>

Modified: incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/pom.xml?view=diff&rev=547762&r1=547761&r2=547762
==============================================================================
--- incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/pom.xml Fri Jun 15 11:30:20 2007
@@ -1,3 +1,19 @@
+##    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: incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/java/HelloWorld.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/java/HelloWorld.java?view=diff&rev=547762&r1=547761&r2=547762
==============================================================================
--- incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/java/HelloWorld.java (original)
+++ incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/java/HelloWorld.java Fri Jun 15 11:30:20 2007
@@ -1,3 +1,19 @@
+##    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.
 package ${groupId};
 
 import javax.jws.WebService;

Modified: incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/java/HelloWorldImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/java/HelloWorldImpl.java?view=diff&rev=547762&r1=547761&r2=547762
==============================================================================
--- incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/java/HelloWorldImpl.java (original)
+++ incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/java/HelloWorldImpl.java Fri Jun 15 11:30:20 2007
@@ -1,3 +1,19 @@
+##    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.
 
 package ${groupId};
 

Modified: incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml?view=diff&rev=547762&r1=547761&r2=547762
==============================================================================
--- incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml (original)
+++ incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/beans.xml Fri Jun 15 11:30:20 2007
@@ -1,3 +1,19 @@
+##    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.
 <?xml version="1.0" encoding="UTF-8"?>
 <beans xmlns="http://www.springframework.org/schema/beans"
 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Modified: incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml?view=diff&rev=547762&r1=547761&r2=547762
==============================================================================
--- incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml (original)
+++ incubator/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml Fri Jun 15 11:30:20 2007
@@ -1,28 +1,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.
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
 <!DOCTYPE web-app
     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
     "http://java.sun.com/dtd/web-app_2_3.dtd">
 
-<!--
-	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: webxml -->
+
 <web-app>
 	<context-param>
 		<param-name>contextConfigLocation</param-name>
@@ -49,4 +47,3 @@
 		<url-pattern>/*</url-pattern>
 	</servlet-mapping>
 </web-app>
-<!-- END SNIPPET: webxml -->
\ No newline at end of file

Modified: incubator/cxf/trunk/maven-plugins/archetypes/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/archetypes/pom.xml?view=diff&rev=547762&r1=547761&r2=547762
==============================================================================
--- incubator/cxf/trunk/maven-plugins/archetypes/pom.xml (original)
+++ incubator/cxf/trunk/maven-plugins/archetypes/pom.xml Fri Jun 15 11:30:20 2007
@@ -1,11 +1,29 @@
 <?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/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.cxf</groupId>
-  <artifactId>maven-archetypes</artifactId>
+  <artifactId>archetypes</artifactId>
   <packaging>pom</packaging>
   <version>2.0-incubator-SNAPSHOT</version>
-  <name>maven-archetypes</name>
+  <name>Apache CXF Maven Archetypes</name>
   <url>http://maven.apache.org</url>
   <modules>
     <module>cxf-http-basic</module>

Modified: incubator/cxf/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/parent/pom.xml?view=diff&rev=547762&r1=547761&r2=547762
==============================================================================
--- incubator/cxf/trunk/parent/pom.xml (original)
+++ incubator/cxf/trunk/parent/pom.xml Fri Jun 15 11:30:20 2007
@@ -148,6 +148,7 @@
                                 <linkXRef>false</linkXRef>
                                 <suppressionsLocation>cxf-checkstyle-suppressions.xml</suppressionsLocation>
                                 <sourceDirectory>${basedir}/src</sourceDirectory>
+				<excludes>**/archetype-resources/**/*.java</excludes>
                             </configuration>
                             <goals>
                                 <goal>checkstyle</goal>

Modified: incubator/cxf/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/pom.xml?view=diff&rev=547762&r1=547761&r2=547762
==============================================================================
--- incubator/cxf/trunk/pom.xml (original)
+++ incubator/cxf/trunk/pom.xml Fri Jun 15 11:30:20 2007
@@ -136,6 +136,7 @@
         <module>rt</module>
         <module>integration</module>
         <module>systests</module>
+	<module>maven-plugins/archetypes</module>
     </modules>
 
     <profiles>