Hello All, if this is the wrong forum for this question please let me
know.  I appreciate any help you can provide...

I've been struggling for some time now trying to determine which maven
dependencies are required to satisfy the Tuscany runtime.  Is there a
simple maven dependency which provides all necessary runtime jars or
is it recommended that I hand pick the required ones for the
bindings/runtimes in my composite?  I have a simple app that uses
Spring, Java and WS bindings but I'm not able to satisfy all the
dependencies and therefore keep hitting NoClassDef...  I've attached a
sample composite file with my pom file hoping that someone would be
able to help.

My current error is:  Caused by: java.lang.ClassNotFoundException:
org.apache.tuscany.sca.policy.security.http.ssl.HTTPSPolicy  - and it
difficult to figure out which maven dependency satisfys that need. Is
there a page which details all the different maven dependencies?

Thanks,
Matt-
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";>
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>com.rim.platform.wff</groupId>
		<artifactId>wff-samples</artifactId>
		<version>0.0.1-SNAPSHOT</version>
		<relativePath>../pom.xml</relativePath>
	</parent>


	<properties>
		<tuscany.version>2.0-Beta1</tuscany.version>
	</properties>

	<groupId>com.rim.platform.wff</groupId>
	<artifactId>tuscanysca-sample</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<packaging>jar</packaging>
	<name>Tuscany SCA</name>


	<dependencies>

		
		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-core</artifactId>
			<version>${tuscany.version}</version>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-feature-api</artifactId>
			<type>pom</type>
			<version>${tuscany.version}</version>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-node-impl</artifactId>
			<version>${tuscany.version}</version>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-data-api</artifactId>
			<version>${tuscany.version}</version>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-sca-api</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-implementation-spring</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-implementation-spring-runtime</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-implementation-java</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-implementation-java-runtime</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>

		<!-- used for client runtime classes -->
		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-sca-client-impl</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-binding-ws</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>


		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-binding-ws-runtime-jaxws</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-binding-ws-runtime-jaxws-ri</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>

		<dependency>
			<groupId>org.apache.tuscany.sca</groupId>
			<artifactId>tuscany-policy-wspolicy</artifactId>
			<version>${tuscany.version}</version>
			<scope>runtime</scope>
		</dependency>
		
	</dependencies>

	<build>
		<finalName>${project.artifactId}</finalName>
	</build>


</project>

Reply via email to