I'm testing with build 110 and have found an error with one of our current
builds (it works through 3.3.9).  It's a bit of an odd-ball case.

We have a child parent pom module that has several children if its own.
One of those child modules uses a variable for the module name.  E.g.

<modules>
    <module>exchange</module>
    <module>asw</module>
    <module>third-party-jax-ws-model</module>
    <module>${jmsedm-artifactId.new}</module>
    <module>third-party-enterprise-messaging</module>
    <module>third-party-ccsds</module>
</modules>

In the parent pom we have that property defined as:

<jmsedm.version>3.3.0</jmsedm.version>
<jmsedm-artifactId.new>jmsedm-v${jmsedm.version}</jmsedm-artifactId.new>

With the 110 build we get this error:

[ERROR]   The project com.jms.external:third-party:11.x-SNAPSHOT
(C:\svn\trunk\third-party\pom.xml) has 1 error
[ERROR]     Child module C:\svn\trunk\third-party\${jmsedm-artifactId.new}
of C:\svn\trunk\third-party\pom.xml does not exist

I've never used variables for module names before so I don't know if this
is a regression or if it's intended to prevent this going forward, but it
used to work fine.

Regards,
-Dave



On Mon, Aug 15, 2016 at 4:24 AM, Samuel Langlois <
samuel.langl...@alfresco.com> wrote:

> On 13/08/2016 01:47, Christian Schulte wrote:
> > Am 08/12/16 um 15:58 schrieb Samuel Langlois:
> > > Thanks for your answer Robert.
> > > It is a bit more complicated than just being unable to override a
> > property.
> > > It's more that you can't change a dependencyManagement defined above by
> > > overriding a property.
> > > Anyway, I think it deserves an issue to be looked at properly, so I
> > created
> > > https://issues.apache.org/jira/browse/MNG-6079
> >
> > That issue has been fixed. You can test the fix using a recent
> > 3.4.0-SNAPSHOT available from here:
> > <https://builds.apache.org/job/maven-3.3-release-status-build/>.
>
> Indeed, the previous behaviour is now restored. And my build passes fine
> :-)
> Thanks a lot for your support
> --
> Samuel Langlois
>
>
>
> --
> View this message in context: http://maven.40175.n5.nabble.
> com/Preleminary-Maven-3-4-0-SNAPSHOT-Testing-Take-3-tp5874456p5877978.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to