Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Perform incremental build a magnitude faster than Maven, zero changes build finishes immediately.

I see benefits of that in projects that build hours, but in every one of my maven projects (non-hobby) I always do clean before package/verify just to make sure the project builds.

``` mvn clean verify ```

And I'm certain it will work in CI also.



People tend to run ```mvn clean verify``` because Maven caching is unreliable, and lead to build failures.

However, Bazel cache is a lot more robust, so you almost never do clean build. The only time I had to perform a clean build was when I accidentally upgraded my C++ compiler and broke the cache.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: