properties in assembly plugin

2010-03-03 Thread Stefano Nichele
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

Re: properties in assembly plugin

2010-03-03 Thread Stefano Nichele
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 underPATH/lib , othersPATH/bin, others inPATH/licenses. My issue is the I'd

selecting profile in the pom.xml file

2008-05-31 Thread Stefano Nichele
Hi All, in my setting.xml I have two profiles for two project categories. Is it possible to select the profile to use in the pom.xml file so that for any project there is no way to use the wrong profile ? Thanks in advance ste

Re: selecting profile in the pom.xml file

2008-05-31 Thread Stefano Nichele
/activeProfile-- !--=== Choose one of container ===-- activeProfiletomcat5.5/activeProfile /activeProfiles On Sat, May 31, 2008 at 7:48 AM, Stefano Nichele [EMAIL PROTECTED] wrote: Hi All, in my setting.xml I have two profiles for two

How to preserve the file name running deploy:deploy-file ?

2008-04-26 Thread Stefano Nichele
Hi all, running: mvn deploy:deploy-file -Durl=myurl -Dfile=my-file.tgz -Dpackaging=tgz -DgroupId=mygroup -DartifactId=myartifact -Dersion=3.5.1 -DrepositoryId=private the file my-file.tgz is deployed, but in the repository I have: mygroup |myartifact | 3.5.1 |

Filtering java source files

2007-09-30 Thread Stefano Nichele
Hi All, is there a way to filter the java source files ? I have a java class that contains the version of my application and I would like to set that value automatically to the one contained in the pom. I tried putting in my java file: private static final String VERSION =

Re: Filtering java source files

2007-09-30 Thread Stefano Nichele
Yes, this was my first implementation, but it is really easy to update a jar file (in a production environment for instance) without increasing the version in the properties file so I would like to put the version in the source code. Tomislav Stojcevich wrote: Why don't you just put your

Re: Filtering java source files

2007-09-30 Thread Stefano Nichele
to map it back to a specific tag. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- () Stefano Nichele [EMAIL PROTECTED] _.._ Funambol Servers Tech

Re: Filtering java source files

2007-09-30 Thread Stefano Nichele
... On Monday 01 October 2007 05:18, Stefano Nichele wrote: Hi All, is there a way to filter the java source files ? I have a java class that contains the version of my application and I would like to set that value automatically to the one contained in the pom. I tried putting in my java file

How to configure ArchiveManager

2006-11-09 Thread Stefano Nichele
Hi All, from assembly plugin home page : Currently it can create distributions in the following formats: * zip * tar.gz * tar.bz2 * jar * dir * war * and any other format that the ArchiveManager has been configured for My question is, how to configure the ArchiveManager ?

Assembly plugin - packaging chaning the extension

2006-11-06 Thread Stefano Nichele
Hi All, I have a problem with the assembly plug-in. My project builds a war application but the output should be a zip file with the following structure: /webapp/ myapp.war /config configFile1.xml configFile2.xml configFile3.xml I'm using the following assembly descriptor: