You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stefano Nichele <st...@gmail.com> on 2010/03/03 12:35:44 UTC
properties in assembly plugin
Hi All,
in my assembly file I have several fileSets sections and some of them
are used to copy some files under <PATH>/lib , others <PATH>/bin, others
in <PATH>/licenses. My issue is the I'd like to have <PATH> configured
just in one place and not replicated in all fileSets sections.
Is there a way to set in once in the assembly file or in the pom.xml as
configuration property ?
Thanks in advance
ste
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: properties in assembly plugin
Posted by Stefano Nichele <st...@gmail.com>.
Thanks and sorry....
it was easy ...
ste
On 03/03/2010 12.59, Andreas M wrote:
>
>
> Stefano Nichele-2 wrote:
>
>> Hi All,
>> in my assembly file I have several fileSets sections and some of them
>> are used to copy some files under<PATH>/lib , others<PATH>/bin, others
>> in<PATH>/licenses. My issue is the I'd like to have<PATH> configured
>> just in one place and not replicated in all fileSets sections.
>>
>> Is there a way to set in once in the assembly file or in the pom.xml as
>> configuration property ?
>>
>> Thanks in advance
>> ste
>>
>>
> Well, I reference ${project.build.directory} with no problems in my
> assembly.xml, so you should just be able to define a property in your pom
> and go with it.
> Does that not work?
>
> /Andreas
>
--
Stefano Nichele
Funambol Chief Architect
Funambol :: Open Source Mobile Cloud Sync and Push Email
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: properties in assembly plugin
Posted by Andreas M <an...@gmail.com>.
Stefano Nichele-2 wrote:
>
> Hi All,
> in my assembly file I have several fileSets sections and some of them
> are used to copy some files under <PATH>/lib , others <PATH>/bin, others
> in <PATH>/licenses. My issue is the I'd like to have <PATH> configured
> just in one place and not replicated in all fileSets sections.
>
> Is there a way to set in once in the assembly file or in the pom.xml as
> configuration property ?
>
> Thanks in advance
> ste
>
Well, I reference ${project.build.directory} with no problems in my
assembly.xml, so you should just be able to define a property in your pom
and go with it.
Does that not work?
/Andreas
--
View this message in context: http://old.nabble.com/properties-in-assembly-plugin-tp27767079p27767294.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