-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix log4j version #230
Fix log4j version #230
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moreover, I was not able to use the build the project with Eclipse IDE and had to change the location of jetty within the targetplatform.
Seems like you are missing the PDE M2 Integration
plugin. This is required to resolve mvn dependencies in your target platform.
This should be available in the default release update site:
However, if the oomp release site is stable and contains everything we need, I'm also happy to switch to that one.
It seems like you have directly updated the r2023-09.target
. We use the .tpd (Target Platform DSL) files in this project, because they are easier to maintain an handle. You need to install the plugin from https://download.eclipse.org/cbi/updates/tpd/nightly/N202403260932/index.html
Instead of modyifing the target directly please update the corresponding .tpd
file and then create the target platform via context menu or shortcut (ctrl+r):
Please also adapt the other .tpd fles (r2022-12.tpd, r2021-09.tpd).
@tortmayr Thank you for providing those helpful details. Now, only the maven file has been updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. LGTM!
What it does
The error was caused by maven that used log4j with the version
3.0.0-beta
.The targetplatform uses
2.19.0
- now we are limiting the version of log4j to be in range of2.19.0
<= x <=2.23.1
for maven. We probably also should limit the rest of the dependencies.Moreover, I was not able to use the build the project with Eclipse IDE and had to change the location ofFixed by installing PDE M2 Integrationjetty
within the targetplatform.Closes eclipse-glsp/glsp#1312
How to test
Run the following command in the root folder:
mvn clean verify -Pm2 -Pfatjar && java -jar ./examples/org.eclipse.glsp.example.workflow/target/org.eclipse.glsp.example.workflow-2.1.0-glsp.jar -p 8081 -w
The following error should not be thrown anymore:
Follow-ups
Changelog