summaryrefslogtreecommitdiffstats
path: root/sandbox/rfeng/samples/mortgage/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/rfeng/samples/mortgage/pom.xml')
-rw-r--r--sandbox/rfeng/samples/mortgage/pom.xml142
1 files changed, 142 insertions, 0 deletions
diff --git a/sandbox/rfeng/samples/mortgage/pom.xml b/sandbox/rfeng/samples/mortgage/pom.xml
new file mode 100644
index 0000000000..f64d39f120
--- /dev/null
+++ b/sandbox/rfeng/samples/mortgage/pom.xml
@@ -0,0 +1,142 @@
+<?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-mortgage</artifactId>
+ <packaging>jar</packaging>
+ <name>Tuscany Mortgage Sample</name>
+ <description>A sample Mortgage application made of several SCA components wired together.</description>
+
+ <properties>
+ <property name="tuscanyVersion">1.0-incubator-SNAPSHOT</property>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.osoa</groupId>
+ <artifactId>sca-api-r0.95</artifactId>
+ <version>${tuscanyVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>test</artifactId>
+ <version>${tuscanyVersion}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tuscany.sca.services.containers</groupId>
+ <artifactId>javascript</artifactId>
+ <version>${tuscanyVersion}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tuscany.sca.services.bindings</groupId>
+ <artifactId>axis2</artifactId>
+ <version>${tuscanyVersion}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tuscany.sca.services.databinding</groupId>
+ <artifactId>databinding-axiom</artifactId>
+ <version>${tuscanyVersion}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tuscany.samples.sca</groupId>
+ <artifactId>sample-creditws</artifactId>
+ <version>${tuscanyVersion}</version>
+ <type>war</type>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>mortgage.MortgageClient</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.cargo</groupId>
+ <artifactId>cargo-maven2-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>start-container</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>start</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>stop-container</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>stop</goal>
+ </goals>
+ </execution>
+ </executions>
+
+ <configuration>
+ <wait>false</wait>
+
+ <!-- Container configuration -->
+ <container>
+ <containerId>tomcat5x</containerId>
+ <home>C:/Apache/apache-tomcat-5.5.20</home>
+ <!--
+ <zipUrlInstaller>
+ <url>http://www.orionserver.com/distributions/orion2.0.5.zip</url>
+ <installDir>${java.io.tmpdir}/cargoinstalls</installDir>
+ </zipUrlInstaller>
+ -->
+
+ </container>
+
+ <!-- Configuration to use with the container -->
+ <configuration>
+ <home>${project.build.directory}/tomcat5x</home>
+ <deployables>
+ <deployable>
+ <groupId>org.apache.tuscany.samples.sca</groupId>
+ <artifactId>sample-creditws</artifactId>
+ <type>war</type>
+ </deployable>
+ </deployables>
+ </configuration>
+
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>