Skip to content
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

Clean up TestRuntimeMojo #404

Merged
merged 1 commit into from Dec 1, 2022
Merged

Clean up TestRuntimeMojo #404

merged 1 commit into from Dec 1, 2022

Conversation

basil
Copy link
Member

@basil basil commented Nov 30, 2022

Removing some no-longer-necessary Java 8 logic and maybe hoping to fix jenkinsci/bom#1551 by moving the copying of the patch module to an earlier phase? To test this I ran mvn clean verify -Dtest=org.jenkinsci.plugins.workflow.libs.LibraryMemoryTest.

@basil basil added the internal label Nov 30, 2022
@basil basil requested a review from jglick November 30, 2022 21:50
@@ -18,7 +18,8 @@
<process-test-resources>org.apache.maven.plugins:maven-resources-plugin:testResources</process-test-resources>
<generate-test-sources>org.jenkins-ci.tools:maven-hpi-plugin:insert-test</generate-test-sources>
<test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile,org.jenkins-ci.tools:maven-hpi-plugin:test-hpl,org.jenkins-ci.tools:maven-hpi-plugin:resolve-test-dependencies</test-compile>
<test>org.jenkins-ci.tools:maven-hpi-plugin:test-runtime,org.apache.maven.plugins:maven-surefire-plugin:test</test>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guessing that maybe the order of execution is undefined when these are in the same lifecycle phase?

Copy link
Member Author

@basil basil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expediting this but feel free to review and I will address any comments later

@basil basil merged commit 90c7124 into jenkinsci:master Dec 1, 2022
@basil basil deleted the test-runtime branch December 1, 2022 00:11
@basil
Copy link
Member Author

basil commented Dec 1, 2022

Based on https://github.com/jenkinsci/bom/pull/1615/checks?check_run_id=9822951672 this didn't seem to help with the java.lang.NoClassDefFoundError: org/netbeans/insane/hook/MakeAccessible error, but at least it didn't hurt, so that's good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.lang.NoClassDefFoundError: org/netbeans/insane/hook/MakeAccessible
1 participant