Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-23 Thread Stephane Passignat
ne Le 2023-02-16 à 11:58, Olivier Lamy a écrit : On Thu, 16 Feb 2023 at 20:52, Olivier Lamy wrote: On Thu, 16 Feb 2023 at 20:07, Delany wrote: Hi Stephane, You can do like this maven-surefire-plugin 3.0.0-M9 org

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-23 Thread Tamás Cservenák
candidate, or not... > > > I hope this helps to understand. > > regards, > > > Stephane > > > Le 2023-02-16 à 11:58, Olivier Lamy a écrit : > > On Thu, 16 Feb 2023 at 20:52, Olivier Lamy wrote: > >> On Thu, 16 Feb 2023 at 20:07, Delany > wrote: > >>&g

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-23 Thread Alexander Kriegisch
023-02-16 à 11:58, Olivier Lamy a écrit : >> On Thu, 16 Feb 2023 at 20:52, Olivier Lamy wrote: >>> On Thu, 16 Feb 2023 at 20:07, Delany wrote: >>>> Hi Stephane, >>>> >>>> You can do like this >>>> >>>> >>&

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-22 Thread Stephane Passignat
ot... I hope this helps to understand. regards, Stephane Le 2023-02-16 à 11:58, Olivier Lamy a écrit : On Thu, 16 Feb 2023 at 20:52, Olivier Lamy wrote: On Thu, 16 Feb 2023 at 20:07, Delany wrote: Hi Stephane, You can do like this maven-surefire-plugin

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Delany
Oh right, I thought he was going to fix something in surefire There's also https://maven.apache.org/guides/mini/guide-attached-tests.html - - org.apache.maven.plugins - maven-surefire-plugin - ${surefire.ve

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Mikael Åsberg
gt; https://scrum-master.de > >>>> > >>>> > >>>> Olivier Lamy schrieb am 16.02.2023 um 11:58: > >>>>> On Thu, 16 Feb 2023 at 20:52, Olivier Lamy wrote: > >>>>>> > &g

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Alexander Kriegisch
Lamy schrieb am 16.02.2023 um 11:58: >>>>> On Thu, 16 Feb 2023 at 20:52, Olivier Lamy wrote: >>>>>> >>>>>> On Thu, 16 Feb 2023 at 20:07, Delany wrote: >>>>>>> >>>>>>> Hi Stephane, >>>>>>> >>>>

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Mikael Åsberg
; > >>>> On Thu, 16 Feb 2023 at 20:07, Delany wrote: > >>>>> > >>>>> Hi Stephane, > >>>>> > >>>>> You can do like this > >>>>> > >>>>> > >>>>>

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Alexander Kriegisch
b am 16.02.2023 um 11:58: >>> On Thu, 16 Feb 2023 at 20:52, Olivier Lamy wrote: >>>> >>>> On Thu, 16 Feb 2023 at 20:07, Delany wrote: >>>>> >>>>> Hi Stephane, >>>>> >>>>> You can do lik

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Mikael Åsberg
; >>> > >>> Hi Stephane, > >>> > >>> You can do like this > >>> > >>> > >>> maven-surefire-plugin > >>> 3.0.0-M9 > >>> > >>> > >>>

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Alexander Kriegisch
023 at 20:52, Olivier Lamy wrote: >> >> On Thu, 16 Feb 2023 at 20:07, Delany wrote: >>> >>> Hi Stephane, >>> >>> You can do like this >>> >>> >>> maven-surefire-plugin >>>

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Olivier Lamy
On Thu, 16 Feb 2023 at 20:52, Olivier Lamy wrote: > > On Thu, 16 Feb 2023 at 20:07, Delany wrote: > > > > Hi Stephane, > > > > You can do like this > > > > > > maven-surefire-plugin > > 3.0.0-M9 > >

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Olivier Lamy
On Thu, 16 Feb 2023 at 20:07, Delany wrote: > > Hi Stephane, > > You can do like this > > > maven-surefire-plugin > 3.0.0-M9 > > > org.apache.commons >

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Delany
Hi Stephane, You can do like this maven-surefire-plugin 3.0.0-M9 org.apache.commons commons-email 1.5 On Thu, 16 Feb 2023 at 11:25, Stephane Passignat wrote: > He

maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Stephane Passignat
Hello, Is it possible to add a maven artifact as an additionalClasspathElement ? I tried this syntax, inspired by the exclusion mechanism, but it's not working. org.apache.maven.plugins maven-surefire-plugin 3.0

Injecting JUnit-4 Parallel Execution Parameters in Surefire Plugin

2022-11-29 Thread Kamalpreet Kaur
Hi Everyone, I'm currently creating a package from where I would want to set JUnit parallel execution parameters like below : *classesAndMethods 1 1 false* I'm planning to use Instrumentation API to inject these parameters. I tried to find the correct place where I can do so, but failed to find

Re: Are "M" versions of Surefire plugin pre-release?

2022-09-06 Thread Bernd Eckenfels
suggests otherwise: https://maven.apache.org/surefire/maven-surefire-plugin/history.html - maybe it should give an ETA or the number of upcoming milestones… BTW the release notes link on the m-s-p subsite is broken. BTW in maven numbing the -M qualifiers will sort before the unqualified 3.0.0

Are "M" versions of Surefire plugin pre-release?

2022-09-05 Thread Олег АндреичЪ
Hello Are "M" versions of the Surefire plugin (like 3.0.0-M7) pre-release? Should one use "M" versions or the latest version without "M" (2.22.2)? Usually, I see "M" as a "Milestone," which is pre-release, but I want to be sure this time. Unf

[ANN] Apache Maven Surefire Plugin 3.0.0-M6 Released

2022-04-04 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 3.0.0-M6. The release contains 111 bug fixes. Again we received contributions from the community in the form of bug reports and bug fixes. Thank you and keep them coming! https

Re: maven-surefire-plugin jdkToolchain meets forkCount

2021-08-27 Thread Delany
Yes it looks that way. I changed the system jdk to 16 and now I can pick a jdk with the toolchains plugin and without any surefire config. Its basically https://issues.apache.org/jira/browse/MTOOLCHAINS-28 all over again but with surefire-plugin Want a ticket? Delany On Thu, 26 Aug 2021 at 17:50

Re: maven-surefire-plugin jdkToolchain meets forkCount

2021-08-26 Thread Thomas Broyer
Aug 26, 2021 at 3:32 PM Delany wrote: > Hi. Im having trouble with the jdkToolchain feature of > maven-surefire-plugin > > https://maven.apache.org/surefire/maven-surefire-plugin/examples/toolchains.html > This is my working build tag > > > >

Re: maven-surefire-plugin jdkToolchain meets forkCount

2021-08-26 Thread Mantas Gridinas
va9 with toolchains.xml https://maven.apache.org/surefire/maven-surefire-plugin/java9.html org.apache.maven.plugins maven-toolchains-plugin 1.1 validate toolchain 9 On Thu,

maven-surefire-plugin jdkToolchain meets forkCount

2021-08-26 Thread Delany
Hi. Im having trouble with the jdkToolchain feature of maven-surefire-plugin https://maven.apache.org/surefire/maven-surefire-plugin/examples/toolchains.html This is my working build tag maven-compiler-plugin 8

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-19 Thread Tibor Digana
We will do our best as well. On one hand TeamCity uses flowId based on Thread ID, the surefire plugin can use a similar mechanism we used before in surefire-junit47-provider and we can identify the lines of system output by Thread ID. T On Wed, Feb 17, 2021 at 6:31 PM Jay Crosley wrote: >

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-17 Thread Jay Crosley
er issue you may be facing. We are approaching the fix step by step. Cheers Tibor On Tue, Feb 16, 2021 at 11:04 PM Jay Crosley wrote: > I’m trying to get junit5 tests to run in parallel using the maven surefire > plugin, as described on > https://urldefense.proofpoint.com/v2

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-17 Thread Tibor Digana
by step. Cheers Tibor On Tue, Feb 16, 2021 at 11:04 PM Jay Crosley wrote: > I’m trying to get junit5 tests to run in parallel using the maven surefire > plugin, as described on > https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html. &

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Laird Nelson
On Tue, Feb 16, 2021 at 4:18 PM Jay Crosley wrote: > I take it back, the maven-failsafe-plugin works with the junit > configuration options you suggested. That was the one combination I hadn’t > tried. Woo hoo! > I should have mentioned: there are no other configuration settings necessary. Best

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Jay Crosley
I take it back, the maven-failsafe-plugin works with the junit configuration options you suggested. That was the one combination I hadn’t tried. Woo hoo! From: Laird Nelson Date: Tuesday, February 16, 2021 at 4:01 PM To: Maven Users List Subject: Re: Maven surefire plugin: parallel

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Laird Nelson
On Tue, Feb 16, 2021 at 4:00 PM Jay Crosley wrote: > Thank you. That looked promising but alas, I get the same result. I tried > those with and without the other surefire configurations for running > parallel tests. I also tried (from browsing the web) the > maven-failsafe-plugin with the various

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Jay Crosley
. From: Laird Nelson Date: Tuesday, February 16, 2021 at 2:56 PM To: Maven Users List Subject: Re: Maven surefire plugin: parallel configuration not running tests in parallel JUnit5 does this in a strange way and they don't make it obvious. Try a recipe like this: maven-surefire-p

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Laird Nelson
JUnit5 does this in a strange way and they don't make it obvious. Try a recipe like this: maven-surefire-plugin junit.jupiter.execution.parallel.enabled=true junit.jupiter.execution.parallel.mode.default=concurrent Best, Lair

Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Jay Crosley
I’m trying to get junit5 tests to run in parallel using the maven surefire plugin, as described on https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html. Despite configuration that looks correct, I can’t get them to run in parallel. I’ll

