-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
HtmlUnit 2.59.0 subject to MCOMPILER-485 #457
Comments
@basil should i create a 2.59.1 release or do you like to wait for the 2.60.0 (april)? |
No strong preference, but I have a slight preference for a 2.59.1 release as it allows us to quickly get past this event and stay on a rolling update train. |
@basil have updated the maven-compiler-plugin to version 3.10.1 and will release a new snapshot now. |
@basil you use HtmlUnit for jenkins - is ok to mention Jenkins as a user of HtmlUnit on our web site? |
made a new snapshot build using maven-compiler-plugin 3.10.1 |
Please direct this question to the Jenkins Governance Board. |
Thank you! |
Steps to reproduce
Upgrade
jenkins-test-harness
fromjenkins-test-harness-htmlunit
75.v279ef177dc2c / HtmlUnit 2.58.0 tojenkins-test-harness-htmlunit
77.vff6cc791d17f / HtmlUnit 2.59.0 as in jenkinsci/jenkins-test-harness#398, then runmvn clean verify -DskipTests
.Expected results
The build passes.
Actual results
The build fails with
Evaluation
HtmlUnit 2.58.0 uses
maven-compiler-plugin
3.9.0. HtmlUnit 2.59.0 usesmaven-compiler-plugin
3.10.0.maven-compiler-plugin
3.10.0 added a feature to create missingpackage-info
files. The feature incorrectly uses Windows-style directory separators on Windows. Other parts of the code expect to always see Unix-style directory separators. This regression is tracked in MCOMPILER-485.A fix for this regression was merged in apache/maven-compiler-plugin#95. At the time of this writing, the fix has not yet been released to Maven Central.
Suggestions
If apache/maven-compiler-plugin#95 is released to Maven Central in a timely fashion, HtmlUnit could upgrade to that release. Then a new version of HtmlUnit could be released that fixes this regression.
Alternatively, the
maven-compiler-plugin
configuration can be adjusted to work around MCOMPILER-485 by settingcreateMissingPackageInfoClass
tofalse
as in jenkinsci/plugin-pom#506. Then a new version of HtmlUnit could be released with the workaround.The text was updated successfully, but these errors were encountered: