summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/webapps/helloworld/pom.xml
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-04-23 11:09:39 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-04-23 11:09:39 +0000
commit819a77513852144dd60117dbf3e40cb9f110c23c (patch)
tree99344cf5df085b7e13d282eee040e2bf3efc872c /sca-java-2.x/trunk/samples/webapps/helloworld/pom.xml
parentf2f3de55f8833f6458ea8396fe3df749fd3c54e3 (diff)
Update to embedded helloworld sample contribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@937250 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/webapps/helloworld/pom.xml')
-rw-r--r--sca-java-2.x/trunk/samples/webapps/helloworld/pom.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/webapps/helloworld/pom.xml b/sca-java-2.x/trunk/samples/webapps/helloworld/pom.xml
index 9c8c28cf64..d43e0a949a 100644
--- a/sca-java-2.x/trunk/samples/webapps/helloworld/pom.xml
+++ b/sca-java-2.x/trunk/samples/webapps/helloworld/pom.xml
@@ -43,6 +43,32 @@
<build>
<finalName>helloworld</finalName>
<plugins>
+
+ <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>
+ <artifactItem>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>sample-helloworld</artifactId>
+ <version>${pom.version}</version>
+ <!-- should really go in the target folder but i can't get jetty:run to work using that -->
+ <outputDirectory>src/main/webapp/embeddedContributions</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>