summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/applications/eightball-demo/eightball-webapp/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk/samples/applications/eightball-demo/eightball-webapp/pom.xml')
-rw-r--r--sca-java-2.x/trunk/samples/applications/eightball-demo/eightball-webapp/pom.xml47
1 files changed, 37 insertions, 10 deletions
diff --git a/sca-java-2.x/trunk/samples/applications/eightball-demo/eightball-webapp/pom.xml b/sca-java-2.x/trunk/samples/applications/eightball-demo/eightball-webapp/pom.xml
index 6287de1a7e..eeabfc5fa4 100644
--- a/sca-java-2.x/trunk/samples/applications/eightball-demo/eightball-webapp/pom.xml
+++ b/sca-java-2.x/trunk/samples/applications/eightball-demo/eightball-webapp/pom.xml
@@ -28,21 +28,12 @@
<name>quickstart</name>
<dependencies>
- <!-- TUSCANY DEPENDENCIES -->
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca-api</artifactId>
+ <artifactId>tuscany-base-runtime</artifactId>
<version>${tuscany.version}</version>
- <scope>provided</scope>
</dependency>
- <!-- dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-implementation-web-runtime</artifactId>
- <version>${tuscany.version}</version>
- <scope>runtime</scope>
- </dependency -->
-
<!-- JUNIT DEPENDENCY FOR TESTING -->
<dependency>
<groupId>junit</groupId>
@@ -126,6 +117,42 @@
<downloadSources>true</downloadSources>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <!-- these should really go in the target folder but i can't get jetty:run to work using that -->
+ <artifactItem>
+ <groupId>demo</groupId>
+ <artifactId>eightball</artifactId>
+ <version>${pom.version}</version>
+ <outputDirectory>src/main/webapp/WEB-INF/sca-contributions</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>demo</groupId>
+ <artifactId>eightball-process</artifactId>
+ <version>${pom.version}</version>
+ <outputDirectory>src/main/webapp/WEB-INF/sca-contributions</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>demo</groupId>
+ <artifactId>translator</artifactId>
+ <version>${pom.version}</version>
+ <outputDirectory>src/main/webapp/WEB-INF/sca-contributions</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<properties>