Skip to content
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

Build fails when there is no git repo #10

Open
ojawel opened this issue Jul 11, 2014 · 2 comments
Open

Build fails when there is no git repo #10

ojawel opened this issue Jul 11, 2014 · 2 comments
Milestone

Comments

@ojawel
Copy link

ojawel commented Jul 11, 2014

Hi it would be nice if the plugin does not fail when there is no git repo to be found.
[ERROR] Failed to execute goal com.code54.mojo:buildversion-plugin:1.0.3:set-properties (default) on project search-package: Execution default of goal com.code54.mojo:buildversion-plugin:1.0.3:set-properties failed: Execution of Git command failed: fatal: Not a git repository (or any parent up to mount point /mnt/data)
11-Jul-2014 16:43:50 [ERROR] Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
11-Jul-2014 16:43:50 [ERROR] -> [Help 1]

That would be nice when using it with build servers which are sharing output and only need to run maven for a specific task eg deployment

@dobladez
Copy link
Member

Thanks. So, may be we could add a new failOnError property to the plugin?

I've not used maven for a long time, so not sure when/if I'll find the time to add this (even if minor) change :-(

@ojawel
Copy link
Author

ojawel commented Jul 11, 2014

That would be great :)

On Fri, Jul 11, 2014 at 5:33 PM, Fernando Dobladez <[email protected]

wrote:

Thanks. So, may be we could add a new failOnError property to the plugin?

I've not used maven for a long time, so not sure when/if I'll find the
time to add this (even if minor) change :-(


Reply to this email directly or view it on GitHub
#10 (comment)
.

Joel Tomasoa | Leliestraat 4D | 1621HL Hoorn

jurevert added a commit to jurevert/buildversion-plugin that referenced this issue Mar 9, 2015
Build fails when there is no git repo code54#10
Add failOnError property.
jurevert added a commit to jurevert/buildversion-plugin that referenced this issue Mar 19, 2015
Build fails when there is no git repo code54#10
Add failOnError property.
-> The plugin was still failed if Git Tools was not on the laptop. Now, it's fixed and a Warning message appear.
@carlos carlos added this to the v1.1 milestone Dec 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants