No, it does not. I verified it with maven:
<dependencies>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-osgi</artifactId>
<version>(2.0,2.2.4-SNAPSHOT)</version>
</dependency>
</dependencies>
resolves to 2.2.3-1 and not 2.2.3:
[DEBUG] com.sun.xml.bind:jaxb-osgi:jar:2.2.3-1:compile (setting version to: 2.2.3-1 from range: (2.0,2.2.4-SNAPSHOT))
I guess your program is wrong,
MartiNG
--
Martin Grebac
GlassFish/Metro/JAXB/Tooling at Oracle
http://blogs.sun.com/mgrebac
ICQ: 93478885
On Jan 18, 2011, at 1:53 PM, Sahoo wrote:
> Sorry, the new version suffers from the same problem. You can actually use the attached program to compare. Just run:
> java -jar maven-version.jar <version1> <version2>
>
> Sahoo
> On Tuesday 18 January 2011 05:52 PM, Martin Grebac wrote:
>> Nice. I updated the version to 2.2.3-1:
>>
>> Index: pom.xml
>> ===================================================================
>> --- pom.xml (revision 44532)
>> +++ pom.xml (working copy)
>> @@ -131,7 +131,7 @@
>> <webservices.version>2.1-b25</webservices.version>
>> <woodstox.version>3.2.1.1</woodstox.version>
>> <jaxb-api.version>2.2.2</jaxb-api.version>
>> -<jaxb.version>2.2.3</jaxb.version>
>> +<jaxb.version>2.2.3-1</jaxb.version>
>> <jaxrpc.api.version>1.1-b01</jaxrpc.api.version>
>>
>> MartiNG
>> --
>> Martin Grebac
>> GlassFish/Metro/JAXB/Tooling at Oracle
>> http://blogs.sun.com/mgrebac
>> ICQ: 93478885
>>
>> On Jan 17, 2011, at 6:53 PM, Sahoo wrote:
>>
>>
>>> Martin,
>>>
>>> 2.2.3U1 is less than 2.2.3 as per maven rules. So, you need to come up with 2.2.4 or something of that sort.
>>>
>>> Thanks,
>>> Sahoo
>>>
>>> On Monday 17 January 2011 10:41 PM, Martin Grebac wrote:
>>>
>>>> Hi,
>>>> please review JAXB update which contains fix for performance issue: http://java.net/jira/browse/GLASSFISH-15559. Thanks,
>>>> MartiNG
>>>>
>>>> Index: pom.xml
>>>> ===================================================================
>>>> --- pom.xml (revision 44532)
>>>> +++ pom.xml (working copy)
>>>> @@ -131,7 +131,7 @@
>>>> <webservices.version>2.1-b25</webservices.version>
>>>> <woodstox.version>3.2.1.1</woodstox.version>
>>>> <jaxb-api.version>2.2.2</jaxb-api.version>
>>>> -<jaxb.version>2.2.3</jaxb.version>
>>>> +<jaxb.version>2.2.3U1</jaxb.version>
>>>> <jaxrpc.api.version>1.1-b01</jaxrpc.api.version>
>>>>
>>>> --
>>>> Martin Grebac
>>>> GlassFish/Metro/JAXB/Tooling at Oracle
>>>> http://blogs.sun.com/mgrebac
>>>> ICQ: 93478885
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
> <maven-version.jar>