Received: from acsinet15.oracle.com (/141.146.126.227)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Mon, 04 Apr 2011 08:36:15 -0700
Received: from rcsinet11.oracle.com (rcsinet11.oracle.com [148.87.113.123])
	by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p34FaDFs020143
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 4 Apr 2011 15:36:14 GMT
Received: from mailout02.kenai.com (mailout02.kenai.com [192.9.171.175])
	by rcsinet11.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p34FZr7E031724;
	Mon, 4 Apr 2011 15:35:54 GMT
Received: from mail01.java.net (jnxmlm02z1.network.org [192.9.171.232])
	by mailout02.kenai.com (Postfix) with ESMTP id 155371C0D89;
	Mon,  4 Apr 2011 15:35:53 +0000 (GMT)
Received: from localhost (localhost [127.0.0.1])
	by mail01.java.net (Postfix) with ESMTP id 56E08222341;
	Mon,  4 Apr 2011 15:35:50 +0000 (GMT)
X-Virus-Scanned: amavisd-new at network.org
Received: from mail01.java.net ([127.0.0.1])
	by localhost (jnxmlm02z1.network.org [127.0.0.1]) (amavisd-new, port 10025)
	with ESMTP id Sex+BxwXyseE; Mon,  4 Apr 2011 15:35:40 +0000 (GMT)
Received: by mail01.java.net (Postfix, from userid 60005)
	id 7EA992222E1; Mon,  4 Apr 2011 15:35:40 +0000 (GMT)
Received: from mailin01.kenai.com (mailin01.network.org [192.9.171.171])
	by mail01.java.net (Postfix) with ESMTP id E6AB32222C5
	for <users@jersey.java.net>; Mon,  4 Apr 2011 15:35:33 +0000 (GMT)
Received: from localhost (localhost [127.0.0.1])
	by mailin01.kenai.com (Postfix) with ESMTP id DE2B4270293
	for <users@jersey.java.net>; Mon,  4 Apr 2011 15:35:33 +0000 (GMT)
X-Virus-Scanned: amavisd-new at network.org
Received: from mailin01.kenai.com ([127.0.0.1])
	by localhost (mailin01.network.org [127.0.0.1]) (amavisd-new, port 10025)
	with ESMTP id iMdEJxPzQD0r for <users@jersey.java.net>;
	Mon,  4 Apr 2011 15:35:32 +0000 (GMT)
Received: from mail-gx0-f169.google.com (mail-gx0-f169.google.com [209.85.161.169])
	by mailin01.kenai.com (Postfix) with ESMTP id 54BE227025D
	for <users@jersey.java.net>; Mon,  4 Apr 2011 15:35:32 +0000 (GMT)
Received: by gxk23 with SMTP id 23so704029gxk.0
        for <users@jersey.java.net>; Mon, 04 Apr 2011 08:35:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:from:to:subject:date:organization:message-id
         :mime-version:content-type:x-mailer:content-language:thread-index;
        bh=Q6tAk2/fA1OROEmHFdXlvCivh5NdTbSA1h9mvLa2Uy4=;
        b=KveVkyQ78gwjJ2JtPNswpAwtIj3AcluXrX2D0zV4krlC/kU9GByPjew3fXn1AfhA3K
         sHyUlVgwQneWEFDySTzDvyhKeWL6iBBqZupx1pCOH05Z9MOCfotx3EFLD2yCq8U1BCzm
         M/JwFhuU4wcfAi0+Gzh9XvZWDqhDhW50F+A+k=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:to:subject:date:organization:message-id:mime-version
         :content-type:x-mailer:content-language:thread-index;
        b=Nmwf09Md8NZzhIVaGIHoXfLW04v13Pocg4r8VWpoe6oNTEUA5ZeIEEOwqp4bsCT+oD
         i785Q3mNwSjMaNwQ0UgrPR66F/NoG2t//fXirpTZjwUsFQ+O5bOAQ6+KY3szIq/Z7emg
         SGlup8hICJ0WYCfS5QzDhPQgbPLoXay2hNJMY=
