It works for me without a proxy configuration (I removed my
.m2/repositories/org/apache/servicemix/bundles/org.apache.servicemix.bundles.commons-dbcp
directory before):

Christian-Muellers-MacBook-Pro:bin cmueller$ ./karaf
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (2.2.5)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> osgi:install
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_1
Bundle ID: 49

Best,
Christian

On Mon, Mar 12, 2012 at 2:10 AM, James Gartner <[email protected]>wrote:

> Thanks Christian -- I didn't realize the paste I did had truncated the
> line.
> I actually did run:
>
> karaf@root> osgi:install
>
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_1
> java.lang.RuntimeException: URL
>
> [mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_1]
> could not be re
> solved.
> karaf@root>
>
> Seems like something here isn't setup correctly between maven and karaf --
> I
> have used maven to dl stuff from past our proxy for project builds, but
> karaf doesn't seem to be able to do that, so not sure where the breakdown
> is
> happening here.
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/deploying-a-database-source-as-service-in-Karaf-2-2-5-tp3814097p3818126.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

Reply via email to