Ahhh - sorry, lackOfCoffeeException()
-----Original Message-----
From: Pablo Saavedra [mailto:[EMAIL PROTECTED]
Sent: Friday, February 22, 2008 10:44 AM
To: Maven Users List
Subject: Re: Archetype plugin - variable output folders for modules
Thanks EJ,
but I think we are talking about different things... I want to define a
module in the archetype-metadata.xml, like this:
<module id="${rootArtifactId}-main" dir="template-main"
name="${rootArtifactId}-main">
so the archetype plugin copy all the resources from the template-main
module
into a myproject-main module in the resulting project....
Thanks!
On 22/02/2008, EJ Ciramella <[EMAIL PROTECTED]> wrote:
>
> Sure, use assembly directory:
>
> <plugin>
> <artifactId>maven-assembly-plugin</artifactId>
> <version>2.2-beta-1</version>
> <configuration>ue>
>
<outputDirectory>C:/some/dir/out/of/source</outputDirectory>
> <appendAssemblyId>false</appendAssemblyId>
> <finalName>SOMEFINALNAME</finalName>
> <descriptors>
> <descriptor>
> path/to/assembly/descriptor/dep.xml
> </descriptor>
> </descriptors>
> </configuration>
> </plugin>
>
>
> -----Original Message-----
> From: Pablo Saavedra [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 22, 2008 10:32 AM
> To: [email protected]
> Subject: Archetype plugin - variable output folders for modules
>
> Hi All,
>
> is there any way to specify an output directory for a module that is
> different from the source directory? For instance, I'd like a module
> contained in folder template-ui to be created as ${rootArtifactId}-ui.
>
> For what I could see, the dir property is used for both input and
output
> directories, so it I use the ${rootArtifactId} property it will tell
me
> that
> it can't find the input folder.
>
> Thanks in advance.
>
>
> ---------------------------------------------------------------------
> 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]