dev@glassfish.java.net

Re: appserv-addons maven.xml

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 12 Sep 2005 20:37:16 -0400

Hi Mathew,

..catching up :-)

Matthew L Daniel wrote:
> When I run 'bootstrap' in appserv-addons (as per the work around
> discussed here:
> https://glassfish.dev.java.net/servlets/ReadMsg?list=dev&msgNo=217
> )
>
> I find the following output:
>
>
>><extend>../bootstrap/maven.xml</extend>build:start:
>
>
> which is the behavior I have encountered with Maven when it sees a tag
> it doesn't understand - it just copies it to stdout.
>
> And sure enough, in appserv-addons/maven.xml, underneath the CDDL block
> is an extend tag. I don't believe that maven.xml can have an extend tag
> in the same way project.xml can.

Yes you can:

http://maven.apache.org/using/customising.html

and that's why every module/maven.xml aren't containing all the code
from bootstrap/maven.xml (ex: invoke-ant). The goal of sharing the
bootstrap/maven.xml is to avoid replicating all the build customization
to every module. It would not be required if we were using Maven without
build.xml, but we are not yet there. For your issue, I will take a look
why only appserv-addons is broken (since it is a new module).

Thanks

-- Jeanfrancois

>
> -- /v\atthew
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>