Class MavenResolver

java.lang.Object
org.stianloader.picoresolve.MavenResolver

public class MavenResolver extends Object
  • Field Details

    • ignoreTestDependencies

      public boolean ignoreTestDependencies
      Whether to pretend that dependencies with the "test" scope did not exist. This may significantly improve lookup speeds, while in most cases not having any significant drawbacks due to the fact that usually you'd not want to resolve the artifacts a dependency uses to test itself.
    • ignoreOptionalDependencies

      public boolean ignoreOptionalDependencies
      Whether to pretend that dependencies marked as "optional" do not exist. This may significantly improve lookup speeds, while in most cases mirroring standard maven behaviour and being without drawbacks. However it may have drawbacks when it comes to version negotiation.
  • Constructor Details

    • MavenResolver

      public MavenResolver(@NotNull @NotNull Path mavenLocal)
    • MavenResolver

      public MavenResolver(@NotNull @NotNull Path mavenLocal, @Nullable @Nullable Collection<@NotNull MavenRepository> repos)
    • MavenResolver

      public MavenResolver(@NotNull @NotNull RepositoryNegotiatior negotiator)
  • Method Details