summaryrefslogtreecommitdiffstats
path: root/sandbox/rfeng/samples/creditws/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/rfeng/samples/creditws/pom.xml')
-rw-r--r--sandbox/rfeng/samples/creditws/pom.xml103
1 files changed, 103 insertions, 0 deletions
diff --git a/sandbox/rfeng/samples/creditws/pom.xml b/sandbox/rfeng/samples/creditws/pom.xml
new file mode 100644
index 0000000000..3f4c4b18b2
--- /dev/null
+++ b/sandbox/rfeng/samples/creditws/pom.xml
@@ -0,0 +1,103 @@
+<?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>
+ <groupId>org.apache.tuscany.samples.sca</groupId>
+ <artifactId>parent</artifactId>
+ <version>1.0-incubator-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>sample-creditws</artifactId>
+ <packaging>war</packaging>
+ <name>Tuscany credit Web Service Sample</name>
+ <description>A sample credit Web Service.</description>
+
+ <properties>
+ <ws.type>axis2</ws.type>
+ </properties>
+
+ <dependencies>
+
+ <!-- SCA API dependencies -->
+ <dependency>
+ <groupId>org.osoa</groupId>
+ <artifactId>sca-api-r0.95</artifactId>
+ <version>${tuscanyVersion}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <!-- Tuscany API dependencies -->
+ <dependency>
+ <groupId>org.apache.tuscany.sca.kernel</groupId>
+ <artifactId>tuscany-api</artifactId>
+ <version>${tuscanyVersion}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <!-- runtime is need for webapp integration to include jar -->
+ <dependency>
+ <groupId>org.apache.tuscany.sca.runtime</groupId>
+ <artifactId>webapp</artifactId>
+ <version>${tuscanyVersion}</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- Unit testing -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <finalName>credit</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.tuscany.sca.plugins</groupId>
+ <artifactId>tuscany-war-plugin</artifactId>
+ <version>${tuscanyVersion}</version>
+ <executions>
+ <execution>
+ <id>tuscany-war</id>
+ <goals>
+ <goal>tuscany-war</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <!-- Set to true to embed external jars for extensions in the WAR -->
+ <!-- Set to false to leave external jars for extensions to be resolved from maven repository -->
+ <loadExtensionDependencies>false</loadExtensionDependencies>
+ <extensions>
+ <dependency>
+ <groupId>org.apache.tuscany.sca.services.bindings</groupId>
+ <artifactId>axis2</artifactId>
+ <version>${tuscanyVersion}</version>
+ </dependency>
+ </extensions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>