Re: Calling mvn from ant does not propagate errors

2006-02-12 Thread dan tran
I thought ant:exec accepts env settings http://ant.apache.org/manual/index.html -Dan On 2/12/06, Xavier Galleri <[EMAIL PROTECTED]> wrote: > > Ok, it gets working eventually, both with the latest mvn.bat and your > solution (tracked too by > http://jira.codehaus.org/browse/MNG-2002). > > Thx a

RE: Calling mvn from ant does not propagate errors

2006-02-12 Thread Xavier Galleri
Title: RE: Calling mvn from ant does not propagate errors Ok, it gets working eventually, both with the latest mvn.bat and your solution (tracked too by http://jira.codehaus.org/browse/MNG-2002). Thx a lot! -Xavier P.S.: as for setting an env var in ant, it's not possible as far as I know.

Re: [m2] Surefire-Plugin ignores argLine

2006-02-12 Thread Marcin Cetnarski
Hello Jim, Are you working on Windows? There is a bug in Surefire on Windows platform in forkMode. See http://jira.codehaus.org/browse/SUREFIRE-30. Maybe this will help. JB> I am trying to run tests with assertions enabled, but the surefire JB> plugin is apparently ignoring the argLine paramete

Re: [m2] deploy:deploy-file with source?

2006-02-12 Thread Dirk Olmes
Ok, this works but is somewhat hackish: I manually created src/main/java and symlinked the source files into this dir. Then I manually created target/classes and unpacked the jar into this dir. Now running mvn -DperformRelease=true deploy does what I want without attempting to compile the

Re: [m2] Wagon fails with HTTP destination

2006-02-12 Thread Thomas_Perry
Mathew, thanks for the steps. I followed them in our site but still couldn't use webdav to deploy a project jar to our internal repository. I followed your notes about handling the jars in M2_HOME\lib On our repo server, I did MKDIR for all the parent folders (groupId/artifactId/version)

advice for libraries deployment for maven built projects

2006-02-12 Thread Shukla, Sanjay
I was wondering what are recommendations for delivering the libraries that will be required by java runtimes of maven built projects. I package few libraries with the j2ee deployable archives but we have certain libraries on the system classpath as they are huge and common across projects.

[m2] site: copying generated files into target/site for deployment to web

2006-02-12 Thread Treloar, Barrie \(SAPOL\)
What is the best way to copy files that are contained within the project to target/site so that they also get deployed to the web site? Example would include: built jars, config files, or any other file within the project structure. Barrie

Re: how to defined pom.xml scope variable?

2006-02-12 Thread William wang
Damian : thanks On 2/10/06, Damian Krzeminski <[EMAIL PROTECTED]> wrote: > > William wang wrote: > > hi: > > in ant build.xml we can define a variable refer in furture like this: > > > > > > > > refer like this: > > > > > > > > but in maven 2.x pom.xml ,how to define a similar pom variable refe

RE: maven-proxy and snapshots problem

2006-02-12 Thread Treloar, Barrie \(SAPOL\)
> I am a bit confused about what you said. The page says : > However the repositoryDefinitions profile section can be made > simpler by using a proxy infront of the internal repositories. > > What I understand from this (and which sounds obvious to me) is: if you're > using maven-proxy

Re: Jalopy plugin problem

2006-02-12 Thread Wendy Smoak
On 2/12/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > I also prefer to find a fix for everybody in the 1.4.X without to have > to create a branch. But it depends if there's really a bug in jalopy > 1.5b5 or if this is a bug in our plugin. Did you try some others > jalopy beta ? I tried 1.5b3-

[ANN] Maven RAR Plugin 1.1 released

2006-02-12 Thread snicoll
The maven team is pleased to announce the Maven RAR Plugin 1.1 release! http://maven.apache.org/maven-1.x/reference/plugins/rar/ Rar Plugin for Maven Changes in this version include: New Features: o Added maven.rar.final.name property. Issue: MPRAR-2. o Add xdocs/changes.xml Fixed bug

[ANN] Maven Javacc Plugin 1.2 released

2006-02-12 Thread snicoll
The maven team is pleased to announce the Maven Javacc Plugin 1.2 release! http://maven.apache.org/maven-1.x/reference/plugins/javacc/ Changes in this version include: Fixed bugs: o Output directory for generated files can be configured Issue: MPJAVACC-3. Changes: o Update dependencie

Re: Newbie question

2006-02-12 Thread Alexandre Poitras
For instance 'mvn compile' will compile all the child modules while taking care of their interdependencies. On 2/12/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote: > On Sun, Feb 12, 2006 at 06:48:21AM -0500, Alexandre Poitras wrote: > > Yeah if you run the command in your parent directory, mave

snapshot commit to SVN

2006-02-12 Thread Roland Kofler
Hi, I need to commit the generated snapshot to a SVN URL, I setted the server in settings.xml deploymentRepo roland.kofler and in pom.xml: org.apache.maven.wagon wagon-scm 1.0-alpha-3 deploymentRepo

Re: Newbie question

2006-02-12 Thread Eugeny N Dzhurinsky
On Sun, Feb 12, 2006 at 06:48:21AM -0500, Alexandre Poitras wrote: > Yeah if you run the command in your parent directory, maven will > resolve the dependencies. you mean something like 'mvn compile module2' ? -- Eugene N Dzhurinsky --

RE: How to bind execution of integration tests to integration-test phase

2006-02-12 Thread Vincent Massol
Actually there's another solution that is available right now: Defining the integration-test process in your tests. For example, you can create an integration-test project as you have done but all the different actions are chained inside your test suite: * create the cactified WAR (this is very e

Re: Newbie question

2006-02-12 Thread Alexandre Poitras
Yeah if you run the command in your parent directory, maven will resolve the dependencies. On 2/12/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote: > On Sat, Feb 11, 2006 at 07:23:58PM -0500, Alexandre Poitras wrote: > > You problably forgot to add a parent reference in your different > > module

RE: How to bind execution of integration tests to integration-test phase

2006-02-12 Thread Vincent Massol
Hi Pete, Yes, you've found the only possible way as of now to perform integration testing with Maven 2. As you say yourself, Maven 2 need to offer better support for integration testing to make it more streamlined and less complex. Thanks a lot for your feedback! -Vincent PS: Would you be intere

Re: Newbie question

2006-02-12 Thread Eugeny N Dzhurinsky
On Sat, Feb 11, 2006 at 07:23:58PM -0500, Alexandre Poitras wrote: > You problably forgot to add a parent reference in your different > modules. After that, you just need to run the command in the directory > of your parent project, wich has a pom packaging declared, and Maven > will figure out the

Re: Jalopy plugin problem

2006-02-12 Thread Arnaud HERITIER
I also prefer to find a fix for everybody in the 1.4.X without to have to create a branch. But it depends if there's really a bug in jalopy 1.5b5 or if this is a bug in our plugin. Did you try some others jalopy beta ? For the problem of dependencies it's due to the classloader hierarchy in maven