cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1173644 - in /cxf/trunk/distribution/src/main/release/samples: groovy_spring_support/ groovy_spring_support/src/demo/spring/ groovy_spring_support/src/demo/spring/client/ groovy_spring_support/src/demo/spring/servlet/ groovy_spring_support...
Date Wed, 21 Sep 2011 13:46:17 GMT
Author: ningjiang
Date: Wed Sep 21 13:46:16 2011
New Revision: 1173644

URL: http://svn.apache.org/viewvc?rev=1173644&view=rev
Log:
CXF-3690, CXF-3817 added pom support on ruby_spring_support and groovy_spring_support samples

Added:
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/pom.xml   (with
props)
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorld.groovy
      - copied, changed from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorld.groovy
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorld.java
  (contents, props changed)
      - copied, changed from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorld.java
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorldImpl.groovy
      - copied, changed from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorldImpl.groovy
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/Client.java
  (contents, props changed)
      - copied, changed from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/client-beans.xml
  (contents, props changed)
      - copied, changed from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/client-beans.xml
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/servlet/
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/servlet/Server.java
  (contents, props changed)
      - copied, changed from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/servlet/Server.java
    cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/pom.xml   (with props)
Removed:
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorld.groovy
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorld.java
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorldImpl.groovy
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/client-beans.xml
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/servlet/Server.java
Modified:
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/README.txt
    cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/build.xml
    cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/README.txt

Modified: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/README.txt?rev=1173644&r1=1173643&r2=1173644&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/README.txt Wed Sep
21 13:46:16 2011
@@ -42,7 +42,6 @@ ant get.dep
 
 
 Building and running the demo using Ant
-
 ---------------------------------------
 
 
@@ -57,4 +56,16 @@ Using either UNIX or Windows:
 
 
 To remove the code generated from the WSDL file and the .class
-files, run "ant clean".
\ No newline at end of file
+files, run "ant clean".
+
+Building and running the demo using Maven
+-----------------------------------------
+
+From the base directory of this example (i.e., where this README file is
+located), the Maven pom.xml file can be used to build and run the demo.
+
+Using either UNIX or Windows:
+
+  mvn -Pserver  (from one command line window)
+  mvn -Pclient  (from a second command line window)
+

Modified: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/build.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/build.xml?rev=1173644&r1=1173643&r2=1173644&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/build.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/build.xml Wed Sep
21 13:46:16 2011
@@ -46,7 +46,7 @@
 
     <target name="server" description="run demo server" depends="build">
         <copy todir="build/classes/demo/spring">
-            <fileset dir="src/demo/spring" excludes="**/*.java"/>
+            <fileset dir="src/main/java/demo/spring" excludes="**/*.java"/>
         </copy>
         <cxfrun classname="demo.spring.servlet.Server"/>
     </target>

Added: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/pom.xml?rev=1173644&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/pom.xml (added)
+++ cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/pom.xml Wed Sep
21 13:46:16 2011
@@ -0,0 +1,160 @@
+<!--
+  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.samples</groupId>
+    <artifactId>groovy_spring_support</artifactId>
+    <packaging>war</packaging>
+    <name>Spring HTTP Servlet demo with groovy support</name>
+    <description>Spring HTTP Servlet demo with groovy support</description>
+    <version>2.5.0-SNAPSHOT</version>
+
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.5.0-SNAPSHOT</version>
+    </parent>
+    <properties>
+        <cxf.version>${project.version}</cxf.version>
+        <cxf.release.base>${basedir}/../..</cxf.release.base>
+    </properties>
+    <build>
+        <defaultGoal>install</defaultGoal>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <artifactId>maven-war-plugin</artifactId>
+                    <version>2.1</version>
+                    <configuration>
+                        <webXml>${cxf.release.base}/etc/web.xml</webXml>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>prepare-transform</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <copy file="${basedir}/src/main/java/demo/spring/HelloWorldImpl.groovy"
todir="${basedir}/target/classes/demo/spring" />
+                                <copy file="${basedir}/src/main/java/demo/spring/HelloWorld.groovy"
todir="${basedir}/target/classes/demo/spring" />
+                                <copy file="${basedir}/src/main/java/demo/spring/client/client-beans.xml"
todir="${basedir}/target/classes/demo/spring/client" />
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    <profiles>
+        <profile>
+            <id>server</id>
+            <build>
+                <defaultGoal>test</defaultGoal>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>java</goal>
+                                </goals>
+                                <configuration>
+                                    <mainClass>demo.spring.servlet.Server</mainClass>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>client</id>
+            <build>
+                <defaultGoal>test</defaultGoal>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>java</goal>
+                                </goals>
+                                <configuration>
+                                    <mainClass>demo.spring.client.Client</mainClass>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-frontend-jaxws</artifactId>
+            <version>2.5.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-transports-http</artifactId>
+            <version>2.5.0-SNAPSHOT</version>
+        </dependency>
+        <!-- Jetty is needed if you're using the CXFServlet -->
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-transports-http-jetty</artifactId>
+            <version>2.5.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.codehaus.groovy</groupId>
+            <artifactId>groovy</artifactId>
+            <version>1.7.5</version>
+        </dependency>
+        <dependency>
+            <groupId>antlr</groupId>
+            <artifactId>antlr</artifactId>
+            <version>2.7.6</version>
+        </dependency> 
+        <dependency>
+            <groupId>org.eclipse.jetty</groupId>
+            <artifactId>jetty-webapp</artifactId>
+        </dependency>
+    </dependencies>
+</project>

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Copied: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorld.groovy
(from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorld.groovy)
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorld.groovy?p2=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorld.groovy&p1=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorld.groovy&r1=1173537&r2=1173644&rev=1173644&view=diff
==============================================================================
    (empty)

