-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test #8693
Comments
Interesting, seen a discussion on twitter already about suddenly breaking builds. |
The fix is already merged upstream, but not sure how fast the next release is baked. So @tibistibi do you want to make a PR? |
I will keep an eye on it. Will make a PR. When is next jhipster scheduled?
It is not sure yet if it will be ported to a 2.* version (used in jhipster now) or only to the new 3.*
…On November 1, 2018 12:25:21 PM CET, Frederik Hahne ***@***.***> wrote:
The fix is already merged upstream, but not sure how fast the next
release is baked. So @tibistibi do you want to make a PR?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#8693 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
This is a temporary fix until the surefire team have fixed this in a new version (after 2.22.1)
resolve: Failed to execute goal maven-surefire #8693
Thanks, the fix had been merged #8714 For now, let's close this. |
it seems the linux openjdk team has reverted the change:
https://issues.apache.org/jira/browse/SUREFIRE-1588 so we can revert the change (tested it on my system) but we can also wait a bit to be sure everyone will have the new openjdk in all cases it is fixed (even with strict setting in java) in the new surfiere plugin so we can also wait when jhipster is using version 3.0.0-M1 (now 2.22.0) i think it is best to wait a bit there seems no real problem with the temp fix. |
Sufire maven plugin is updated in spring-boot 2.1 branch. |
not working for me |
org.apache.maven.plugins maven-surefire-plugin 2.21.0 0 -Xmx1024m -XX:MaxPermSize=256m src/test/resources/runner/testng.xml |
what is the correct fix for this error, any details? |
@ajay443 Please don't comment on an old issue. |
Overview of the issue
After the latest java upgrade on at least debain and ubuntu maven surefire plugin stops working with this error:
Motivation for or Use Case
Surefire team is working on a fix but in the mean time there is a work around. We could implement it until the plugin is fixed
Reproduce the error
Create any form of jhipster project with maven and run tests.
Related issues
Surefire manifest jar classloading broken on latest Debian/Ubuntu Java8
https://issues.apache.org/jira/browse/SUREFIRE-1588?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&focusedCommentId=16670286#comment-16670286
Suggest a Fix
added this line in to the pom.xml:
like this:
Executing jhipster:info
Options: from-cli: true
Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-1ubuntu0.18.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
git version 2.17.1
node: v8.11.3
npm: 6.2.0
yarn: 1.9.4
Browsers and Operating System
Ubuntu
The text was updated successfully, but these errors were encountered: