maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Rivard <adrien.riv...@gmail.com>
Subject Re: Enquiry about POM parent tag version
Date Fri, 16 Jan 2015 09:05:59 GMT
Hi,

Don't put variables in parent tags.This can't work because project 2 can't
know which version of parent it should use so it can't resolve it and
neither the version declared in the parent.



On Fri, Jan 16, 2015 at 3:25 AM, yeelong <ccyyll8833@yahoo.com> wrote:

> Hi All,
>
>     Thanks for your advice.
>
>     POM3 is depending on POM2.
>
>     The following is POM3:
>
>
>                     <dependencies>
>                 <dependency>
>                         <groupId>pom2GroupId</groupId>
>                         <artifactId>pom2ArtifactId</artifactId>
>                         <version>pom2Version</version>
>                 </dependency>
>                      </dependencies>
>
>      Now, POM3 is ok. But, POM2 is having some issue. Initially POM2 is ok,
> but after built POM1 and POM2 and finally build POM3, POM2 complains that
> ${currentVersion} can not be resolved.
>
>
> Thanks and Regards,
>
> Yee Long
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Enquiry-about-POM-parent-tag-version-tp5823587p5823703.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Adrien Rivard

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message