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 ; 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 ; 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 ; 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 ; Mon, 4 Apr 2011 15:35:32 +0000 (GMT) Received: by gxk23 with SMTP id 23so704029gxk.0 for ; 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\)" To: 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: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: 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: [2.5.2,3) 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: 2.5.2 Thanks! Regards, Mohan KR ------=_NextPart_000_00B7_01CBF2B4.23F847A0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

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

  is correct, but the "transit= ive dependencies" is messed up, because of version ranges (I wish mave= n

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

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

  will compare a= s "string" and I think the algorithm reverts to string compare wh= en 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 diff= erent resolution of the transitive dependencies.

&nb= sp;

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

 = spring dependencies are specified as:

 <= /span>

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

 

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

  Now, I have no choice but to use an ex= clusion element in this dependency (jersey-spring). My proposal is to<= /o:p>

  "lock down" 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>

   can this be changed to:

&n= bsp;

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

 

<= span style=3D'font-family:"Verdana","sans-serif"'>

=  

 

Thanks!

Regards= ,

 

Mohan KR

 

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