Re: overwrite when changing profile

2006-07-15 Thread Kees de Kooter
On 7/14/06, David Beckedorff [EMAIL PROTECTED] wrote: This doesn't appear to scale if you have both dev, test, prod environments and multiple app server environments e.g. jboss, tomcat, oc4j, weblogic. I'd like to be able to do: mvn -Pdev,tomcat or mvn -Pdev,oc4j without having to set up m

Executing java code during build

2006-07-15 Thread Alexander Rau
Hi all, I need to run a custom java class for generating some stubs. How can I integrate something like that into a pom.xml ? This should be similar to the antrun plugin except that it's java code I want to execute. I've seen that it could be possible by using antrun itself, however a more

Re: cargo:uberwar question

2006-07-15 Thread Alex Shneyderman
this is what I get while runing the uberwar traget [INFO] FATAL ERROR: Unable to configure the Maven application Error stacktrace: org.apache.maven.reactor.MavenExecutionException: You must specify descriptor or

Maven book: feedback

2006-07-15 Thread Sebastien Arbogast
Hi, I'm currently in the process of reading Better builds with Maven and to be honnest... I'm quite disappointed. I found Maven Developer's notebook for Maven 1 excellent, and I said it a few times on this list. It's even one of the books I used the most often for some time. And when Vincent

Re: cargo:uberwar question

2006-07-15 Thread Alex Shneyderman
just a typo. should be: descriptorsrc/assemble/merge.xml/descriptor this descriptorIdmerge/descriptorId does not work either with merge.xml being at /uberjar/merge.xml On 7/15/06, Jörg Schaible [EMAIL PROTECTED] wrote: Alex Shneyderman wrote: [snip]

Re: Executing java code during build

2006-07-15 Thread Tim Kettler
Hi, perhaps the exec-maven-plugin [1] is what you want? -Tim [1] http://mojo.codehaus.org/exec-maven-plugin/ Alexander Rau schrieb: Hi all, I need to run a custom java class for generating some stubs. How can I integrate something like that into a pom.xml ? This should be similar to the