[ANN] Apache Maven Surefire Plugin 3.0.0-M5 Released

2020-06-19 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 3.0.0-M5. The release contains 40 bug fixes. Again we received contributions from the community in the form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org

[maven-surefire-plugin] message published by JUnit5-TestReporter does not appear in surefire report

2020-01-15 Thread Knoche, Heinz
Hello, I uploaded this simple project to illustrate my observation: https://github.com/gabalawi/junit5-testreporter Maybe someone could help me with clarifying - if there is a bug or lacking feature in the surefire plugin - or if I did not properly configure the surefire plugin - or if it is up

[ANN] Apache Maven Surefire Plugin 3.0.0-M4 Released

2019-11-16 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 3.0.0-M4. The release contains 43 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org

Re: surefire-plugin v3.0.0-M4 release

2019-08-22 Thread Tibor Digana
ug 22, 2019 at 11:38 PM Walid Bounouar wrote: > Hi, > > I am just wondering if there is a timeline for the release of the > surefire-plugin version 3.0.0-M4 or if there's a way for me to track such a > thing? > > Thanks for the help! > > Walid Bounouar >

surefire-plugin v3.0.0-M4 release

2019-08-22 Thread Walid Bounouar
Hi, I am just wondering if there is a timeline for the release of the surefire-plugin version 3.0.0-M4 or if there's a way for me to track such a thing? Thanks for the help! Walid Bounouar

Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

2019-08-22 Thread Moina Farheen
t; Hi, > > > > I am a beginner and just started to learn maven for my project. I was > > reading about surefire plugin on the site and found this - > > > > image.png > > > > As I see here, there are 3 goals in this plugin but why does it say there > >

Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

2019-07-26 Thread Tibor Digana
Hello Moina, I have reported this issue in JIRA https://issues.apache.org/jira/browse/SUREFIRE-1684 Cheers Tibor17 On Fri, Jul 19, 2019 at 2:26 PM Moina Farheen wrote: > Hi, > > I am a beginner and just started to learn maven for my project. I was > reading about surefire plugin

Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

2019-07-24 Thread Moina Farheen
t; > On Fri, Jul 19, 2019 at 2:26 PM Moina Farheen > wrote: > > > Hi, > > > > I am a beginner and just started to learn maven for my project. I was > > reading about surefire plugin on the site and found this - > > > > image.png > > > > As

Re: There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

2019-07-19 Thread Tibor Digana
rk around for SUREFIRE-2 <https://issues.apache.org/jira/browse/SUREFIRE-257> On Fri, Jul 19, 2019 at 2:26 PM Moina Farheen wrote: > Hi, > > I am a beginner and just started to learn maven for my project. I was > reading about surefire plugin on the site and found this - &g

There seems to be a mistake in the documentation - MAVEN SUREFIRE PLUGIN

2019-07-19 Thread Moina Farheen
Hi, I am a beginner and just started to learn maven for my project. I was reading about surefire plugin on the site and found this - image.png As I see here, there are 3 goals in this plugin but why does it say there "Surefire Report Plugin only has one goal" Have I misunderstood?

[ANN] Apache Maven Surefire Plugin 2.22.2 Released

2019-05-05 Thread Enrico Olivelli
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.22.2. The release contains 1 bug fix about JUnit 5 Compatibility Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http

Re: Surefire plugin with multi-release?

2019-04-08 Thread Mark Derricutt
Well this escalated quickly :) Now to find some time to look at this. I'll pull the plugin code later On 6 Apr 2019, at 19:52, Tibor Digana wrote: > Mark, do not forget to update documentation with certain usecase(s). > Configure your tool (prefer IntelliJ IDEA) with code style, see the

Re: Surefire plugin with multi-release?

2019-04-06 Thread Tibor Digana
gt; >>> https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#jdkToolchain >>> >>> On Thu, 04 Apr 2019 23:54:38 +0200, Tibor Digana >>> >>> wrote: >>> >>> > You can use Toolchain with Failsafe plugin: >>> > https://

Re: Surefire plugin with multi-release?

2019-04-06 Thread Tibor Digana
> >> [1] >> >> https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#jdkToolchain >> >> On Thu, 04 Apr 2019 23:54:38 +0200, Tibor Digana >> >> wrote: >> >> > You can use Toolchain with Failsafe plugin: >> > https

Re: Surefire plugin with multi-release?

2019-04-06 Thread Tibor Digana
, 04 Apr 2019 23:54:38 +0200, Tibor Digana > > wrote: > > > You can use Toolchain with Failsafe plugin: > > https://maven.apache.org/surefire/maven-surefire-plugin/java9.html > > but you can configure multiple executions and phases for the > > maven-toolc

Re: Surefire plugin with multi-release?

2019-04-05 Thread Robert Scholte
/compile-mojo.html#jdkToolchain On Thu, 04 Apr 2019 23:54:38 +0200, Tibor Digana wrote: You can use Toolchain with Failsafe plugin: https://maven.apache.org/surefire/maven-surefire-plugin/java9.html but you can configure multiple executions and phases for the maven-toolchains-plugin. On Thu

Re: Surefire plugin with multi-release?

2019-04-04 Thread Tibor Digana
You can use Toolchain with Failsafe plugin: https://maven.apache.org/surefire/maven-surefire-plugin/java9.html but you can configure multiple executions and phases for the maven-toolchains-plugin. On Thu, Apr 4, 2019 at 11:09 PM Mark Derricutt wrote: > On 5 Apr 2019, at 6:29, Robert Scho

Re: Surefire plugin with multi-release?

2019-04-04 Thread Mark Derricutt
On 5 Apr 2019, at 6:29, Robert Scholte wrote: > If you want to test the jar, you must use the failsafe plugin (or bind > surefire to the integration-test phase) Can/could failsafe take a toolchain id as config, then you could configure additional executions using each toolchain you wanted? --

Re: Surefire plugin with multi-release?

2019-04-04 Thread Robert Scholte
tps://maven.apache.org/plugins/maven-compiler-plugin/multirelease.html On Thu, 04 Apr 2019 18:14:58 +0200, Russell Gold wrote: As of 3.8.0, the maven-compiler-plugin will place javaNNN source under META-INF/versions/NNN, which makes them ready for the jar plugin. But the surefire plugin ig

Re: Surefire plugin with multi-release?

2019-04-04 Thread Russell Gold
ce under >> META-INF/versions/NNN, which makes them ready for the jar plugin. But the >> surefire plugin ignores them! Is there a way to get the surefire plugin to >> run against them? They would need to be added on the class path ahead of the >> main output directory. I

Re: Surefire plugin with multi-release?

2019-04-04 Thread Robert Scholte
14:58 +0200, Russell Gold wrote: As of 3.8.0, the maven-compiler-plugin will place javaNNN source under META-INF/versions/NNN, which makes them ready for the jar plugin. But the surefire plugin ignores them! Is there a way to get the surefire plugin to run against them? They would need

Surefire plugin with multi-release?

2019-04-04 Thread Russell Gold
As of 3.8.0, the maven-compiler-plugin will place javaNNN source under META-INF/versions/NNN, which makes them ready for the jar plugin. But the surefire plugin ignores them! Is there a way to get the surefire plugin to run against them? They would need to be added on the class path ahead of

[ANN] Apache Maven Surefire Plugin 3.0.0-M3 Released

2018-12-23 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 3.0.0-M3. The release contains 6 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org

[ANN] Apache Maven Surefire Plugin 3.0.0-M2 Released

2018-12-09 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 3.0.0-M2. The release contains 15 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org

Tests fails after switching to maven-surefire-plugin 3.0.0-M1

2018-11-21 Thread Maxim Solodovnik
Hello, At Apache Wicket we hit issue described here https://stackoverflow.com/a/53016532/1676516 (tests fails when OpenJDK 8u181 is used) To fix it we have tried to update maven-surefire-plugin (2.20 -> 3.0.0-M1) Tests for one module (CDI-1.1) fails for both OpenJDK and OracleJDK I tried to

[ANN] Apache Maven Surefire Plugin 3.0.0-M1 Released

2018-11-08 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 3.0.0-M1 The release contains 5 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org

[ANN] Apache Maven Surefire Plugin version 2.22.1 Released

2018-10-14 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.22.1 The release contains 17 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org/plugins

Re: How to work java 9 modules with Maven Surefire Plugin?

2018-09-24 Thread Thorsten Heit
Hi, > I want to test my JPMS module using maven surefire plugin (2.22) > with junit5. For this I added the following to my pom: > > ... > >org.junit.jupiter >junit-jupiter-engine >5.3

How to work java 9 modules with Maven Surefire Plugin?

2018-09-13 Thread Alex Sviridov
Hi all, I want to test my JPMS module using maven surefire plugin (2.22) with junit5. For this I added the following to my pom: ...       org.junit.jupiter    junit-jupiter-engine    5.3.0    test

Null value in report file name for surefire plugin

2018-09-07 Thread Robert Stagner
I hope someone within the list can either guide me to the answer I'm looking for or help me identify what I'm doing incorrectly. I'm using the surefire-plugin (v2.21.0). I have setup a maven profile to run my tests in parallel. Here is my configuration org.apache.maven.pl

Re: Help needed: maven-surefire-plugin is skipping/not finding tests

2018-07-26 Thread Tibor Digana
how the parameter is set in this plugin. T On Thu, Jul 26, 2018 at 6:15 PM, Jun Huang wrote: > Hi, > > Recently in our hadoop project, we added maven-surefire-plugin for running > unit tests by categories. > > in hadoop root pom.xml: > >

how to disable logs in memory in surefire plugin

2018-04-12 Thread Raul Villanueva
Hi Folks, I've seen some OutOfMemory recently in the surefire plugin while running testng tests. I took the dump for one of the issues and apparently the surefire plugin keeps every single entry of the log in memory, which is finally causing the OutOfMemory. This is what Eclipse M

how to disable logs in memory in surefire plugin

2018-04-12 Thread Raul Villanueva
Hi Folks, I've seen some OutOfMemory recently in the surefire plugin while running testng tests. I took the dump for one of the issues and apparently the surefire plugin keeps every single entry of the log in memory, which is finally causing the OutOfMemory. This is what Eclipse M

Question about using a custom StackTraceWriter with the maven-surefire-plugin

2018-03-17 Thread Zoltan Farkas
Is it possible to register a custom writer with the maven-surefire-plugin? let me know. thank you. —Z - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: [ANN] Apache Maven Surefire Plugin 2.21.0 Released

2018-03-06 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.21.0. The release contains 33 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org

[ANN] Apache Maven Surefire Plugin 2.21.0 Released

2018-03-06 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.21.0. The release contains 33 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org

[ANN] Apache Maven Surefire Plugin 2.20.1 Released

2017-09-15 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.20.1 The release contains 24 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org/plugins

[ANN] Apache Maven Surefire Plugin 2.20 Released

2017-04-12 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.20. The release contains 70 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org/plugins

Re: Configuring the surefire plugin - a question

2017-02-24 Thread Paul Hammant
I tried many combinations but couldn't make it shorter with the same behavior :( - ph --- Just a small hint about the concept of includes/excludes. A test is executed if and only if it matches any include (or all if there are no includes) AND doesn't match any exclude. The problem I see is that

Re: Configuring the surefire plugin - a question

2017-02-24 Thread Robert Scholte
execution-block you kind of fixed that. Robert Regards, - Paul On Fri, Feb 17, 2017 at 2:00 PM, Robert Scholte wrote: When you only want to change the pom (not the tests), a set of executionblocks will do the trick: org.apache.maven.plugins maven-

Re: Configuring the surefire plugin - a question

2017-02-23 Thread Paul Hammant
hange the pom (not the tests), a set of > executionblocks will do the trick: > > > org.apache.maven.plugins > maven-surefire-plugin > 2.18.1 > > > unit-tests >

Re: Configuring the surefire plugin - a question

2017-02-17 Thread Robert Scholte
When you only want to change the pom (not the tests), a set of executionblocks will do the trick: org.apache.maven.plugins maven-surefire-plugin 2.18.1 unit-tests **/*Unit*.java

Re: Configuring the surefire plugin - a question

2017-02-16 Thread João Cabrita
I'd say you could add executions to the surefire plugin with different categories: https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit.html#Using_JUnit_Categories Look at this gist (I've omitted some details): https://gist.github.com/kewne/2b909ab5e8035a4e44e406

Configuring the surefire plugin - a question

2017-02-16 Thread Paul Hammant
ionOrder=unit,integration,functional -DstopBuildAtExecutionBoundariesForTestFailures ... and shave seconds off the build. How do I configure that tersely and elegantly in the surefire plugin today?

Regarding surefire plugin usage

2016-09-02 Thread Arfeen Khan
any way to run tests by attaching to an existing process? So that tests can use the attached process environment. I found surefire has JVMproperty, found here <http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#jvm>, but could not get how to set it, if this is c

Unable to execute tests in parallel using surefire plugin

2016-02-18 Thread Sree09
Hi, Need your help as i have been struggling with parallel execution using maven. i am trying to run Testng tests in parallel, maven V3.3.9, maven-surefire-plugin V2.18.1, with the below configuration testng.xml classes 10 or 10 But, tests aren't running in parallel. Need your inpu

[ANN] Apache Maven Surefire Plugin 2.19.1 Released

2016-01-03 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.19.1 The release contains 17 bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http://maven.apache.org/plugins

AW: Configuration of Java used for surefire plugin / JUnit tests

2015-10-27 Thread Hohl, Gerrit
Hello everyone, :-) ehm, okay, forget it. I found the solution. I need the following configuration for the surefire plugin: C:\Program Files\jdk1.7.0_80\bin\java The "forkCount" has to be 1. 0 would use the current JVM. As 1 is the default value it is not necessary to co

Configuration of Java used for surefire plugin / JUnit tests

2015-10-27 Thread Hohl, Gerrit
ntrol the Java version used by the surefire plugin for the JUnit tests. Example: The default Java is 8 while Java 7 should be used as target for the build. For the compiler plugin I can configure the following: 1.7 1.7 C:\Program Files

[ANN] Apache Maven Surefire Plugin 2.19 Released

2015-10-18 Thread Tibor Digana
orked process + improvements in JUnit and TestNG runners + etc. http://maven.apache.org/plugins/maven-surefire-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-surefire-plugin 2.19 or for failsafe: org.apache.mav

Maven surefire plugin and TestNG : How to run suites in parallel?

2015-06-03 Thread Julien Breton
Hi, I want to execute in parallel the 2 TestNG suites.Actually with this config the first suite is executed and then the second suite.I have tried with 2 but no change. I have searched but I didn't find a solution.Could you explain me how to do that? org.apache.maven.plugins maven-sur

[ANN] Apache Maven Surefire Plugin 2.18.1 Released

2014-12-28 Thread Tibor Digana
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.18.1 The release contains a number of bug fixes. Again we received contributions from the community in form of bug reports and bug fixes. Thank you and keep them coming! http

[ANN] Apache Maven Surefire Plugin 2.18 Released

2014-11-08 Thread Andreas Gudian
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.18 The release contains a number of bug fixes, and introduces an option to automatically rerun failing tests, including proper reporting on the console and in the XML reports for the individual

maven-surefire-plugin to be defined for the unit tests to be run

2014-11-06 Thread Alexandre BRETET
Hi good morning all, I have asked this question on stackoverflow two days ago about the necessity of defining / overriding the maven-surefire-plugin. http://stackoverflow.com/questions/26694974/why-maven-surefire-plugin-needs-to-be-defined-for-the-tests-to-be-run I didn't get any answer s

Surefire plugin report all successfull sub tests.

2014-10-07 Thread Chalashkanov, Mihail
Hi Colleagues, Is there a possibility the surefire-plugin to count all successful subtest(verify statements) for Junit tests. Here is the describing of the problem: > Imagine you have two tests, with each having 5 verify statements > If both tests succeed, the test result will show two

Re: maven-surefire-plugin does not fail build if TestNG and JUnit47 are used

2014-09-12 Thread David Hoffer
; 2.10 is rather old. Could you try it with a more recent version such as > 2.17? > > > Am Donnerstag, 11. September 2014 schrieb David Hoffer : > > > I have a module where maven-surefire-plugin (2.10) is configured to use > > TestNG and JUnit47. The former has seve

Re: maven-surefire-plugin does not fail build if TestNG and JUnit47 are used

2014-09-11 Thread Andreas Gudian
Hi, 2.10 is rather old. Could you try it with a more recent version such as 2.17? Am Donnerstag, 11. September 2014 schrieb David Hoffer : > I have a module where maven-surefire-plugin (2.10) is configured to use > TestNG and JUnit47. The former has several tests that all succeed a

maven-surefire-plugin does not fail build if TestNG and JUnit47 are used

2014-09-11 Thread David Hoffer
I have a module where maven-surefire-plugin (2.10) is configured to use TestNG and JUnit47. The former has several tests that all succeed and the later has two tests that fail. However the build succeeds. How can I configure surefire so the build fails if either have failures which is the

[ANN] Apache Maven Surefire Plugin 2.17 Released

2014-03-16 Thread Andreas Gudian
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.17 This release comes with some smaller improvements and bug fixes for TestNG, for the JUnit Parallel Computer, the removal of temporary files, and last but not least it fixes a compatibility

Re: Help[please]: maven-surefire-plugin with TestNG group dependencies not working....

2014-02-20 Thread Jeff
g testng:6.8.7 and maven-surefire-plugin:2.16. > > The first test class has the following annotation on the test *class* which > should be inherited by the test methods: > > * @Test(groups={ "functional" })* > * public class FuncTest{...}* > > on the

Help[please]: maven-surefire-plugin with TestNG group dependencies not working....

2014-02-18 Thread Jeff
I'm having a frustrating test dependency issue and I don't know if it is my configuration or a problem. I've got two test classes in my maven project using testng:6.8.7 and maven-surefire-plugin:2.16. The first test class has the following annotation on the test *class* which shou

Re: surefire plugin output changes

2014-01-28 Thread Laird Nelson
On Tue, Jan 28, 2014 at 11:12 AM, John Dix wrote: > Thanks laird... I got 2.4.3. Do you know where I can find the release > notes for the various versions to see the list of changes made between then > and now? > This is the closest thing I found: http://jira.codehaus.org/browse/SUREFIRE#selecte

RE: surefire plugin output changes

2014-01-28 Thread John Dix
Subject: Re: surefire plugin output changes No, that's the latest version of maven-surefire-plugin. Run mvn help:effective-pom from a pom.xml in your project and look for the stanza that concerns the maven-surefire-plugin and that will tell you for sure. Best, Laird On Tue, Jan 28, 2014 at

Re: surefire plugin output changes

2014-01-28 Thread Laird Nelson
No, that's the latest version of maven-surefire-plugin. Run mvn help:effective-pom from a pom.xml in your project and look for the stanza that concerns the maven-surefire-plugin and that will tell you for sure. Best, Laird On Tue, Jan 28, 2014 at 10:06 AM, John Dix wrote: > I got it

RE: surefire plugin output changes

2014-01-28 Thread John Dix
I got it... 2.16 -Original Message- From: John Dix Sent: Tuesday, January 28, 2014 9:45 AM To: Maven Users List Subject: RE: surefire plugin output changes Do you know which version Maven 2.1.0 had? -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno

RE: surefire plugin output changes

2014-01-28 Thread John Dix
Do you know which version Maven 2.1.0 had? -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Tuesday, January 28, 2014 12:56 AM To: Maven Users List Subject: Re: surefire plugin output changes 3.0.3 defaulted to surefire 2.7.2 if you did not

Re: surefire plugin output changes

2014-01-28 Thread Stephen Connolly
ohn Dix > Sent: Monday, January 27, 2014 4:35 PM > To: Maven Users List > Subject: surefire plugin output changes > > Hello all, > > We have migrated our maven from version 3.0.3 to 3.0.5 and our developers > are claiming now that they're not seeing the verbosity in the t

RE: surefire plugin output changes

2014-01-27 Thread John Dix
where that could account for this. -Original Message- From: John Dix Sent: Monday, January 27, 2014 4:35 PM To: Maven Users List Subject: surefire plugin output changes Hello all, We have migrated our maven from version 3.0.3 to 3.0.5 and our developers are claiming now that they're

  1   2   3   4   5   6   >