Thanks for your reply Enrique.

You are not doing anything wrong.  The M2 setup is not complete.  The
> dependency (Service Binder) needs to be m2venized and 'mvn deploy'd.
> Neither Alex nor I caught this as we have the jar manually setup
> locally, since we use SB elsewhere.  We have a grant for SB so we are
> going to port it in the next couple days, to the org.apache.felix
> namespace and get it out to an M2 repo.


Great ! Not a problem to wait ...

The best thing you can do for now is manually add it to your local M2
> repo.  I forget the procedure for manually loading a jar; I recommend
> checking M2 doco or just wait a couple days.  When SB does move to Felix
> it will be as an M2 module anyway so you'll pick it up from an 'svn up'
> and 'mvn install'.


I've never done this before, but sounds like usefull. So I write here the
process, this could help someone.

The documentation your were talking about is "Guide to installing 3rd party
JARs" at
http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html

1/ Download the ServiceBinder jar at
http://m2.safehaus.org/org/ungoverned/gravity/servicebinder/servicebinder/1.0/servicebinder-1.0.jar

2/ Go to the dir you download the jar, and execute :

mvn install:install-file -Dfile=servicebinder-1.0.jar \
    -DgroupId=org.ungoverned.gravity.servicebinder \
    -DartifactId=servicebinder -Dversion=1.0 -Dpackaging=jar

Now ServiceBinder is avalaible in your local repository.

--
</arnaud>

Reply via email to