Re: Summary of meeting about Maven performance improvements

2019-04-24 Thread Jonathan Haber
> > We need to find out who is interested in these kind improvements inside > the Maven community. Just wanted to throw my two cents in. My company is a relatively large Maven user and we're very interested in these sorts of improvements. We've tried to upstream improvements in the past, but have

Re: Dependency scopes and conflict resolution: Possible bug?

2017-11-23 Thread Jonathan Haber
As a workaround you can check out the dependency-scope-maven-plugin we wrote: https://github.com/HubSpot/dependency-scope-maven-plugin The initial motivation was avoiding NoClassDefFoundError when someone accidentally puts a dep at test scope that is transitively required at runtime. I made a pom

Re: Allow custom updatePolicy

2017-10-11 Thread Jonathan Haber
If we did that, then wouldn't the build get really slow every time you hit that 5 minute expiration? On Wed, Oct 11, 2017 at 11:49 AM Michael Osipov <1983-01...@gmx.net> wrote: > > > I just wanted to get thoughts on a possible new feature. Right now, my > > company has thousands of Maven modules

Allow custom updatePolicy

2017-10-11 Thread Jonathan Haber
I just wanted to get thoughts on a possible new feature. Right now, my company has thousands of Maven modules that are all on snapshots with an updatePolicy of "always" (basically everyone gets the latest build of everything, kind of like a poor man's monorepo). This mostly works fine, but one of t

Re: dependency:go-offline broken?

2017-10-02 Thread Jonathan Haber
I'm not sure if it's helpful, but I believe Travis CI runs the following command during the install phase to download dependencies: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V For more info: https://docs.travis-ci.com/user/languages/java/#Maven-Dependency-Management On Mon, Oct 2

Improvements to analyze goal of maven-dependency-plugin

2017-06-14 Thread Jonathan Haber
I wanted to get feedback on a proposed improvement to the maven-dependency-plugin, specifically for the goals that analyze dependency usages. We have the plugin configured to fail our build if there are any used undeclared or unused declared dependencies. In the case of used undeclared, it is often