RE: Text Substitution

2008-03-27 Thread Andrew Boyer
Check out http://maven.apache.org/guides/getting-started/index.html#How_do_I_filte r_resource_files. That may get you started. Andrew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2008 3:14 PM To: users@maven.apache.org Subject: Text

RE: How to do incremental build?

2007-10-10 Thread Andrew Boyer
Incremental builds can be done by not calling the clean target. In continuum, I believe the default targets are 'clean install'. If you change that to just 'install', you'll be doing incrementals. I haven't tried this, but it should work, since continuum maintains one working directory per

RE: classifier for maven deploy plugin

2007-08-30 Thread Andrew Boyer
John, I had a similar issue, where I wanted to copy my assembly to a network drive, but only on the releng machines. I ended up using a manually activated profile to do this. My deployment directory variable was set during automatically activated profiles based on the platform it was running

Assembly descriptors: excludes in filesets not excluding

2007-08-06 Thread Andrew Boyer
I have a basic assembly descriptor like this: assembly iddist/id formats formatzip/format formattar.gz/format /formats includeBaseDirectoryfalse/includeBaseDirectory fileSets fileSet directorytarget/dist/directory outputDirectory//outputDirectory excludes

RE: [m2] How to catch errors when running mvn?

2007-08-06 Thread Andrew Boyer
A good example of how to do this is in the mvn.bat batch file. Open it up, search for Start MAVEN2, and then notice how it checks the return value. Also notice that you'll need to set the environmental variable MAVEN_TERMINATE_CMD for the batch file to return errors. Andrew -Original

RE: Assembly plugin includes directories

2007-07-30 Thread Andrew Boyer
Check your assembly descriptor for A:B and A:C, make sure you've set the includeBaseDirectory property for them to false. Andrew -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 5:43 PM To: Maven Users List Subject: Assembly plugin

module assembly

2007-07-24 Thread Andrew Boyer
I have a project with three modules. I've set up the modules so that they correctly build their assembly using mvn assembly:assembly. When I try to invoke assembly:assembly from the project (i.e. parent) directory, it doesn't seem to call that target on the modules. Am I missing something here?