-
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-golang:vet does not have maven dependency resolution #59
Comments
could you describe situation more detailed? step by step to reproduce |
sorry about the confusion, i have multi maven modules with Go and I would like to run mvn-golang:vet
main depends on common via mvn-golang maven dependency Normal 'build' gold works, since main module can reference 'common' via GOPATH which is set correctly ( ends with target/dep/common-x.y.x) 'vet' goal fail to find 'common' since GOPATH does not have 'common' in its path |
good point, I will add a test for such case and fix |
will you deploy a snapshot to sonatype snapshot repo?love to test it as soon as it is available |
the fix looks good, I am able to see Go Vet result. Many thanks. |
I will add test for other go commands and if all is ok then release new version |
I have published 2.3.2 version with the fix in maven central |
My build with mvn-golang:vet fails due to lack of GOPATH setup
I believe 'vet' goal should shave the same maven dependency resolution of the 'build' goal: requiresDependencyResolution = ResolutionScope.COMPILE
The text was updated successfully, but these errors were encountered: