Re: How to define a dependancy without version number

2007-07-02 Thread Ralph Goers
Harish Kachoria wrote: Hello All, I'm trying to integrating Maven in my project. I was quite comfortable using maven 1.0. But with Maven 2.0 I have one problem to define dependency of a jar file. I wants to define dependency without having a version number. how can I do that ?? Please

Re: How to define a dependancy without version number

2007-07-02 Thread Stephane Nicoll
On 7/2/07, Ralph Goers [EMAIL PROTECTED] wrote: Harish Kachoria wrote: I'm really curious as to how you got that to work in maven 1.0? AFAIK version numbers have always been required. +1 Stéphane Ralph - To unsubscribe,

Re: How to define a dependancy without version number

2007-07-02 Thread Brett Porter
Probably referring to the jar tag which let you hack the repository path. It's forbidden in Maven 2 (and was deprecated in 1.1 too I think?) - Brett On 02/07/2007, at 5:39 PM, Stephane Nicoll wrote: On 7/2/07, Ralph Goers [EMAIL PROTECTED] wrote: Harish Kachoria wrote: I'm really curious

Re: How to define a dependancy without version number

2007-07-02 Thread Lukas Theussl
No, it's still supported and not deprecated in Maven 1.1: http://maven.apache.org/maven-1.x/reference/maven-model/3.0.2/maven.html#class_dependency -Lukas Brett Porter wrote: Probably referring to the jar tag which let you hack the repository path. It's forbidden in Maven 2 (and was

Re: How to define a dependancy without version number

2007-07-02 Thread Ralph Goers
Lukas Theussl wrote: No, it's still supported and not deprecated in Maven 1.1: http://maven.apache.org/maven-1.x/reference/maven-model/3.0.2/maven.html#class_dependency -Lukas It should have been. I can certainly understand why support for this was removed in version 2. Ralph

Re: How to define a dependancy without version number

2007-07-02 Thread Harish Kachoria
dependency without having a version number. how can I do that ?? Please suggest me Best Regards Harish -- View this message in context: http://www.nabble.com/How-to-define-a-dependancy-without-version-number-tf4004825s177.html#a11401107 Sent from the Maven Developers mailing list archive

Re: How to define a dependancy without version number

2007-07-02 Thread Brett Porter
that ?? Please suggest me Best Regards Harish -- View this message in context: http://www.nabble.com/How-to-define-a- dependancy-without-version-number-tf4004825s177.html#a11401107 Sent from the Maven Developers mailing list archive at Nabble.com

Re: How to define a dependancy without version number

2007-07-02 Thread Ralph Goers
Brett Porter wrote: http://maven.apache.org/maven-1.x/faq.html#unversioned-jars You can name that what you wish in build/deployment/production, they just need a version in the repository. Brett, He wants to do this in Maven 2, not Maven 1. Ralph

Re: How to define a dependancy without version number

2007-07-02 Thread Brett Porter
I know, the material is the same (it maybe should be in the m2 faq too :) ie, the answer in m1 is you can but you shouldn't and here's how to workaround. In m2, it's you can't, and here's how to work around. On 03/07/2007, at 12:34 PM, Ralph Goers wrote: Brett Porter wrote:

Re: How to define a dependancy without version number

2007-07-02 Thread Harish Kachoria
dependency without having a version number. how can I do that ?? Please suggest me Best Regards Harish -- View this message in context: http://www.nabble.com/How-to-define-a- dependancy-without-version-number-tf4004825s177.html#a11401107 Sent from the Maven Developers mailing list archive

How to define a dependancy without version number

2007-06-30 Thread Harish Kachoria
Hello All, I'm trying to integrating Maven in my project. I was quite comfortable using maven 1.0. But with Maven 2.0 I have one problem to define dependency of a jar file. I wants to define dependency without having a version number. how can I do that ?? Please suggest me Best Regards

RE: How to define a dependancy without version number

2007-06-30 Thread Brian E. Fox
, 2007 3:37 PM To: [EMAIL PROTECTED]; dev@maven.apache.org Subject: How to define a dependancy without version number Hello All, I'm trying to integrating Maven in my project. I was quite comfortable using maven 1.0. But with Maven 2.0 I have one problem to define dependency of a jar file. I