I'm having a little trouble understanding how DM server looks for artefacts in repositories.
Now, first, the problem:
I deploy a bundle, I get this error:
Okay, fine, I think. I'll just point DM Server towards my maven repo, which contains the /com.springsource.javax.validation-1.0.0.CR1.jar.Code:[2009-07-27 09:59:14.182] http-8080-2 <SPDE0018E> Unable to install application from location 'file:/Users/haikal/Applications/springsource-dm-server-2.0.0.M3/work/com.springsource.kernel/upload/icalproxy-api-0.1.1-SNAPSHOT.jar'. Could not satisfy constraints for bundle 'icalproxy.api' at version '0.1.1.SNAPSHOT'. Cannot resolve: au.edu.qut.qutvirtual.icalproxy.api Resolver report: Missing constraint: <Import-Package: javax.validation.constraints; version="1.0.0"> in bundle <icalproxy.api_0.1.1.SNAPSHOT>
So I add this repo to my config/repository.properties:
and add it to the chain, and restart dm server with -clean.Code:maven-repository.type=external maven-repository.searchPattern="${user.home}/.m2/repository/**"
Still get the same error when I try to redeploy my bundle.
I manually deploy that validation jar from the web console, and then deploy my bundle, and it works.
Any idea why DM Server is not picking up the dependency from my m2 repo?