Received: by 10.150.248.5 with SMTP id v5mr1710144ybh.310.1301931331213;
        Mon, 04 Apr 2011 08:35:31 -0700 (PDT)
Received: from MOHANLAPTOP ([206.107.164.66])
        by mx.google.com with ESMTPS id v15sm2203191ybk.21.2011.04.04.08.34.56
        (version=TLSv1/SSLv3 cipher=OTHER);
        Mon, 04 Apr 2011 08:35:11 -0700 (PDT)
From: "Mohan KR \(mkannapa\)" <mkannapa@gmail.com>
To: <users@jersey.java.net>
Date: Mon, 4 Apr 2011 10:36:05 -0500
Organization: MohanKR
Message-ID: <00b601cbf2de$0ccd3e30$2667ba90$@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_00B7_01CBF2B4.23F847A0"
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: Acvy3gEWH8QPrHzsRoK05X32hSsJqg==
Subject: [Jersey] jersey-spring and maven dependency issues
Reply-To: users@jersey.java.net
X-Loop: users@jersey.java.net
X-Sequence: 1425
Errors-to: users-owner@jersey.java.net
Precedence: list
X-no-archive: yes
List-Id: <users.jersey.java.net>
List-Help: <mailto:sympa@jersey.java.net?subject=help>
List-Subscribe: <mailto:sympa@jersey.java.net?subject=subscribe%20users>
List-Unsubscribe: <mailto:sympa@jersey.java.net?subject=unsubscribe%20users>
List-Post: <mailto:users@jersey.java.net>
List-Owner: <mailto:users-request@jersey.java.net>
X-Source-IP: mailout02.kenai.com [192.9.171.175]
X-CT-RefId: str=0001.0A090203.4D99E55B.00E9,ss=1,fgs=0

This is a multipart message in MIME format.

------=_NextPart_000_00B7_01CBF2B4.23F847A0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello,

  I am trying to integrate jersey-spring, we are in spring 2.5.x stream
currently. I think the module

  is correct, but the "transitive dependencies" is messed up, because of
version ranges (I wish maven

  abandon the version ranges :)). The problem I see is, Spring has decided
to follow their own versioning

  scheme which is *not* compatible with Maven versioning and resolution
algorithm. For e.g 3.0.0.RC2 

  will compare as "string" and I think the algorithm reverts to string
compare when resolving a version

  (but in essence things are messed up). Note: IDE's with Maven plugins or
Netbeans (depending on the

  version of embedded Maven) will show completely different resolution of
the transitive dependencies.

 

  The problem, the spring jersey module activates a default profile
(spring25), and the version for all

  spring dependencies are specified as:

 

  <spring25-release-version>[2.5.2,3)</spring25-release-version>

 

  Now, my issue is this resolves (as of today) to Spring 3.0.0.RC3 (see
previous explanation in first paragraph).

  Now, I have no choice but to use an exclusion element in this dependency
(jersey-spring). My proposal is to

  "lock down" the version (soft) instead of a range, this will ensure at
least 2.5.x is picked up. If min. is 2.5.2,

   can this be changed to:

 

  <spring25-release-version>2.5.2</spring25-release-version>

 

 

 

Thanks!

Regards,

 

Mohan KR

 


------=_NextPart_000_00B7_01CBF2B4.23F847A0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Verdana","sans-serif";
	color:windowtext;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'f=
