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
ScmInfo broken on Windows #33
Comments
Apologies for the late response. I don't have any objections to your suggestion and will take a look at the upstream code to see if I can integrate it. |
Hi I released version 1.5.1 and would appreciate if you can check it and report back. |
Hi, |
Hi, I can provide the fork next week if wanted. |
@TheUltimateDeployer @WhiteHatTux : If you have any proposed patches that would be great. I don't have a Windows system to test on. |
@rnc: We developed the patch on behalf of a customer request and currently check whether there are legal issues. |
My git scm-information is not added to the buildmetadata.xml, because of an error fetching the changes since the last commit.
scm-section in the pom.xml:
Output of mvn clean verify:
These retries are connected to:
http://www.smartics.eu/plugins/buildmetadata-maven-plugin/1.1.6/apidocs/de/smartics/maven/plugin/buildmetadata/scm/maven/ScmAccessInfo.html#DEFAULT_RETRY_COUNT
That command does indeed return an empty set when i execute it from cmd.exe. Not to have the changes would not be such a problem for me, but it turns out, that if this command failes, the whole section of Scm-related information will be empty.
The resulting buildmetadata.xml is "attached" below.
How about just omitting this special change-information instead of omitting the whole scm-section?
I tried with the upstreams plugin Version 1.5.0.RC1 and it does work as expected with that version.
Just ask, if you require any more information
This is the buildmetadata.xml:
The text was updated successfully, but these errors were encountered: