You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stevo Slavić <ss...@gmail.com> on 2009/12/18 23:35:09 UTC

Maven 3 deprecated properties

Hello Maven users,

When building project with Maven 3.0-alpha-5, warnings appear that
"pom.version" and "pom.artifactId" properties have been deprecated in favor
of their project.* variants. Is it same with pom.name property? I'm asking
this because pom.name is not being reported as deprecated, but I expect it
to be for consistency reason. Wish this deprecated stuff was listed in Maven
3 compatibility
notes<http://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html>
.

Regards,
Stevo.

Re: Maven 3 deprecated properties

Posted by Anders Hammar <an...@hammar.net>.
Well, nothing stops you from doing this yourself. However, I did add a note
about this to that page.

/Anders

On Sat, Dec 19, 2009 at 23:53, Stevo Slavić <ss...@gmail.com> wrote:

> Maven properties
> guide<http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
> >should
> be updated to document that pom.* properties are deprecated.
>
> Regards,
> Stevo.
>
> On Sat, Dec 19, 2009 at 6:03 PM, Stevo Slavić <ss...@gmail.com> wrote:
>
> > It works well, pom.name deprecation is reported as warning too; I
> believe
> > it didn't initially because of parent POM resolution<
> http://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-ParentPOMResolution>issue
> project had.
> >
> > Regards,
> > Stevo.
> >
> >
> > On Sat, Dec 19, 2009 at 12:37 PM, Anders Hammar <an...@hammar.net>
> wrote:
> >
> >> Stevo, I think it would be great if you could file a jira for the
> >> pom.nameproperty to be deprecated in Maven 3.0!
> >>
> >> /Anders
> >>
> >> On Sat, Dec 19, 2009 at 05:26, Brian Fox <br...@infinity.nu> wrote:
> >>
> >> > Yes, a long time ago.
> >> >
> >> > On Fri, Dec 18, 2009 at 5:39 PM, Paul Benedict <pb...@apache.org>
> >> > wrote:
> >> > > Stevo, I thought all pom.* properties were gone. Weren't they
> replaced
> >> > > by project.* ?
> >> > >
> >> > > On Fri, Dec 18, 2009 at 4:35 PM, Stevo Slavić <ss...@gmail.com>
> >> wrote:
> >> > >> Hello Maven users,
> >> > >>
> >> > >> When building project with Maven 3.0-alpha-5, warnings appear that
> >> > >> "pom.version" and "pom.artifactId" properties have been deprecated
> in
> >> > favor
> >> > >> of their project.* variants. Is it same with pom.name property?
> I'm
> >> > asking
> >> > >> this because pom.name is not being reported as deprecated, but I
> >> expect
> >> > it
> >> > >> to be for consistency reason. Wish this deprecated stuff was listed
> >> in
> >> > Maven
> >> > >> 3 compatibility
> >> > >> notes<
> >> http://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html>
> >> > >> .
> >> > >>
> >> > >> Regards,
> >> > >> Stevo.
>  >> > >>
> >> > >
> >> > >
> ---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> > > For additional commands, e-mail: users-help@maven.apache.org
> >> > >
> >> > >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> > For additional commands, e-mail: users-help@maven.apache.org
> >> >
> >> >
> >>
> >
> >
>

Re: Maven 3 deprecated properties

Posted by Stevo Slavić <ss...@gmail.com>.
Maven properties
guide<http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide>should
be updated to document that pom.* properties are deprecated.

Regards,
Stevo.

On Sat, Dec 19, 2009 at 6:03 PM, Stevo Slavić <ss...@gmail.com> wrote:

> It works well, pom.name deprecation is reported as warning too; I believe
> it didn't initially because of parent POM resolution<http://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-ParentPOMResolution>issue project had.
>
> Regards,
> Stevo.
>
>
> On Sat, Dec 19, 2009 at 12:37 PM, Anders Hammar <an...@hammar.net> wrote:
>
>> Stevo, I think it would be great if you could file a jira for the
>> pom.nameproperty to be deprecated in Maven 3.0!
>>
>> /Anders
>>
>> On Sat, Dec 19, 2009 at 05:26, Brian Fox <br...@infinity.nu> wrote:
>>
>> > Yes, a long time ago.
>> >
>> > On Fri, Dec 18, 2009 at 5:39 PM, Paul Benedict <pb...@apache.org>
>> > wrote:
>> > > Stevo, I thought all pom.* properties were gone. Weren't they replaced
>> > > by project.* ?
>> > >
>> > > On Fri, Dec 18, 2009 at 4:35 PM, Stevo Slavić <ss...@gmail.com>
>> wrote:
>> > >> Hello Maven users,
>> > >>
>> > >> When building project with Maven 3.0-alpha-5, warnings appear that
>> > >> "pom.version" and "pom.artifactId" properties have been deprecated in
>> > favor
>> > >> of their project.* variants. Is it same with pom.name property? I'm
>> > asking
>> > >> this because pom.name is not being reported as deprecated, but I
>> expect
>> > it
>> > >> to be for consistency reason. Wish this deprecated stuff was listed
>> in
>> > Maven
>> > >> 3 compatibility
>> > >> notes<
>> http://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html>
>> > >> .
>> > >>
>> > >> Regards,
>> > >> Stevo.
>> > >>
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > > For additional commands, e-mail: users-help@maven.apache.org
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>> >
>>
>
>