ont-family:"Verdana","sans-serif"'>Hello,<o:p></o:p></span></p><p class=3DM=
soNormal><span style=3D'font-family:"Verdana","sans-serif"'>&nbsp; I am try=
ing to integrate jersey-spring, we are in spring 2.5.x stream currently. I =
think the module<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'f=
ont-family:"Verdana","sans-serif"'>&nbsp; is correct, but the &quot;transit=
ive dependencies&quot; is messed up, because of version ranges (I wish mave=
n<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-family:"Ver=
dana","sans-serif"'>&nbsp; abandon the version ranges :)). The problem I se=
e is, Spring has decided to follow their own versioning<o:p></o:p></span></=
p><p class=3DMsoNormal><span style=3D'font-family:"Verdana","sans-serif"'>&=
nbsp; scheme which is *not* compatible with Maven versioning and resolution=
 algorithm. For e.g 3.0.0.RC2 <o:p></o:p></span></p><p class=3DMsoNormal><s=
pan style=3D'font-family:"Verdana","sans-serif"'>&nbsp;&nbsp;will compare a=
s &quot;string&quot; and I think the algorithm reverts to string compare wh=
en resolving a version<o:p></o:p></span></p><p class=3DMsoNormal><span styl=
e=3D'font-family:"Verdana","sans-serif"'>&nbsp; (but in essence things are =
messed up). Note: IDE's with Maven plugins or Netbeans (depending on the<o:=
p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-family:"Verdana=
","sans-serif"'>&nbsp; version of embedded Maven) will show completely diff=
erent resolution of the transitive dependencies.<o:p></o:p></span></p><p cl=
ass=3DMsoNormal><span style=3D'font-family:"Verdana","sans-serif"'><o:p>&nb=
sp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-family:"Verdan=
a","sans-serif"'>&nbsp; The problem, the spring jersey module activates a d=
efault profile (spring25), and the version for all<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Verdana","sans-serif"'>&nbsp;=
 spring dependencies are specified as:<o:p></o:p></span></p><p class=3DMsoN=
ormal><span style=3D'font-family:"Verdana","sans-serif"'><o:p>&nbsp;</o:p><=
/span></p><pre><span style=3D'font-family:"Verdana","sans-serif"'> &nbsp;</=
span>&lt;spring25-release-version&gt;[2.5.2,3)&lt;/spring25-release-version=
&gt;<o:p></o:p></pre><p class=3DMsoNormal><span style=3D'font-family:"Verda=
na","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span st=
yle=3D'font-family:"Verdana","sans-serif"'>&nbsp; Now, my issue is this res=
olves (as of today) to Spring 3.0.0.RC3 (see previous explanation in first =
paragraph).<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-f=
amily:"Verdana","sans-serif"'>&nbsp; Now, I have no choice but to use an ex=
clusion element in this dependency (jersey-spring). My proposal is to<o:p><=
/o:p></span></p><p class=3DMsoNormal><span style=3D'font-family:"Verdana","=
sans-serif"'>&nbsp; &quot;lock down&quot; the version (soft) instead of a r=
ange, this will ensure at least 2.5.x is picked up. If min. is 2.5.2,<o:p><=
/o:p></span></p><p class=3DMsoNormal><span style=3D'font-family:"Verdana","=
sans-serif"'>&nbsp;&nbsp; can this be changed to:<o:p></o:p></span></p><p c=
lass=3DMsoNormal><span style=3D'font-family:"Verdana","sans-serif"'><o:p>&n=
bsp;</o:p></span></p><pre><span style=3D'font-family:"Verdana","sans-serif"=
'>&nbsp; </span>&lt;spring25-release-version&gt;2.5.2&lt;/spring25-release-=
version&gt;<o:p></o:p></pre><p class=3DMsoNormal><span style=3D'font-family=
:"Verdana","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><=
span style=3D'font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p><p=
 class=3DMsoNormal><span style=3D'font-family:"Verdana","sans-serif"'><o:p>=
&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-family:"Tah=
oma","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span s=
tyle=3D'font-family:"Tahoma","sans-serif"'>Thanks!<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Tahoma","sans-serif"'>Regards=
,<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-family:"Tah=
oma","sans-serif"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span s=
tyle=3D'font-family:"Tahoma","sans-serif";color:#17365D'>Mohan KR<o:p></o:p=
></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>=

------=_NextPart_000_00B7_01CBF2B4.23F847A0--