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

Use verify instead of clean install #7

Open
t1 opened this issue Oct 1, 2019 · 2 comments
Open

Use verify instead of clean install #7

t1 opened this issue Oct 1, 2019 · 2 comments

Comments

@t1
Copy link

t1 commented Oct 1, 2019

As Robert Scholte keeps repeating, using clean install is a bad habit from the past ;-)

clean is not required any more by almost all plugins, as they support incremental builds. You rob them from their chance to optimize by blindly forcing them to redo everything.

install is also not necessary if you only need a verified artifact in your target folder. Just use verify and skip the installation to your local .m2 repository.

This would be a minimal change, but the speed improvement can be small but noticeable when doing it several times a minute.

@AdamBien
Copy link
Owner

+1 I will target that for the next release

@sharpedavid
Copy link

As Robert Scholte keeps repeating, using clean install is a bad habit from the past ;-)

clean is not required any more by almost all plugins, as they support incremental builds. You rob them from their chance to optimize by blindly forcing them to redo everything.

install is also not necessary if you only need a verified artifact in your target folder. Just use verify and skip the installation to your local .m2 repository.

This would be a minimal change, but the speed improvement can be small but noticeable when doing it several times a minute.

Thanks for the tip! I had no idea I should not be cleaning and installing so often. It makes sense when you put it like that.

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