-
Notifications
You must be signed in to change notification settings - Fork 31
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
mvn clean fails in a multi-module project. #90
Comments
which GoSDK allows reproduce such situation? I am trying to reproduce locally and can't, which GoSDK and OS? |
Actually, its not really golang issue, but more of maven and dependency management problem. Attached an example repro. running
|
great! you are right! if start cleaning when artifacts not presented in local repository then it fails. but the problem is deeper than maven and projects are red even with your change, it needs changes in processing of dependencies on level of plugin, I will investigate today |
you can try snapshot |
Thank you very much! Really appreciate!. By the way, the other error is simple to overcome via configuration. Hence didn't suggest a fix for that.
|
Hi, When using mvn-golang-wrapper, mvn clean fails when there are dependencies on other modules in a multi-module project. This is happening even in the examples in this repo.
The actual issue is due to the fact that dependent artifacts are not available.
The root cause seems to be due to the issue that
com.igormaznitsa.mvngolang.GolangCleanMojo
declaresrequiresDependencyResolution = ResolutionScope.COMPILE
.The text was updated successfully, but these errors were encountered: