diff options
Diffstat (limited to 'java/sca/samples/calculator-osgi/pom.xml')
-rw-r--r-- | java/sca/samples/calculator-osgi/pom.xml | 63 |
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> |