Copied: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorld.java
(from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorld.java)
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorld.java?p2=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorld.java&p1=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorld.java&r1=1173537&r2=1173644&rev=1173644&view=diff
==============================================================================
    (empty)

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorld.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorld.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Copied: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorldImpl.groovy
(from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorldImpl.groovy)
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorldImpl.groovy?p2=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/HelloWorldImpl.groovy&p1=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/HelloWorldImpl.groovy&r1=1173537&r2=1173644&rev=1173644&view=diff
==============================================================================
    (empty)

Copied: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/Client.java
(from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/Client.java)
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/Client.java?p2=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/Client.java&p1=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/Client.java&r1=1173537&r2=1173644&rev=1173644&view=diff
==============================================================================
    (empty)

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/Client.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/Client.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Copied: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/client-beans.xml
(from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/client-beans.xml)
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/client-beans.xml?p2=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/client-beans.xml&p1=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/client/client-beans.xml&r1=1173537&r2=1173644&rev=1173644&view=diff
==============================================================================
    (empty)

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/client-beans.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/client-beans.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/client/client-beans.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Copied: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/servlet/Server.java
(from r1173537, cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/servlet/Server.java)
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/servlet/Server.java?p2=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/servlet/Server.java&p1=cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/demo/spring/servlet/Server.java&r1=1173537&r2=1173644&rev=1173644&view=diff
==============================================================================
    (empty)

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/servlet/Server.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/groovy_spring_support/src/main/java/demo/spring/servlet/Server.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/README.txt?rev=1173644&r1=1173643&r2=1173644&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/README.txt Wed Sep
21 13:46:16 2011
@@ -55,4 +55,17 @@ Using either UNIX or Windows:
 
 
 To remove the code generated from the WSDL file and the .class
-files, run "ant clean".
\ No newline at end of file
+files, run "ant clean".
+
+Building and running the demo using Maven
+
+-----------------------------------------
+
+From the base directory of this example (i.e., where this README file is
+located), the Maven pom.xml file can be used to build and run the demo.
+
+Using either UNIX or Windows:
+
+  mvn -Pserver  (from one command line window)
+  mvn -Pclient  (from a second command line window)
+

Added: cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/pom.xml?rev=1173644&view=auto
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/pom.xml (added)
+++ cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/pom.xml Wed Sep 21
13:46:16 2011
@@ -0,0 +1,159 @@
+<!--
+  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.samples</groupId>
+    <artifactId>ruby_spring_support</artifactId>
+    <packaging>war</packaging>
+    <name>Spring HTTP Servlet demo with ruby support</name>
+    <description>Spring HTTP Servlet demo with ruby support</description>
+    <version>2.5.0-SNAPSHOT</version>
+
+    <parent>
+        <groupId>org.apache.cxf.samples</groupId>
+        <artifactId>cxf-samples</artifactId>
+        <version>2.5.0-SNAPSHOT</version>
+    </parent>
+    <properties>
+        <cxf.version>${project.version}</cxf.version>
+        <cxf.release.base>${basedir}/../..</cxf.release.base>
+    </properties>
+    <build>
+        <defaultGoal>install</defaultGoal>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <artifactId>maven-war-plugin</artifactId>
+                    <version>2.1</version>
+                    <configuration>
+                        <webXml>${cxf.release.base}/etc/web.xml</webXml>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>prepare-transform</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <copy file="${basedir}/src/main/java/demo/spring/HelloWorldImpl.rb"
todir="${basedir}/target/classes/demo/spring" />
+                                <copy file="${basedir}/src/main/java/demo/spring/client/client-beans.xml"
todir="${basedir}/target/classes/demo/spring/client" />
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    <profiles>
+        <profile>
+            <id>server</id>
+            <build>
+                <defaultGoal>test</defaultGoal>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>java</goal>
+                                </goals>
+                                <configuration>
+                                    <mainClass>demo.spring.servlet.Server</mainClass>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>client</id>
+            <build>
+                <defaultGoal>test</defaultGoal>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>java</goal>
+                                </goals>
+                                <configuration>
+                                    <mainClass>demo.spring.client.Client</mainClass>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-frontend-jaxws</artifactId>
+            <version>2.5.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-transports-http</artifactId>
+            <version>2.5.0-SNAPSHOT</version>
+        </dependency>
+        <!-- Jetty is needed if you're using the CXFServlet -->
+        <dependency>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-rt-transports-http-jetty</artifactId>
+            <version>2.5.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.jruby</groupId>
+            <artifactId>jruby</artifactId>
+            <version>1.5.5</version>
+        </dependency>
+        <dependency>
+            <groupId>cglib</groupId>
+            <artifactId>cglib-nodep</artifactId>
+            <version>2.1_3</version>
+        </dependency> 
+        <dependency>
+            <groupId>org.eclipse.jetty</groupId>
+            <artifactId>jetty-webapp</artifactId>
+        </dependency>
+    </dependencies>
+</project>

Propchange: cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/distribution/src/main/release/samples/ruby_spring_support/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message