Setting properties in pom.xml from command line

2011-04-15 Thread Geir Gullestad Pettersen
Hi, Is it possible to inject properties into pom.xml from the command line at runtime? consider this dependency: dependencies dependency groupIdmygroup/groupId artifactIdmyartifact/artifactId version${mygroup-myartifact.version}/version

Copy file

2007-06-15 Thread Geir Gullestad Pettersen
Is there a plugin to copy a specified file during the build process? In src/main/resources I have config-customer1.xml, config-customer2.xml, ...3 and so on.. Depending on which profile I activate when running Maven I need one of these files to be copied to src/main/resources/config.xml so that

Re: Problems with latest snapshot of maven-eclipse-plugin

2007-06-07 Thread Geir Gullestad Pettersen
] Total time: 1 minute 1 second [INFO] Finished at: Thu Jun 07 10:19:05 CEST 2007 [INFO] Final Memory: 4M/8M [INFO] On 6/6/07, Geir Gullestad Pettersen [EMAIL PROTECTED] wrote: I don't know if this is the appropriate mailing

Re: Problems with latest snapshot of maven-eclipse-plugin

2007-06-07 Thread Geir Gullestad Pettersen
Having that said, when I use verison 2.4-20070518.213938-11 instead of 2.4-SNAPSHOT (currently v15) it runs smoothly! 2007/6/7, Geir Gullestad Pettersen [EMAIL PROTECTED]: After doing some more testing it has come to my attention that this problem only occurs when running mvn eclipse:eclipse

Re: Problems with latest snapshot of maven-eclipse-plugin

2007-06-07 Thread Geir Gullestad Pettersen
, basically, to reproduce the problem create a module-project that has at least 1 child module and try running eclipse:eclipse on the main/parent project. 2007/6/7, Geir Gullestad Pettersen [EMAIL PROTECTED]: 2007/6/7, Carlos Sanchez [EMAIL PROTECTED]: I deployed new snapshots but I can't reproduce

Problems with latest snapshot of maven-eclipse-plugin

2007-06-06 Thread Geir Gullestad Pettersen
I don't know if this is the appropriate mailing list for my issue so I do apologize if it is not. I have problems getting the latest SNAPSHOT version of maven-eclipse-plugin-2.4-20070606.213427-14 to work properly. After this snapshot release was deployed to the apache snapshot repository

Re: Specify Context Path for WAR project in Maven2

2007-05-21 Thread Geir Gullestad Pettersen
Thanks, that did wonders! 2007/5/21, [EMAIL PROTECTED] [EMAIL PROTECTED]: Try the buildfinalNameMyWebAppName/finalName/build in the POM. /U -- Original message -- From: geirgp [EMAIL PROTECTED] When I use the jboss plugin to deploy my war project to the