Re: Maven 3 deprecated properties

Posted by Stevo Slavić <ss...@gmail.com>.
It works well, pom.name deprecation is reported as warning too; I believe it
didn't initially because of parent POM
resolution<http://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-ParentPOMResolution>issue
project had.

Regards,
Stevo.

On Sat, Dec 19, 2009 at 12:37 PM, Anders Hammar <an...@hammar.net> wrote:

> Stevo, I think it would be great if you could file a jira for the
> pom.nameproperty to be deprecated in Maven 3.0!
>
> /Anders
>
> On Sat, Dec 19, 2009 at 05:26, Brian Fox <br...@infinity.nu> wrote:
>
> > Yes, a long time ago.
> >
> > On Fri, Dec 18, 2009 at 5:39 PM, Paul Benedict <pb...@apache.org>
> > wrote:
> > > Stevo, I thought all pom.* properties were gone. Weren't they replaced
> > > by project.* ?
> > >
> > > On Fri, Dec 18, 2009 at 4:35 PM, Stevo Slavić <ss...@gmail.com>
> wrote:
> > >> Hello Maven users,
> > >>
> > >> When building project with Maven 3.0-alpha-5, warnings appear that
> > >> "pom.version" and "pom.artifactId" properties have been deprecated in
> > favor
> > >> of their project.* variants. Is it same with pom.name property? I'm
> > asking
> > >> this because pom.name is not being reported as deprecated, but I
> expect
> > it
> > >> to be for consistency reason. Wish this deprecated stuff was listed in
> > Maven
> > >> 3 compatibility
> > >> notes<http://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html
> >
> > >> .
> > >>
> > >> Regards,
> > >> Stevo.
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: Maven 3 deprecated properties

Posted by Anders Hammar <an...@hammar.net>.
Stevo, I think it would be great if you could file a jira for the
pom.nameproperty to be deprecated in Maven 3.0!

/Anders

On Sat, Dec 19, 2009 at 05:26, Brian Fox <br...@infinity.nu> wrote:

> Yes, a long time ago.
>
> On Fri, Dec 18, 2009 at 5:39 PM, Paul Benedict <pb...@apache.org>
> wrote:
> > Stevo, I thought all pom.* properties were gone. Weren't they replaced
> > by project.* ?
> >
> > On Fri, Dec 18, 2009 at 4:35 PM, Stevo Slavić <ss...@gmail.com> wrote:
> >> Hello Maven users,
> >>
> >> When building project with Maven 3.0-alpha-5, warnings appear that
> >> "pom.version" and "pom.artifactId" properties have been deprecated in
> favor
> >> of their project.* variants. Is it same with pom.name property? I'm
> asking
> >> this because pom.name is not being reported as deprecated, but I expect
> it
> >> to be for consistency reason. Wish this deprecated stuff was listed in
> Maven
> >> 3 compatibility
> >> notes<http://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html>
> >> .
> >>
> >> Regards,
> >> Stevo.
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Maven 3 deprecated properties

Posted by Brian Fox <br...@infinity.nu>.
Yes, a long time ago.

On Fri, Dec 18, 2009 at 5:39 PM, Paul Benedict <pb...@apache.org> wrote:
> Stevo, I thought all pom.* properties were gone. Weren't they replaced
> by project.* ?
>
> On Fri, Dec 18, 2009 at 4:35 PM, Stevo Slavić <ss...@gmail.com> wrote:
>> Hello Maven users,
>>
>> When building project with Maven 3.0-alpha-5, warnings appear that
>> "pom.version" and "pom.artifactId" properties have been deprecated in favor
>> of their project.* variants. Is it same with pom.name property? I'm asking
>> this because pom.name is not being reported as deprecated, but I expect it
>> to be for consistency reason. Wish this deprecated stuff was listed in Maven
>> 3 compatibility
>> notes<http://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html>
>> .
>>
>> Regards,
>> Stevo.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven 3 deprecated properties

Posted by Paul Benedict <pb...@apache.org>.
Stevo, I thought all pom.* properties were gone. Weren't they replaced
by project.* ?

On Fri, Dec 18, 2009 at 4:35 PM, Stevo Slavić <ss...@gmail.com> wrote:
> Hello Maven users,
>
> When building project with Maven 3.0-alpha-5, warnings appear that
> "pom.version" and "pom.artifactId" properties have been deprecated in favor
> of their project.* variants. Is it same with pom.name property? I'm asking
> this because pom.name is not being reported as deprecated, but I expect it
> to be for consistency reason. Wish this deprecated stuff was listed in Maven
> 3 compatibility
> notes<http://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html>
> .
>
> Regards,
> Stevo.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org