You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Ralph Goers <Ra...@dslextreme.com> on 2007/07/02 08:26:57 UTC
Re: How to define a dependancy without version number
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 suggest me
>
> Best Regards
> Harish
>
I'm really curious as to how you got that to work in maven 1.0? AFAIK
version numbers have always been required.
Ralph
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: How to define a dependancy without version number
Posted by Ralph Goers <Ra...@dslextreme.com>.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: How to define a dependancy without version number
Posted by Lukas Theussl <lt...@apache.org>.
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 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 <Ra...@dslextreme.com> 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, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.or
> g
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: How to define a dependancy without version number
Posted by Brett Porter <br...@apache.org>.
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 <Ra...@dslextreme.com> 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, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: How to define a dependancy without version number
Posted by Stephane Nicoll <st...@gmail.com>.
On 7/2/07, Ralph Goers <Ra...@dslextreme.com> 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, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org