No, you are correct Freeman, I forgot that it was still in the svn
servicemix repo so it was downloading from there.  When I removed
http://svn.apache.org/repos/asf/servicemix/m2-repo from the pax mvn url repo
list it did fail.

However, I did a little digging and found the problem.  Spring EBR is hosted
on Amazon S3 and the bucket names are case sensitive.  This artifact appears
to use a lower case for the 3.3.0.ga part.  So the following url looks like
it works in all cases for me:

osgi:install -s
mvn:org.hibernate/com.springsource.org.hibernate.annotations.common/3.3.0.ga

Let me know if that works for you.

Chris

--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Felix :: http://felix.apache.org
Apache Directory Server :: http://directory.apache.org


On Fri, Jan 29, 2010 at 6:00 PM, Freeman Fang <[email protected]>wrote:

> Hi Chris,
>
> Strange, is it possible that your local maven repo already have this jar?
> Or If it's just a temporary network issue for me to accesss springsource
> EBR, we can safely remove it from smx m2-repo and needn't worry about it
> anymore, :-)
>
> Regards
> Freeman
>
> On 2010-1-30, at 上午8:26, Chris Custine wrote:
>
>  This is strange, it seems to work fine for me.  Can anyone else verify if
>> it
>> works for them or not?
>>
>> osgi:install
>> mvn:org.hibernate/com.springsource.org.hibernate.annotations.common/
>> 3.3.0.GA
>>
>> Chris
>>
>> --
>> Chris Custine
>> FUSESource :: http://fusesource.com
>> My Blog :: http://blog.organicelement.com
>> Apache ServiceMix :: http://servicemix.apache.org
>> Apache Felix :: http://felix.apache.org
>> Apache Directory Server :: http://directory.apache.org
>>
>>
>> On Fri, Jan 29, 2010 at 4:56 PM, Freeman Fang <[email protected]
>> >wrote:
>>
>>  Hi Chris,
>>>
>>> No, somehow the
>>> com.springsource.org.hibernate.annotations.common/3.3.0.GAI added into
>>> m2-repo isn't in
>>>
>>>
>>> http://repository.springsource.com/maven/bundles/release,
>>>  http://repository.springsource.com/maven/bundles/external
>>>
>>> So if you do
>>>
>>> osgi:install -s mvn:org.hibernate/
>>> com.springsource.org.hibernate.annotations.common/3.3.0.GA
>>>
>>> It will fail, that's why I added it into smx m2-repo.
>>>
>>> It's a little bit weird for me, as other springsource hibernate bundles
>>> which is used for jpa-osgi demos can be downloaded from
>>> springsource ebr, only com.springsource.org.hibernate.annotations.common/
>>> 3.3.0.GA is missing.
>>>
>>> Regards
>>> Freeman
>>>
>>> On 2010-1-29, at 下午11:51, Chris Custine wrote:
>>>
>>> BTW, we already have the springsource ebr urls in the default Karaf
>>> config
>>>
>>>> for pax url, so these bundles should already install with regular
>>>> commands
>>>> like:
>>>>
>>>> osgi:install -s mvn:org.hibernate/
>>>> com.springsource.org.hibernate.annotations.common/3.3.0.GA
>>>>
>>>> Chris
>>>> --
>>>> Chris Custine
>>>> FUSESource :: http://fusesource.com
>>>> My Blog :: http://blog.organicelement.com
>>>> Apache ServiceMix :: http://servicemix.apache.org
>>>> Apache Felix :: http://felix.apache.org
>>>> Apache Directory Server :: http://directory.apache.org
>>>>
>>>>
>>>> On Fri, Jan 29, 2010 at 8:41 AM, Chris Custine <[email protected]
>>>>
>>>>> wrote:
>>>>>
>>>>
>>>> Yeah, we can't really do that because it is LGPL, but I am wondering
>>>> what
>>>>
>>>>> the difference is between this one and the one on Spring EBR?  I will
>>>>> be
>>>>> testing today the recent Felix framework update which fixes the last
>>>>> remaining fragment issue (
>>>>> http://issues.apache.org/jira/browse/FELIX-1919)
>>>>> and as far as I know (or at least I am hoping) this should allow all of
>>>>> the
>>>>> Hibernate bundles from Spring EBR to work unchanged inside
>>>>> Karaf/ServiceMix.
>>>>>
>>>>> I'll announce on this list later if things seem to work OK because most
>>>>> of
>>>>> the conversations around this are taking place on Felix Dev ML.
>>>>>
>>>>> Chris
>>>>> --
>>>>> Chris Custine
>>>>> FUSESource :: http://fusesource.com
>>>>> My Blog :: http://blog.organicelement.com
>>>>> Apache ServiceMix :: http://servicemix.apache.org
>>>>> Apache Felix :: http://felix.apache.org
>>>>> Apache Directory Server :: http://directory.apache.org
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Jan 28, 2010 at 12:20 AM, <[email protected]> wrote:
>>>>>
>>>>> Author: ffang
>>>>>
>>>>>> Date: Thu Jan 28 07:20:32 2010
>>>>>> New Revision: 903978
>>>>>>
>>>>>> URL: http://svn.apache.org/viewvc?rev=903978&view=rev
>>>>>> Log:
>>>>>> add com.springsource.org.hibernate.annotations.common to m2-repo
>>>>>>
>>>>>> Added:
>>>>>> servicemix/m2-repo/org/hibernate/
>>>>>>
>>>>>>
>>>>>>
>>>>>> servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/
>>>>>>
>>>>>>
>>>>>>
>>>>>> servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/
>>>>>> 3.3.0.GA/
>>>>>>
>>>>>>
>>>>>>
>>>>>> servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/
>>>>>> 3.3.0.GA/
>>>>>> com.springsource.org.hibernate.annotations.common-3.3.0.GA.jar
>>>>>> (with props)
>>>>>>
>>>>>>
>>>>>>
>>>>>> servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/maven-metadata-local.xml
>>>>>>
>>>>>> Added:
>>>>>>
>>>>>>
>>>>>> servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/
>>>>>> 3.3.0.GA/
>>>>>> com.springsource.org.hibernate.annotations.common-3.3.0.GA.jar
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/3.3.0.GA/com.springsource.org.hibernate.annotations.common-3.3.0.GA.jar?rev=903978&view=auto
>>>>>>
>>>>>>
>>>>>>
>>>>>> ==============================================================================
>>>>>> Binary file - no diff available.
>>>>>>
>>>>>> Propchange:
>>>>>>
>>>>>>
>>>>>> servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/
>>>>>> 3.3.0.GA/
>>>>>> com.springsource.org.hibernate.annotations.common-3.3.0.GA.jar
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> svn:mime-type = application/octet-stream
>>>>>>
>>>>>> Added:
>>>>>>
>>>>>>
>>>>>> servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/maven-metadata-local.xml
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/maven-metadata-local.xml?rev=903978&view=auto
>>>>>>
>>>>>>
>>>>>>
>>>>>> ==============================================================================
>>>>>> ---
>>>>>>
>>>>>>
>>>>>> servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/maven-metadata-local.xml
>>>>>> (added)
>>>>>> +++
>>>>>>
>>>>>>
>>>>>> servicemix/m2-repo/org/hibernate/com.springsource.org.hibernate.annotations.common/maven-metadata-local.xml
>>>>>> Thu Jan 28 07:20:32 2010
>>>>>> @@ -0,0 +1,13 @@
>>>>>> +<?xml version="1.0" encoding="UTF-8"?>
>>>>>> +<metadata xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0
>>>>>> http://maven.apache.org/xsd/metadata-1.0.0.xsd"; xmlns="
>>>>>> http://maven.apache.org/METADATA/1.0.0";
>>>>>> +    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>>>>>> +  <groupId>org.hibernate</groupId>
>>>>>> +
>>>>>>
>>>>>>
>>>>>> <artifactId>com.springsource.org.hibernate.annotations.common</artifactId>
>>>>>> +  <version>3.3.0.GA</version>
>>>>>> +  <versioning>
>>>>>> +    <versions>
>>>>>> +      <version>3.3.0.GA</version>
>>>>>> +    </versions>
>>>>>> +    <lastUpdated>20100126100254</lastUpdated>
>>>>>> +  </versioning>
>>>>>> +</metadata>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>> --
>>> Freeman Fang
>>> ------------------------
>>> Open Source SOA: http://fusesource.com
>>>
>>>
>>>
>
> --
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
>
>

Reply via email to