>>>>> "Stuart McCulloch" <[EMAIL PROTECTED]>:
> I did a quick test and using ${basedir} appeared to work for me I'm stuck with maven 2.0.4. Perhaps that's the cause of my problems? > - note that the basedir is the directory with the pom, so if you > unpack to "target/someosgiapp" then you need to use > <systemPath>${basedir}/target/someosgiapp/...etc...</systemPath> Sorry about that. I was overeager in my anonymizing. It's actually <systemPath>${basedir}/target/dependencies/someosgiapp/org.eclipse.osgi_3.2.1_R32x_v20060919.jar</systemPath> In any case, this gives no error message: <dependency> <groupId>org.eclipse.osgi</groupId> <artifactId>org.eclipse.osgi</artifactId> <version>3.2.1-R32x_v20060919</version> </dependency> while this: <dependency> <groupId>org.eclipse.osgi</groupId> <artifactId>org.eclipse.osgi</artifactId> <version>3.2.1-R32x_v20060919</version> <scope>system</scope> <systemPath>${basedir}/target/dependencies/someosgiapp/org.eclipse.osgi_3.2.1_R32x_v20060919.jar</systemPath> </dependency> gives: [WARNING] Artifact org.eclipse.osgi:org.eclipse.osgi:jar:3.2.1-R32x_v20060919:system retains local scope 'system' overriding broader scope 'compile' given by a dependency. If this is not intended, modify or remove the local scope. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.eclipse.osgi:org.eclipse.osgi:jar:3.2.1-R32x_v20060919 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.eclipse.osgi -DartifactId=org.eclipse.osgi \ -Dversion=3.2.1-R32x_v20060919 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) com.somecompany.someapp.proxy:com.somecompany.someapp.proxy:jar:0.1.0 2) org.eclipse.osgi:org.eclipse.osgi:jar:3.2.1-R32x_v20060919 ---------- 1 required artifact is missing. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]