Author: sagara
Date: Wed Jan 11 09:54:41 2012
New Revision: 1229944

URL: http://svn.apache.org/viewvc?rev=1229944&view=rev
Log:
Added new module for AXIS2-5229. 

Added:
    axis/axis2/java/core/trunk/modules/tool/archetype/
    axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/
    axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/pom.xml   
(with props)
    axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/
    axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml
   (with props)
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype.xml
   (with props)
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/pom.xml
   (with props)
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/java/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/java/SimpleService.java
   (with props)
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/modules/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/services/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/services/SimpleService/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/services/SimpleService/META-INF/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/services/SimpleService/META-INF/services.xml
   (with props)
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/test/
    
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/test/java/

Added: axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/pom.xml?rev=1229944&view=auto
==============================================================================
--- axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/pom.xml (added)
+++ axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/pom.xml Wed 
Jan 11 09:54:41 2012
@@ -0,0 +1,54 @@
+<?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>
+       <parent>
+               <groupId>org.apache.axis2</groupId>
+               <artifactId>axis2-parent</artifactId>
+               <version>1.7.0-SNAPSHOT</version>
+               <relativePath>../../../parent/pom.xml</relativePath>
+       </parent>
+       <groupId>org.apache.axis2.archetype</groupId>
+       <artifactId>quickstart</artifactId>
+       <version>1.7.0-SNAPSHOT</version>
+       <packaging>maven-archetype</packaging>
+       <name>Axis2 quickstart archetype </name>
+       <description>Maven archetype for creating a  Axis2 web Service 
</description>
+
+       <build>
+               <resources>
+                       <resource>
+                               <directory>src/main/resources</directory>
+                               <filtering>true</filtering>
+                       </resource>
+               </resources>
+
+               <extensions>
+                       <extension>
+                               <groupId>org.apache.maven.archetype</groupId>
+                               <artifactId>archetype-packaging</artifactId>
+                               <version>2.1</version>
+                       </extension>
+               </extensions>
+       </build>
+</project>
\ No newline at end of file

Propchange: axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=1229944&view=auto
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml
 (added)
+++ 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml
 Wed Jan 11 09:54:41 2012
@@ -0,0 +1,41 @@
+<?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-descriptor
+       
xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0
 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd";
+       name="axis2-quickstart"
+       
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0";
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
+       <fileSets>
+               <fileSet filtered="true" packaged="true" encoding="UTF-8">
+                       <directory>src/main/java</directory>
+                       <includes>
+                               <include>**/*.java</include>
+                       </includes>
+               </fileSet>
+               <fileSet filtered="true" encoding="UTF-8">
+                       <directory>src/main/resources</directory>
+                       <includes>
+                               <include>**/*.xml</include>
+                       </includes>
+               </fileSet>
+       </fileSets>
+</archetype-descriptor>
\ No newline at end of file

Propchange: 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype.xml?rev=1229944&view=auto
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype.xml
 (added)
+++ 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype.xml
 Wed Jan 11 09:54:41 2012
@@ -0,0 +1,31 @@
+<?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 name="Axis2 Quickstart">
+       <id>quickstart</id>
+       <sources>
+               <source>src/main/java/SimpleService.java</source>
+       </sources>
+       <resources>
+               
<resource>src/main/resources/services/SimpleService/META-INF/services.xml
+               </resource>
+       </resources>
+</archetype>
\ No newline at end of file

Propchange: 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/pom.xml?rev=1229944&view=auto
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/pom.xml
 (added)
+++ 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/pom.xml
 Wed Jan 11 09:54:41 2012
@@ -0,0 +1,91 @@
+<?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>$groupId</groupId>
+       <artifactId>$artifactId</artifactId>
+       <version>$version</version>
+       <name>Axis2 Quickstart Sample</name>
+
+       <properties>
+               <axis2.version>${project.version}</axis2.version>
+       </properties>
+
+       <dependencies>
+               <dependency>
+                       <groupId>org.apache.axis2</groupId>
+                       <artifactId>axis2-adb</artifactId>
+                       <version>${axis2.version}</version>
+                       <scope>provided</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.axis2</groupId>
+                       <artifactId>axis2-transport-http</artifactId>
+                       <version>${axis2.version}</version>
+                       <scope>provided</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.axis2</groupId>
+                       <artifactId>axis2-transport-local</artifactId>
+                       <version>${axis2.version}</version>
+                       <scope>provided</scope>
+               </dependency>
+       </dependencies>
+       <build>
+               <plugins>
+
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <configuration>
+                                       <source>1.5</source>
+                                       <target>1.5</target>
+                               </configuration>
+                       </plugin>
+
+                       <plugin>
+                               <groupId>org.apache.axis2</groupId>
+                               
<artifactId>simple-server-maven-plugin</artifactId>
+                               <version>${axis2.version}</version>
+                       </plugin>
+
+                       <plugin>
+                               <groupId>org.apache.axis2</groupId>
+                               <artifactId>axis2-aar-maven-plugin</artifactId>
+                               <version>${axis2.version}</version>
+                               <configuration>
+                                       
<servicesXmlFile>src/main/resources/services/SimpleService/META-INF/services.xml</servicesXmlFile>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>generates aar</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>aar</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
+</project>
\ No newline at end of file

Propchange: 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/java/SimpleService.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/java/SimpleService.java?rev=1229944&view=auto
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/java/SimpleService.java
 (added)
+++ 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/java/SimpleService.java
 Wed Jan 11 09:54:41 2012
@@ -0,0 +1,28 @@
+/*
+ * 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 ${package};
+
+public class SimpleService {
+       
+       public String  helloService(String msg){
+               return "Hello "+ msg;
+       }
+
+}

Propchange: 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/java/SimpleService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/services/SimpleService/META-INF/services.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/services/SimpleService/META-INF/services.xml?rev=1229944&view=auto
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/services/SimpleService/META-INF/services.xml
 (added)
+++ 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/services/SimpleService/META-INF/services.xml
 Wed Jan 11 09:54:41 2012
@@ -0,0 +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.
+  -->
+
+<serviceGroup>
+       <service name="SimpleService">
+               <parameter 
name="ServiceClass">${package}.SimpleService</parameter>
+               <operation name="helloService">
+                       <messageReceiver 
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
+               </operation>
+       </service>
+</serviceGroup>
\ No newline at end of file

Propchange: 
axis/axis2/java/core/trunk/modules/tool/archetype/quickstart/src/main/resources/archetype-resources/src/main/resources/services/SimpleService/META-INF/services.xml
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to