Re: Issues when compiling basic Java SE using Maven

2020-10-07 Thread Karl Heinz Marbaise
Hi, the problem is simply you are trying to access central repository via http instead of https So you have to change the configuration in Maven as well as in Netbeans to use the https://repo.maven.apache.org/maven2 Since 15. January 2020 access to central only via https:

Re: 'mvn clean test' crashes

2020-10-07 Thread Enrico Olivelli
A good approach to workaround the presence of third party libraries that call System.exit is to set a SecurityManager that prevents calls to System.exit. I did it a few times with good results. You will have to allow well known libraries like Eclipse test runner or Surefire itself Just my 2 cents

Re: Issue with assembly file-aggregator container descriptor hangler

2020-10-07 Thread Arnaud bourree
Issue is already known MASSEMBLY-815 Workaround is adding metaInf-services handler: metaInf-services file-aggregator .*-info.yaml infos.yaml

Issue with assembly file-aggregator container descriptor hangler

2020-10-07 Thread Arnaud bourree
Hello, I want to aggregate yaml files from my dependencies. I did for the pom.xml: ... com.acme dep-a 1.0 info yaml com.acme dep-b 1.0 info yaml ... ... org.apache.maven.plugins maven-dependency-plugin 3.1.2

Re: 'mvn clean test' crashes

2020-10-07 Thread Mukul Gandhi
Hi Tibor, On Wed, Sep 30, 2020 at 5:03 PM Tibor Digana wrote: > Usually these errors appear in the test itself or the *libraries*. > As for instance, we found out that a Spring's library is implementing Kafka > stuff calling the "Runtime.getRuntime().halt( )". > The same bad thing is to call