Re: Surefire - Forking - Identifying Tests that run in a particular fork

2020-07-01 Thread Falko Modler
Hi Martin, OOTB you'll probably have to resort to -X (which logs way too much) and even then I am not 100% sure you'll get what you need. Did you have a look at |${surefire.forkNumber}| (see

Surefire - Forking - Identifying Tests that run in a particular fork

2020-07-01 Thread Martin Lambert
Hello, I'm currently using the Surefire plugin with Maven 3.6.3 and would like to know if there is any way to identify what tests were run in a given fork? I haven't seen any option for it in the current documentation. I'm running around ~10K test cases hence using the fork option to speed

Re: 'mvn clean test' crashes

2020-07-01 Thread Gary Gregory
Have you tried the more recent version of the Maven surefire plugin? Gary On Wed, Jul 1, 2020, 05:06 Bernd Eckenfels wrote: > Has the machine enough ram free? Did you try a reboot (sometimes windows > memory map seems to be fragmented in a way that java can't start). Does > your Pom overwrite

Re: 'mvn clean test' crashes

2020-07-01 Thread Bernd Eckenfels
Has the machine enough ram free? Did you try a reboot (sometimes windows memory map seems to be fragmented in a way that java can't start). Does your Pom overwrite command line and/or specify a very big or very small heap? Any crash dumps or hs_err files? Gruss Bernd --

Re: 'mvn clean test' crashes

2020-07-01 Thread Mukul Gandhi
Hi Enrico, On Wed, Jul 1, 2020 at 1:13 PM Enrico Olivelli wrote: > I suggest you to debug that test, with an IDE or just by adding some > System.out.println > When I run only the tests present in offending java class (com.haldiram.business.helper.test.ApplnHelperTest), from within the IDE, all

Re: 'mvn clean test' crashes

2020-07-01 Thread Enrico Olivelli
I suggest you to debug that test, with an IDE or just by adding some System.out.println Enrico Il Mer 1 Lug 2020, 09:41 Mukul Gandhi ha scritto: > Hi Enrico, > > On Wed, Jul 1, 2020 at 11:34 AM Enrico Olivelli > wrote: > > > Can you try to run one test at a time and see which test is crashing

Re: 'mvn clean test' crashes

2020-07-01 Thread Mukul Gandhi
Hi Enrico, On Wed, Jul 1, 2020 at 11:34 AM Enrico Olivelli wrote: > Can you try to run one test at a time and see which test is crashing your > build? > > Use > mvn test -Dtest=NameOfTheTestClass > When I run all my tests, with command 'mvn clean test', my build failed with following message,

How to install shaded fat/uber JAR with dependency-reduced POM

2020-07-01 Thread Alexander Kriegisch
Situation (sorry for maybe explaining too much): -- I have a multi-module project with an aggregator POM which is also the parent for all dependent modules. -- The modules implement different byte code transformation features. -- In some modules I use Maven Shade in order build fat

Re: 'mvn clean test' crashes

2020-07-01 Thread Enrico Olivelli
Can you try to run one test at a time and see which test is crashing your build? Use mvn test -Dtest=NameOfTheTestClass Enrico Il Mer 1 Lug 2020, 07:37 Mukul Gandhi ha scritto: > Hi Enrico, > > On Wed, Jul 1, 2020 at 10:47 AM Enrico Olivelli > wrote: > > > > Are you walking System.exit or