You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Paul Benedict <pb...@apache.org> on 2009/10/30 18:17:13 UTC
Maven 3: Deprecating old-style references?
I was reading the Introduction to the POM page. It says:
>> These variables are all referenced by the prefix "project.".
>> You may also see references with pom. as the prefix, or the
>> prefix omitted entirely - these forms are now deprecated and
>> should not be used.
Will these old-style uses finally be disallowed in Maven 3?
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven 3: Deprecating old-style references?
Posted by Dan Tran <da...@gmail.com>.
It is going interesting to see lots/logs of warnings when we starting
using 3.0 :-)
-Dan
On Fri, Oct 30, 2009 at 4:12 PM, Paul Benedict <pb...@apache.org> wrote:
> I created MNG-4421 to track this issue:
> http://jira.codehaus.org/browse/MNG-4421
>
> Paul
>
> On Fri, Oct 30, 2009 at 5:15 PM, Brian Fox <br...@infinity.nu> wrote:
>> Yeah deprecated in 3.x. However we'll always have to support them when
>> resolving things from the repo since that's cast in stone for projects
>> already released. We should not support them for projects being built
>> with 3.x though.
>>
>> On Fri, Oct 30, 2009 at 1:34 PM, Paul Benedict <pb...@apache.org> wrote:
>>> Yes, I agree. Providing warnings is a simple incentive to push people
>>> away from their use.
>>>
>>> Paul
>>>
>>> On Fri, Oct 30, 2009 at 12:31 PM, Paul MERLIN <pa...@nosphere.org> wrote:
>>>> Le vendredi 30 octobre 2009 18:21:22, Jason van Zyl a écrit :
>>>>> On 2009-10-30, at 10:17 AM, Paul Benedict wrote:
>>>>> > I was reading the Introduction to the POM page. It says:
>>>>> >>> These variables are all referenced by the prefix "project.".
>>>>> >>> You may also see references with pom. as the prefix, or the
>>>>> >>> prefix omitted entirely - these forms are now deprecated and
>>>>> >>> should not be used.
>>>>> >
>>>>> > Will these old-style uses finally be disallowed in Maven 3?
>>>>>
>>>>> For backward compat they will remain during 3.0. We should collapse
>>>>> them in 3.1.
>>>>
>>>> Will we get WARNINGS about their use to ease existing poms clean up ?
>>>>
>>>> /Paul
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>>
>
> ---------------------------------------------------------------------
> 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: Maven 3: Deprecating old-style references?
Posted by Paul Benedict <pb...@apache.org>.
I created MNG-4421 to track this issue:
http://jira.codehaus.org/browse/MNG-4421
Paul
On Fri, Oct 30, 2009 at 5:15 PM, Brian Fox <br...@infinity.nu> wrote:
> Yeah deprecated in 3.x. However we'll always have to support them when
> resolving things from the repo since that's cast in stone for projects
> already released. We should not support them for projects being built
> with 3.x though.
>
> On Fri, Oct 30, 2009 at 1:34 PM, Paul Benedict <pb...@apache.org> wrote:
>> Yes, I agree. Providing warnings is a simple incentive to push people
>> away from their use.
>>
>> Paul
>>
>> On Fri, Oct 30, 2009 at 12:31 PM, Paul MERLIN <pa...@nosphere.org> wrote:
>>> Le vendredi 30 octobre 2009 18:21:22, Jason van Zyl a écrit :
>>>> On 2009-10-30, at 10:17 AM, Paul Benedict wrote:
>>>> > I was reading the Introduction to the POM page. It says:
>>>> >>> These variables are all referenced by the prefix "project.".
>>>> >>> You may also see references with pom. as the prefix, or the
>>>> >>> prefix omitted entirely - these forms are now deprecated and
>>>> >>> should not be used.
>>>> >
>>>> > Will these old-style uses finally be disallowed in Maven 3?
>>>>
>>>> For backward compat they will remain during 3.0. We should collapse
>>>> them in 3.1.
>>>
>>> Will we get WARNINGS about their use to ease existing poms clean up ?
>>>
>>> /Paul
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven 3: Deprecating old-style references?
Posted by Brian Fox <br...@infinity.nu>.
Yeah deprecated in 3.x. However we'll always have to support them when
resolving things from the repo since that's cast in stone for projects
already released. We should not support them for projects being built
with 3.x though.
On Fri, Oct 30, 2009 at 1:34 PM, Paul Benedict <pb...@apache.org> wrote:
> Yes, I agree. Providing warnings is a simple incentive to push people
> away from their use.
>
> Paul
>
> On Fri, Oct 30, 2009 at 12:31 PM, Paul MERLIN <pa...@nosphere.org> wrote:
>> Le vendredi 30 octobre 2009 18:21:22, Jason van Zyl a écrit :
>>> On 2009-10-30, at 10:17 AM, Paul Benedict wrote:
>>> > I was reading the Introduction to the POM page. It says:
>>> >>> These variables are all referenced by the prefix "project.".
>>> >>> You may also see references with pom. as the prefix, or the
>>> >>> prefix omitted entirely - these forms are now deprecated and
>>> >>> should not be used.
>>> >
>>> > Will these old-style uses finally be disallowed in Maven 3?
>>>
>>> For backward compat they will remain during 3.0. We should collapse
>>> them in 3.1.
>>
>> Will we get WARNINGS about their use to ease existing poms clean up ?
>>
>> /Paul
>>
>> ---------------------------------------------------------------------
>> 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: Maven 3: Deprecating old-style references?
Posted by Paul Benedict <pb...@apache.org>.
Yes, I agree. Providing warnings is a simple incentive to push people
away from their use.
Paul
On Fri, Oct 30, 2009 at 12:31 PM, Paul MERLIN <pa...@nosphere.org> wrote:
> Le vendredi 30 octobre 2009 18:21:22, Jason van Zyl a écrit :
>> On 2009-10-30, at 10:17 AM, Paul Benedict wrote:
>> > I was reading the Introduction to the POM page. It says:
>> >>> These variables are all referenced by the prefix "project.".
>> >>> You may also see references with pom. as the prefix, or the
>> >>> prefix omitted entirely - these forms are now deprecated and
>> >>> should not be used.
>> >
>> > Will these old-style uses finally be disallowed in Maven 3?
>>
>> For backward compat they will remain during 3.0. We should collapse
>> them in 3.1.
>
> Will we get WARNINGS about their use to ease existing poms clean up ?
>
> /Paul
>
> ---------------------------------------------------------------------
> 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: Maven 3: Deprecating old-style references?
Posted by Paul MERLIN <pa...@nosphere.org>.
Le vendredi 30 octobre 2009 18:21:22, Jason van Zyl a écrit :
> On 2009-10-30, at 10:17 AM, Paul Benedict wrote:
> > I was reading the Introduction to the POM page. It says:
> >>> These variables are all referenced by the prefix "project.".
> >>> You may also see references with pom. as the prefix, or the
> >>> prefix omitted entirely - these forms are now deprecated and
> >>> should not be used.
> >
> > Will these old-style uses finally be disallowed in Maven 3?
>
> For backward compat they will remain during 3.0. We should collapse
> them in 3.1.
Will we get WARNINGS about their use to ease existing poms clean up ?
/Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Maven 3: Deprecating old-style references?
Posted by Jason van Zyl <ja...@sonatype.com>.
On 2009-10-30, at 10:17 AM, Paul Benedict wrote:
> I was reading the Introduction to the POM page. It says:
>
>>> These variables are all referenced by the prefix "project.".
>>> You may also see references with pom. as the prefix, or the
>>> prefix omitted entirely - these forms are now deprecated and
>>> should not be used.
>
> Will these old-style uses finally be disallowed in Maven 3?
>
For backward compat they will remain during 3.0. We should collapse
them in 3.1.
> Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org