Maven 3: Deprecating old-style references?

View: New views
7 Messages — Rating Filter:   Alert me  

Maven 3: Deprecating old-style references?

by Paul Benedict-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: dev-help@...


Re: Maven 3: Deprecating old-style references?

by jvanzyl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
> For additional commands, e-mail: dev-help@...
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Maven 3: Deprecating old-style references?

by Paul MERLIN-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: dev-help@...


Re: Maven 3: Deprecating old-style references?

by Paul Benedict-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <paul@...> 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@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Maven 3: Deprecating old-style references?

by BRIAN FOX-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <pbenedict@...> 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 <paul@...> 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@...
>> For additional commands, e-mail: dev-help@...
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Maven 3: Deprecating old-style references?

by Paul Benedict-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <brianf@...> 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 <pbenedict@...> 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 <paul@...> 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@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Maven 3: Deprecating old-style references?

by Dan Tran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <pbenedict@...> 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 <brianf@...> 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 <pbenedict@...> 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 <paul@...> 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@...
>>>> For additional commands, e-mail: dev-help@...
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@...
>>> For additional commands, e-mail: dev-help@...
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...