Require particular JDK version

2007-06-04 Thread David Corbin
Is it possible to have the build fail if a particular version of the JDK is not being used? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Deactivating profiles

2007-05-10 Thread David Corbin
On Wednesday 09 May 2007 11:48:00 John Casey wrote: It's a little hackish, but if you have a profile that's activeByDefault, and you want to disable it deliberately, then you can create an empty, dummy profile, and activate that. So: profile iddummy/id /profile then: mvn -P dummy

Re: Deactivating profiles

2007-05-10 Thread David Corbin
On Thursday 10 May 2007 08:52:04 Stephen Coy wrote: Hi, There's a trick to this I discovered about six months ago. It is possible to define a profile that is active when an env variable is *not* defined: profile activation property

Deactivating profiles

2007-05-08 Thread David Corbin
Twice this week for two seperate reasons, I've wanted to use profiles where it was active by default, but it would be possible to de-activate it based on property. I don't see anyway to do this. Am I missing something? Thanks David

Default property values

2007-05-08 Thread David Corbin
When I used to do ant, I always got frustrated by the way properties were immutable. I was always trying to use them as variables. Now, I find myself wanting them back. I would like to be able to declare proprties in my POM such that it will NOT replace/define the property if it is already

Re: [Spam] Re: release plugin (scm via cvs)

2007-05-07 Thread David Corbin
On Friday 04 May 2007 14:24, Stephane Nicoll wrote: On 5/4/07, David Corbin [EMAIL PROTECTED] wrote: On Friday 04 May 2007 13:56, Emmanuel Venisse wrote: What is your directory structure? inventory.ws com.enttek.concessions-master com.enttek.concessions.common

Re: [Spam] Re: release plugin (scm via cvs)

2007-05-07 Thread David Corbin
On Friday 04 May 2007 14:43, Roland Asmann wrote: On Friday 04 May 2007 20:16, David Corbin wrote: On Friday 04 May 2007 13:56, Emmanuel Venisse wrote: Flat directories aren't supported. Right. Unfortunately, Eclipse *only* supports flat directories. That depends. It is possible

Re: Version number propogation

2007-05-07 Thread David Corbin
On Sunday 06 May 2007 19:20, Bryan Loofbourrow wrote: I believe that you are correct about not being able to parameterize the project parent tag, or so a co-worker tells me. He conjectures that the parent resolution is required before resolution of property names. That makes sense, since, in

release plugin (scm via cvs)

2007-05-04 Thread David Corbin
I'm trying to use the release plugin. When I do release:prepare it fails when it tries to commit the pom.xml files with this error: [INFO] Checking in modified POMs... [INFO] [ERROR] BUILD ERROR [INFO]

Re: [Spam] Re: release plugin (scm via cvs)

2007-05-04 Thread David Corbin
On Friday 04 May 2007 13:56, Emmanuel Venisse wrote: What is your directory structure? inventory.ws com.enttek.concessions-master com.enttek.concessions.common com.enttek.concessions.homeoffice Flat directories aren't supported. Right. Unfortunately, Eclipse *only*

Re: [Spam] Is there any way to get timestamp in maven?

2007-04-19 Thread David Corbin
On Wednesday 18 April 2007 17:41, Chen Li wrote: Hi, It might be a very basic question. I want to add timestamp to the distribute, for instance ${DSTAMP}.war . Is there any similar way in maven can do it like what tstamp/ does in ant? You can use Groovy.