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
Execution add-module-infos of goal org.moditect:moditect-maven-plugin:1.0.0.Beta2:add-module-info failed: duplicate element: xxxxx #113
Comments
For me this error happens when I have a maven project that contains 2 of the same libraries with different classifiers. e.g. Not sure how to fix that yet since the failure is triggered in jdeps but as a result of the ModiTect plugin creating the module info here. |
I seem to have this this issue as well.
Dependencies:
|
…ditect#113) (#1) Co-authored-by: Itchy <itchy@laurinmurer.ch>
Well this is a problem as these two dependencies define the same module name (using
The proposed fix may actually hide a problem which is same module name defined in two different JARs. |
I do believe that failing on duplicate modules is the way to. Perhaps the error message could be more descriptive. |
I am executing the following:
and the result is the following error about "duplicate element":
Any idea?
The text was updated successfully, but these errors were encountered: