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.
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? (
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
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
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
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
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
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
Hi,
In your jspc-maven-plugin you can add this :
jspc
compile
...
UTF-8
Marc.
Johan S a écrit :
> Hi
>
> I having prob
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
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
>
> ___
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.
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.
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
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
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
>
--
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
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
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
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
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
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
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
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
24 matches
Mail list logo