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
Abiblity to default-build to attach its output executable binary to maven session #82
Comments
there is <mvn.golang.verbose>true</mvn.golang.verbose> |
@raydac i am not sure about verbose flag anything to do with my request having mvn-golang wrapper to attach the output binary to maven session for install/deploy purpose |
yes, looks like that I not correctly understood |
using ant:attachartifact is correct, it attaches the build artifact Maven so that my go binary will be installed ( to local repo) and deploy (to remote maven repo) what I asking is to update https://github.com/raydac/mvn-golang/blob/master/mvn-golang-wrapper/src/main/java/com/igormaznitsa/mvngolang/GolangBuildMojo.java then attach ${project.build.directory}/${project.build.finalName} to maven session for the same purpose yes = "or do you mean that you would like to include generated executable file into result artifact archive to be deployed into repository?" |
from point of view of maven of course sounds a bit strange to include platform-depended artifact into resulted artifact but idea is good |
I have added functionality into
|
@raydac awesome |
check snapshot pls and if all is ok then pls close the issue |
it works. this saves a bunch of repeated antrun plugin block. Thanks Looking forward to a new release |
Hello, I've been testing with this plugin and so far it's amazing. |
@rbsrafa |
I have maven go build with has many maven modules, each module produce a go executable
Below the dependecyManagement where I disabel mvn-golang lifecycle and only enable default-build
I'd like to have the ability to add an additional setting at default-build configure to attach is build output to maven session.
I currently use maven-antrun-plugin to repeat each child module, like this
Propose settings for build mojo
The text was updated successfully, but these errors were encountered: