You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dennis Lundberg <de...@mdh.se> on 2004/07/29 22:58:05 UTC

pom.id versus pom.artifactId - which is correct?

Hello

I have noticed that the XML schema uses pom.id, but the examples in 
http://maven.apache.org/reference/user-guide.html#POM_Processing uses 
pom.artifactId instead. Running different Maven goals using 
pom.artifactId seems to work, even though the project.xml file will not 
validate.

Is pom.artifactId some old thing that someone forgot to remove before 
the 1.0 release or is it just an undocumented feature?

--
Dennis Lundberg


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


Re: pom.id versus pom.artifactId - which is correct?

Posted by Dennis Lundberg <de...@mdh.se>.
This is now an issue in JIRA http://jira.codehaus.org/browse/MAVEN-1410.

--
Dennis Lundberg

Emmanuel Venisse wrote:
> ----- Original Message ----- 
> From: "Dennis Lundberg" <de...@mdh.se>
> To: "Maven Developers List" <de...@maven.apache.org>
> Sent: Friday, July 30, 2004 12:54 PM
> Subject: Re: pom.id versus pom.artifactId - which is correct?
> 
> 
> 
>>Thanks for your reply. I a have few follow-ups:
>>
>>In which version of Maven was pom.id deprecated?
> 
> 
> I think it was RC2. pom.id is use by internal Maven process and mustn't be
> appears directly in pom
> 
> 
>>Is there a timeframe/version when pom.id will be removed? 1.0.1, 1.1 or
> 
> 2.0?
> 
> We can remove it directly, because Maven use it in internal process. If you
> use it, you can obtain some surprise because Maven rewrite it.
> 
> 
>>When will pom.artifactId be added to the XML schema? POM version 4?
> 
> 
> Oups we omit to add it? We'll add it in 1.0.1.
> Can you add an issue to Jira? Thanks.
> 
> 
>>Which version of Maven will use POM version 4?
> 
> 
> Maven2, perhaps Maven 1.X
> 
> 
>>The reasons for all these questions is that it now somewhat confusing
>>trying the different examples in the documentation of Maven. Some of the
>>examples work, but the xml-files won't validate.
>>
>>So I thought that I would make patches to the documentation so that they
>>reflect what should be used in the *current* version of Maven. If there
>>are any deprecations they should be added to the documentation so that
>>users of Maven know that things are changing and if/when they need to
>>change their configurations.
> 
> 
> All patches are welcome.
> 
> 
>>--
>>Dennis Lundberg
>>
>>
>>Emmanuel Venisse wrote:
>>
>>>pom.id is deprecated, you must use pom.artifactId.
>>>
>>>Emmanuel
>>>
>>>----- Original Message ----- 
>>>From: "Dennis Lundberg" <de...@mdh.se>
>>>To: <de...@maven.apache.org>
>>>Sent: Thursday, July 29, 2004 10:58 PM
>>>Subject: pom.id versus pom.artifactId - which is correct?
>>>
>>>
>>>
>>>
>>>>Hello
>>>>
>>>>I have noticed that the XML schema uses pom.id, but the examples in
>>>>http://maven.apache.org/reference/user-guide.html#POM_Processing uses
>>>>pom.artifactId instead. Running different Maven goals using
>>>>pom.artifactId seems to work, even though the project.xml file will not
>>>>validate.
>>>>
>>>>Is pom.artifactId some old thing that someone forgot to remove before
>>>>the 1.0 release or is it just an undocumented feature?
>>>>
>>>>--
>>>>Dennis Lundberg
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>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: pom.id versus pom.artifactId - which is correct?

Posted by Emmanuel Venisse <em...@venisse.net>.
----- Original Message ----- 
From: "Dennis Lundberg" <de...@mdh.se>
To: "Maven Developers List" <de...@maven.apache.org>
Sent: Friday, July 30, 2004 12:54 PM
Subject: Re: pom.id versus pom.artifactId - which is correct?


> Thanks for your reply. I a have few follow-ups:
>
> In which version of Maven was pom.id deprecated?

I think it was RC2. pom.id is use by internal Maven process and mustn't be
appears directly in pom

> Is there a timeframe/version when pom.id will be removed? 1.0.1, 1.1 or
2.0?

We can remove it directly, because Maven use it in internal process. If you
use it, you can obtain some surprise because Maven rewrite it.

> When will pom.artifactId be added to the XML schema? POM version 4?

Oups we omit to add it? We'll add it in 1.0.1.
Can you add an issue to Jira? Thanks.

> Which version of Maven will use POM version 4?

Maven2, perhaps Maven 1.X

>
> The reasons for all these questions is that it now somewhat confusing
> trying the different examples in the documentation of Maven. Some of the
> examples work, but the xml-files won't validate.
>
> So I thought that I would make patches to the documentation so that they
> reflect what should be used in the *current* version of Maven. If there
> are any deprecations they should be added to the documentation so that
> users of Maven know that things are changing and if/when they need to
> change their configurations.

All patches are welcome.

>
> --
> Dennis Lundberg
>
>
> Emmanuel Venisse wrote:
> > pom.id is deprecated, you must use pom.artifactId.
> >
> > Emmanuel
> >
> > ----- Original Message ----- 
> > From: "Dennis Lundberg" <de...@mdh.se>
> > To: <de...@maven.apache.org>
> > Sent: Thursday, July 29, 2004 10:58 PM
> > Subject: pom.id versus pom.artifactId - which is correct?
> >
> >
> >
> >>Hello
> >>
> >>I have noticed that the XML schema uses pom.id, but the examples in
> >>http://maven.apache.org/reference/user-guide.html#POM_Processing uses
> >>pom.artifactId instead. Running different Maven goals using
> >>pom.artifactId seems to work, even though the project.xml file will not
> >>validate.
> >>
> >>Is pom.artifactId some old thing that someone forgot to remove before
> >>the 1.0 release or is it just an undocumented feature?
> >>
> >>--
> >>Dennis Lundberg
> >>
> >>
> >>---------------------------------------------------------------------
> >>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: pom.id versus pom.artifactId - which is correct?

Posted by Dennis Lundberg <de...@mdh.se>.
Thanks for your reply. I a have few follow-ups:

In which version of Maven was pom.id deprecated?
Is there a timeframe/version when pom.id will be removed? 1.0.1, 1.1 or 2.0?
When will pom.artifactId be added to the XML schema? POM version 4?
Which version of Maven will use POM version 4?

The reasons for all these questions is that it now somewhat confusing 
trying the different examples in the documentation of Maven. Some of the 
examples work, but the xml-files won't validate.

So I thought that I would make patches to the documentation so that they 
reflect what should be used in the *current* version of Maven. If there 
are any deprecations they should be added to the documentation so that 
users of Maven know that things are changing and if/when they need to 
change their configurations.

--
Dennis Lundberg


Emmanuel Venisse wrote:
> pom.id is deprecated, you must use pom.artifactId.
> 
> Emmanuel
> 
> ----- Original Message ----- 
> From: "Dennis Lundberg" <de...@mdh.se>
> To: <de...@maven.apache.org>
> Sent: Thursday, July 29, 2004 10:58 PM
> Subject: pom.id versus pom.artifactId - which is correct?
> 
> 
> 
>>Hello
>>
>>I have noticed that the XML schema uses pom.id, but the examples in 
>>http://maven.apache.org/reference/user-guide.html#POM_Processing uses 
>>pom.artifactId instead. Running different Maven goals using 
>>pom.artifactId seems to work, even though the project.xml file will not 
>>validate.
>>
>>Is pom.artifactId some old thing that someone forgot to remove before 
>>the 1.0 release or is it just an undocumented feature?
>>
>>--
>>Dennis Lundberg
>>
>>
>>---------------------------------------------------------------------
>>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: pom.id versus pom.artifactId - which is correct?

Posted by Emmanuel Venisse <em...@venisse.net>.
pom.id is deprecated, you must use pom.artifactId.

Emmanuel

----- Original Message ----- 
From: "Dennis Lundberg" <de...@mdh.se>
To: <de...@maven.apache.org>
Sent: Thursday, July 29, 2004 10:58 PM
Subject: pom.id versus pom.artifactId - which is correct?


> Hello
> 
> I have noticed that the XML schema uses pom.id, but the examples in 
> http://maven.apache.org/reference/user-guide.html#POM_Processing uses 
> pom.artifactId instead. Running different Maven goals using 
> pom.artifactId seems to work, even though the project.xml file will not 
> validate.
> 
> Is pom.artifactId some old thing that someone forgot to remove before 
> the 1.0 release or is it just an undocumented feature?
> 
> --
> Dennis Lundberg
> 
> 
> ---------------------------------------------------------------------
> 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