RE: [2.0.3] scp with password in settings.xml still needs type in pwd

2006-04-09 Thread Jörg Schaible
Hi Roland, What are you using as scp? There are quite some packages, starting with PuTTY, native OpenSSH and Cygwin's version of it. - Jörg Roland Kofler wrote on Friday, April 07, 2006 5:44 PM: > Thanks again. I have a .ssh dir in my home folder. but he complains > aubout a password at every

RE: Test case failure caused to build failure

2006-04-09 Thread Krishnan A S
There is a tag true which prevents the running of tests. This should be done in pom.xml; inside the maven-surefire plugin under : : : true : : : u don't need to supply in

Re: Test case failure caused to build failure

2006-04-09 Thread Edwin Punzalan
use -Dmaven.test.failure.ignore=true ^_^ Venkatagopalaraju wrote: Dear Maven Users, I am using Maven2.0.2. I am trying to build my project(multiple projects) including test classes. Problem is, If any one test case in my project(while building project) fails, then automatically goe

Test case failure caused to build failure

2006-04-09 Thread Venkatagopalaraju
Dear Maven Users, I am using Maven2.0.2. I am trying to build my project(multiple projects) including test classes. Problem is, If any one test case in my project(while building project) fails, then automatically goes to build failure. But, I don't want to stop build, If anything(test cas

Re: [M2] surefire plugin and JUnit 4

2006-04-09 Thread Wayne Fay
First off, here's a good "junit 4.0 in just 10 minutes" tutorial. It also includes details on running JUnit4 tests in JUnit3: http://www.instrumentalservices.com/content/view/45/52/ This topic has been discussed on the JUnit Yahoogroup email list, so I'd suggest taking a look there for more exampl

Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version

2006-04-09 Thread Carlos Sanchez
to be sure, try removing /home/gpamu/.m2/repository/org/codehaus/plexus Are you behind a proxy? using a mirror? On 4/8/06, Gautham Pamu <[EMAIL PROTECTED]> wrote: > Hi Carlos, > > I now remove the > /home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus- > compiler-1.5.2.pom b

Re: PROBLEM SOLVED : Line too long error when I try to fork the compiler for jdk1.3

2006-04-09 Thread Carlos Sanchez
still interested in submitting the patch? that will save somebody else's time http://jira.codehaus.org/browse/MCOMPILER-22 On 3/12/06, Brett Porter <[EMAIL PROTECTED]> wrote: > On 3/13/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > javac @options @class > Yep, that's how the problem has been

Re: How to develop a new scope

2006-04-09 Thread Wayne Fay
Just wondering, what other scope(s) do you need, and what's the use case? Although Brett has made it clear that its generally not possible... ;-) Wayne On 4/9/06, Brett Porter <[EMAIL PROTECTED]> wrote: > No. > > On 4/9/06, Jacek Laskowski <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I wonder if th

Deployed class files different to local compiled files

2006-04-09 Thread Michael McCrann
Hi, I have come across a strange thing and I was hoping somebody could explain it. I am converting a WAR project from Ant to Maven2. I am doing a series of checks to ensure that the Ant WAR and the Maven WAR are compatiable. The steps in one of these checks is: - Unwar the WAR that has been dep

Re: PROBLEM SOLVED : Line too long error when I try to fork the compiler for jdk1.3

2006-04-09 Thread Carlos Sanchez
It was not fixed, see http://jira.codehaus.org/browse/MCOMPILER-22 On 4/7/06, David J. M. Karlsen <[EMAIL PROTECTED]> wrote: > Sanjay Choudhary skrev: > > >Finally I was able to resolve this issue > > > >On DOS if number of source files or classpath entries are too many we get an > >error "Line to

Re: [m2] Including the source code in a war

2006-04-09 Thread Wendy Smoak
On 4/6/06, Martin Cooper <[EMAIL PROTECTED]> wrote: > Yes, I'm now of the belief that we can't treat this as a plain vanilla > resource thing. However, looking at the source for the war plugin, I see > that a section is permitted, and it looks like this may do > what you want. Unfortunately, my at

Re: [M2] surefire plugin and JUnit 4

2006-04-09 Thread Brett Porter
Support has been submitted (but not yet tested) and is likely to be included in surefire plugin 2.2, along with the already implemented and tested testNG support. In the mean time, you might try this technique: http://www.jroller.com/page/eu?entry=running_junit_4_test_cases - Brett On 4/10/06, J

Re: How to develop a new scope

2006-04-09 Thread Brett Porter
No. On 4/9/06, Jacek Laskowski <[EMAIL PROTECTED]> wrote: > Hi, > > I wonder if there's a way to develop (provide) a new scope beside the > already available ones: compile, test, runtime, provided and system. > Is there any? > > Jacek > > -- > Jacek Laskowski > http://www.laskowski.org.pl > >

Re: How to assign properties to dependencies

2006-04-09 Thread Brett Porter
This has been asked quite a bit before, including in regards to the Geronimo build. Which plugin are you referring to? The assembly plugin should be replacable with the Maven assembly plugin, which was one of them. Any other plugins that do this should use sensible defaults based on scope, and ap

Re: Changing Local Repository

2006-04-09 Thread Allan Ramirez
Hi there, Try to append -U in your command regards, allan Carlos Cadete wrote: Then I change the localRepository in the global settings file, to a new empty directory, and I execute "mvn compile", maven simples gives me [ERROR] BUILD ERROR [INFO] --

Re: [m2] Releases and test builds

2006-04-09 Thread Brett Porter
It's quite a different thing - the site is a remote rsync of two entire directories. This is a copy of a small number of files, and some repository metadata must be updated and most likely is not going to be the same between the two afterwards (as the source repository has 2.0.1, 2.0.2, 2.0.3, whil

Re: Invoking maven from maven

2006-04-09 Thread Marco Tedone
Thank you. That solved the problem brilliantly. - Original Message - From: "Arnaud HERITIER" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Sunday, April 09, 2006 10:42 PM Subject: Re: Invoking maven from maven You can use the maven tag http://maven.apache.org/maven-1.x/tags.html#ma

Re: Invoking maven from maven

2006-04-09 Thread Marco Tedone
I found a solution. I use the multiproject goal to invoke the build process on Folder B from Folder A. - Original Message - From: "Marco Tedone" <[EMAIL PROTECTED]> To: "Maven-Users" Sent: Sunday, April 09, 2006 4:09 PM Subject: Invoking maven from maven Hi, I'm in the need of invoki

Re: Invoking maven from maven

2006-04-09 Thread Arnaud HERITIER
You can use the maven tag http://maven.apache.org/maven-1.x/tags.html#maven:maven Arnaud On 4/9/06, Marco Tedone <[EMAIL PROTECTED]> wrote: > > Hi, I'm in the need of invoking Maven from withing a maven.xml. This is > the > scenario: > > Folder A contains project.xml and maven.xml > Folder B, sub

Re: M2 dependency cause null pointer

2006-04-09 Thread Tom Huybrechts
On 4/9/06, Amund Mortensen <[EMAIL PROTECTED]> wrote: > > Hey, > I'm having a problem with M2, hope you guys can help me. > When I run mvn site I get a null pointer exception, mvn compile works > great. > This is when I got this section in my pom.xml: > > > log4j >Logger >1

Changing Local Repository

2006-04-09 Thread Carlos Cadete
Then I change the localRepository in the global settings file, to a new empty directory, and I execute "mvn compile", maven simples gives me [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:mave

Invoking maven from maven

2006-04-09 Thread Marco Tedone
Hi, I'm in the need of invoking Maven from withing a maven.xml. This is the scenario: Folder A contains project.xml and maven.xml Folder B, subdirectory of A, contains the whole maven project which I want to build. I would need to invoke a goal in B from maven.xml in A. I couldn't find anythi

[M2] surefire plugin and JUnit 4

2006-04-09 Thread Jakub Pawlowicz
Hi, Does anybody know if there's a way to use JUnit 4 with maven-surefire- plugin? It seems that classes which are using the JUnit 4 (annotations etc) are not executed using the standard 'mvn test' command. The surefire plugin has a direct dependency on JUnit 3.8.1, so I guess there is the

Re: M2 dependency cause null pointer

2006-04-09 Thread Boris Lenzinger
did you try to use a repository instead to check if it fails the same way ? I'm using download way and it is working fine. I've tried with the system syntax way and I see that maven is downloading the pom file. May be you are missing it. Building the site and compilation is working fine for me i

M2 dependency cause null pointer

2006-04-09 Thread Amund Mortensen
Hey, I'm having a problem with M2, hope you guys can help me. When I run mvn site I get a null pointer exception, mvn compile works great. This is when I got this section in my pom.xml: log4j Logger 1.2.13 system /var/maven/shelter/src/main/java/trunk/resource

How to assign properties to dependencies

2006-04-09 Thread Jacek Laskowski
Hi, In Apache Geronimo, there exists a plugin that processes some dependencies in a special way. It lists all of them and only those with a property are passed on to a further processing. It was available in M1, but neither is in M2. I wonder how many people found it missing and worked it out. Wha

How to develop a new scope

2006-04-09 Thread Jacek Laskowski
Hi, I wonder if there's a way to develop (provide) a new scope beside the already available ones: compile, test, runtime, provided and system. Is there any? Jacek -- Jacek Laskowski http://www.laskowski.org.pl - To unsubscribe,

Re: [m2] Releases and test builds

2006-04-09 Thread Arnaud HERITIER
Can't we have something similar to the site:deploy/site:publish goals in m1 ? By default the team deploy the artifact on a staging repository and when the release is graded the team publish it on the main repository. I think that it is easy to do in m1. I don't know for m2. Arnaud On 4/9/06, Bret