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

sample-apps/blank-java - maven-shade-plugin causes deploy error #390

Open
Sps-Ray opened this issue Aug 30, 2022 · 0 comments
Open

sample-apps/blank-java - maven-shade-plugin causes deploy error #390

Sps-Ray opened this issue Aug 30, 2022 · 0 comments

Comments

@Sps-Ray
Copy link

Sps-Ray commented Aug 30, 2022

For blank-java, executing ./3-deploy.sh mvn results in:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.2:shade (default) on project blank-java: Execution default of goal org.apache.maven.plugins:maven-shade-plugin:3.2.2:shade failed: Plugin org.apache.maven.plugins:maven-shade-plugin:3.2.2 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-shade-plugin:jar:3.2.2 -> com.github.edwgiz:maven-shade-plugin.log4j2-cachefile-transformer:jar:[2.17.1,):
No versions available for com.github.edwgiz:maven-shade-plugin.log4j2-cachefile-transformer:jar:[2.17.1,) within specified range

The resolution is here: https://bytemeta.vip/repo/edwgiz/maven-shaded-log4j-transformer. Changing pom.xml to use maven-shade-plugin to 3.2.4 and using io.github.edwgiz.log4j-maven-shade-plugin-extensions 2.18.0 solved the problem for me.

@mwunderl mwunderl changed the title sample-apps/blank-java maven-shade-plugin causes deploy error sample-apps/blank-java - maven-shade-plugin causes deploy error Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant