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

Git error when building without git #279

Open
ekpeters opened this issue Nov 20, 2024 · 1 comment
Open

Git error when building without git #279

ekpeters opened this issue Nov 20, 2024 · 1 comment

Comments

@ekpeters
Copy link

I just grabbed this project off the repo, tried a build with ye olde 'mvn package' and got:

[ERROR] Exception while executing SCM command.: Error while executing command. Error while executing process. Cannot run program "git"

Not a surprise - I don't let build tools at git.

I don't see anything in the instructions for building without git, nor am I keen on granting build tools unfettered access to scm in the modern security realm... I don't do SCM through maven, so if there's an id-10-t easy way to skip it, I don't know it, and frankly, I feel such updates ought to be opt-in, not opt-out, as it can complicate troubleshooting things in development if every build you do updates the code you're trying to troubleshoot.

"Hang on ... why's the instruction pointer on a comment again...  bugger!"

In a development context, updating from SCM ought to be an explicit action, not implicit. To do otherwise invites the 'too many chefs' problem.

Perhaps I'm being unreasonable... whatever. Calling it like I see it, and as I see it.

While I'd prefer to build it myself, the easy alternative is grab the jar from github and cross off any notion of tweaking anything.

@awesomefly
Copy link

awesomefly commented Nov 20, 2024 via email

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

2 participants