summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/calculator-osgi/pom.xml
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-01-14 00:32:52 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-01-14 00:32:52 +0000
commit7d8ee265f841de05e8e4bb5a1bd2b79a69c55b03 (patch)
tree2bc4cd91a742d973c2080e3332edf77153124c7d /java/sca/samples/calculator-osgi/pom.xml
parente0f38b2db6826c17d8e722939037261270f5bcd8 (diff)
Update the calculator-osgi example
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@734283 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/calculator-osgi/pom.xml')
-rw-r--r--java/sca/samples/calculator-osgi/pom.xml63
1 files changed, 42 insertions, 21 deletions
diff --git a/java/sca/samples/calculator-osgi/pom.xml b/java/sca/samples/calculator-osgi/pom.xml
index d0c0c00e83..4947a07438 100644
--- a/java/sca/samples/calculator-osgi/pom.xml
+++ b/java/sca/samples/calculator-osgi/pom.xml
@@ -27,12 +27,12 @@
</parent>
<artifactId>sample-calculator-osgi</artifactId>
<name>Apache Tuscany SCA Calculator OSGi Sample</name>
-
<repositories>
- <repository>
- <id>apache.incubator</id>
- <url>http://people.apache.org/repo/m2-incubating-repository</url>
- </repository>
+ <repository>
+ <id>apache.incubator</id>
+ <url>http://people.apache.org/repo/m2-incubating-repository
+ </url>
+ </repository>
</repositories>
<dependencies>
@@ -62,6 +62,13 @@
<version>2.0-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.eclipse</groupId>
+ <artifactId>osgi</artifactId>
+ <version>3.3.0-v20070530</version>
+ <scope>compile</scope>
+ </dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
@@ -69,20 +76,6 @@
<version>2.0-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-node-launcher-equinox</artifactId>
- <version>2.0-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version> <!-- To be compatible with Jetty 6 -->
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>junit</groupId>
@@ -90,10 +83,38 @@
<version>4.5</version>
<scope>test</scope>
</dependency>
-
</dependencies>
<build>
- <finalName>${artifactId}</finalName>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <version>2.5.1</version>
+ <configuration>
+ <buildcommands>
+ <buildcommand>org.eclipse.pde.ManifestBuilder</buildcommand>
+ <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
+ </buildcommands>
+ <projectnatures>
+ <projectnature>org.eclipse.jdt.core.javanature</projectnature>
+ <projectnature>org.eclipse.pde.PluginNature</projectnature>
+ </projectnatures>
+ <classpathContainers>
+ <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER
+ </classpathContainer>
+ </classpathContainers>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestFile>${basedir}/META-INF/MANIFEST.MF</manifestFile>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>