On some things that happens automatically. The child's additional path
element gets added to the default from the parent.

I do not remember which do it and which dont. One that seems to do it is the
scm url. Another is the deployment url.

-- Lee Meador

On 5/5/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

I think there needs to be some additional POM elements that allows a
parent POM to provide defaults to a child POM that are different from
the values used by the parent POM itself.

Here's an example:

In my parent POM, I want to say

<url>http://tapestry.apache.org/tapestry5/</url>

But I want all my child modules to use the URL:

<url>http://tapestry.apache.org/tapestry5/${pom.artifactId}</url>


I could see this expressed, in my parent pom, as something like:

<project> ...
  <url>http://tapestry.apache.org/tapestry5/</url>

  ...

  <childDefaults>
    <url>http://tapestry.apache.org/tapestry5/${pom.artifactId}</url>
  </childDefaults>

  ...
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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




--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

Reply via email to