maven-surefire-plugin : when does it abort?

2011-07-08 Thread Marc SCHNEIDER
Hi, I have a test class with several test methods. I suspect Surefire run all the tests even if there is a failure in one method. Am I right? If this is the case, is there a way to tell Surefire to abort as soon as it gets a failure? I'm using JUnit4 Thanks in advance, Marc.

Executing a single method of a test

2011-04-06 Thread Marc SCHNEIDER
Hi, I'm using maven-surefire-plugin 2.7.1 along with JUnit 4.8.2. I'm trying to run : mvn -Dtest=IndexRecordDAOTest#testGetAndList clean test. It fails telling me that there are no tests to run. This command runs wihout any errors : mvn -Dtest=IndexRecordDAOTest clean test What am I missing? (

Re: Dependencies and cargo plugin?

2008-10-24 Thread Marc Schneider
See here : http://repo1.maven.org/maven2/org/codehaus/cargo/cargo-maven-plugin/ Wim Deblauwe a écrit : > In what repo is that version? > > 2008/10/24 Marc Schneider <[EMAIL PROTECTED]> > >> Hello, >> >> I also use the cargo-maven2-plugin but don't

Re: Dependencies and cargo plugin?

2008-10-24 Thread Marc Schneider
Hello, I also use the cargo-maven2-plugin but don't need to specify all these dependencies. Btw I use cargo 1.0-alpha6. Here is my plugin configuration : org.codehaus.cargo cargo-maven2-plugin false tomcat5x

Re: Confused with activeProfile

2008-09-25 Thread Marc Schneider
iroot option must specify a pre-existing directory I get the same if I put it in my settings.xml I'm using : apache-maven-2.1.0-M1 Marc. Jörg Schaible a écrit : > Hi Marc, > > Marc Schneider wrote: >> Hello Brett, >> >> The

Re: Confused with activeProfile

2008-09-25 Thread Marc Schneider
option fails as testLocal profile should be taken by default, AFAIK. Thanks for your help, Marc. Brett Porter a écrit : > 2008/9/18 Marc Schneider <[EMAIL PROTECTED]>: >> So running : >> mvn -P testLocal clean tomcat:deploy >> >> should be equivalent to : >> &g

Re: Error when creating a new project using Maven

2008-09-18 Thread Marc Schneider
Hi, When running maven I have this env. variable set : MAVEN_OPTS=-Xmx512m maybe this can help. Marc. arvindhere a écrit : > Hi Mavenists, > I'm a newbie to maven. I have done with installation of maven and > env-variable settings. > And also have starting mu local maven repository. > > I t

Confused with activeProfile

2008-09-17 Thread Marc Schneider
Hello, I have this default profile in my pom.xml testLocal true This pom has a parent where most of the parameters of this profile are defined. So running : mvn -P testLocal clean tomcat:deploy should be equivalent to : mvn clean tomcat:deploy ? Bu

Re: Charset in war-plugin?

2008-09-09 Thread Marc Schneider
Hi, In your jspc-maven-plugin you can add this : jspc compile ... UTF-8 Marc. Johan S a écrit : > Hi > > I having prob

Re: Excluding a file in resources when compiling

2008-09-04 Thread Marc Schneider
urces = [Resource {targetPath: null, filtering: false, > FileSet {directory: YOUR_PROJECT_DIRECTORY\src\main\resources, PatternSet > [includes: {}, excludes: {**/faces-config.xml}]}}] > > ________ > > From: Marc Schneider [mailto:[EMAIL PROTECTED] > Sent: T

Re: Excluding a file in resources when compiling

2008-09-04 Thread Marc Schneider
don't understand why. Marc. Edelson, Justin a écrit : > Resources aren't "compiled". See > http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html > for information on how to exclude resource files. > > Justin > > ___

Re: Excluding a file in resources when compiling

2008-09-04 Thread Marc SCHNEIDER
Geoffrey Wiseman a écrit : > On Thu, Sep 4, 2008 at 9:07 AM, Marc Schneider > <[EMAIL PROTECTED]>wrote: > >> I have this file : src/main/resources/faces-config.xml >> >> After mvn clean compile this file is put at the root of the classes >> directory.

Re: Excluding a file in resources when compiling

2008-09-04 Thread Marc Schneider
Geoffrey Wiseman a écrit : > On Thu, Sep 4, 2008 at 9:07 AM, Marc Schneider > <[EMAIL PROTECTED]>wrote: > >> I have this file : src/main/resources/faces-config.xml >> >> After mvn clean compile this file is put at the root of the classes >> directory.

Excluding a file in resources when compiling

2008-09-04 Thread Marc Schneider
Hello, I have this file : src/main/resources/faces-config.xml After mvn clean compile this file is put at the root of the classes directory. But I don't want that, so I tried : org.apache.maven.plugins maven-compiler-plugin 1.6 1.4

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread Marc Schneider
Hi, For me the cargo plugin works with Maven 2.0.10-RC9. Here is my plugin configuration : org.codehaus.cargo cargo-maven2-plugin false tomcat5x ${tomcat.local.home} high ${servlet.port} start-container

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread Marc Schneider
You can download it here : http://people.apache.org/~jdcasey/stage/apache-maven/2.0.10-RC9/org/apache/maven/apache-maven/2.0.10-RC9/ Marc. Peter Horlock a écrit : > John, > > were can I download the latest RC? The link you provided doesn't seem to be > working... > > Thanks, > > Peter > --

POM and dependency downloading

2008-08-12 Thread Marc Schneider
Hi all, There is something I don't understand. In my maven repository, I have this POM file (Hibernate Search 3.1.O Beta) with : org.hibernate.apache.lucene.solr apache-solr-analyzer 1.2.0 true When compiling the system complai

Re: [m2] how to specify a tomcat context with the cargo plugin to run in maven?

2008-07-28 Thread Marc Schneider
Rental: http://tahoe.baselogic.com | | | On Fri, Jul 25, 2008 at 9:04 AM, Marc Schneider <[EMAIL PROTECTED]> | wrote: | |> Mick Knutson a écrit : |> |> I want to specify a test version of my tomcat context with my cargo |>> plugin, |>> but can't seem to find anything

Re: [m2] how to specify a tomcat context with the cargo plugin to run in maven?

2008-07-25 Thread Marc Schneider
Mick Knutson a écrit : I want to specify a test version of my tomcat context with my cargo plugin, but can't seem to find anything about that on the site. Is this possible? --- Thank You… Mick Knutson BASE Logic, inc. (415) 354-4215 Website: http://baselogic.com Blog: http://baselogic.com/blo

Re: Archetype:create broken?

2008-05-28 Thread Marc Schneider
Hi, And what about using mvn archetype:generate instead of create ? create goal is deprecated as far as I know. Marc. nodje a écrit : What's with the archetype:create? I suddenly get this error when trying to create a new project: mvn archetype:create -DgroupId=com.company.commons -Dartifact

Re: Executing only one test with Selenium

2008-05-07 Thread Marc Schneider
Hi, I reply to myself : using JUnit you just have to type : mvn -Dtest=MyTestClass Marc. Mick Knutson a écrit : Are you using TestNG for your selenium tests, or JUnit? On Tue, May 6, 2008 at 9:17 AM, Marc Schneider <[EMAIL PROTECTED]> wrote: Hi, I'd like to run a seleni

Re: Executing only one test with Selenium

2008-05-07 Thread Marc Schneider
Mick Knutson a écrit : Are you using TestNG for your selenium tests, or JUnit? Hello, I'm using JUnit. Thanks, Marc. On Tue, May 6, 2008 at 9:17 AM, Marc Schneider <[EMAIL PROTECTED]> wrote: Hi, I'd like to run a selenium test but just for one class. Is it pos

Executing only one test with Selenium

2008-05-06 Thread Marc Schneider
Hi, I'd like to run a selenium test but just for one class. Is it possible to do that (without changing the pom.xml) ? Maybe with an argument in the command line ? Thanks, Marc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Problem with pdfbox-0.7.3.pom

2008-04-25 Thread Marc Schneider
Hello, I don't know if this is the right place to talk about this but I think that this pom is wrong ; http://maven.reucon.com/public/pdfbox/pdfbox/0.7.3/pdfbox-0.7.3.pom You have : 4.0.0 pdfbox pdfbox PDFBox - Java PDF Library 0.7.3 And in fact be