Re: Re: Version numbering

2007-08-15 Thread Wayne Fay
You want to omit the version tag from both the parent tag and the
child pom itself? No, this is not possible.

If you at least include the version in the parent tag, I believe you
can omit the version in the child. If it complains, try
${parent.version} or something.

Wayne

On 8/15/07, EJ Ciramella <[EMAIL PROTECTED]> wrote:
> But in this case, there is still a parent entry:
>
> http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>  4.0.0
>  
>lty
>app
>  
>  lty-utils
>  jar
>
> Won't work.
>
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Achim Abeling
> Sent: Wednesday, August 15, 2007 2:24 AM
> To: users@maven.apache.org
> Subject: Re: Version numbering
>
> Hi,
>
> I think you can just omit the version element in the child pom.
>
> Best regards
> Achim
>
> EJ Ciramella wrote:
> > Is there any way for a child pom to simply inherit the version number
> > from the parent?
> >
> > We have a few use cases where this would be very helpful.
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: Version numbering

2007-08-15 Thread EJ Ciramella
But in this case, there is still a parent entry:

http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
  4.0.0
  
lty
app
  
  lty-utils
  jar

Won't work. 

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Achim Abeling
Sent: Wednesday, August 15, 2007 2:24 AM
To: users@maven.apache.org
Subject: Re: Version numbering

Hi,

I think you can just omit the version element in the child pom.

Best regards
Achim

EJ Ciramella wrote:
> Is there any way for a child pom to simply inherit the version number
> from the parent?
>  
> We have a few use cases where this would be very helpful.
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Version numbering

2007-08-14 Thread Achim Abeling

Hi,

I think you can just omit the version element in the child pom.

Best regards
Achim

EJ Ciramella wrote:

Is there any way for a child pom to simply inherit the version number
from the parent?
 
We have a few use cases where this would be very helpful.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]