Class MavenLocalRepoFileInitializer

java.lang.Object
org.eclipse.jetty.start.FileInitializer
org.eclipse.jetty.start.fileinits.MavenLocalRepoFileInitializer

public class MavenLocalRepoFileInitializer extends FileInitializer
Attempt to download a maven:// URI, by first attempting to find the resource in the maven repository system (starting with local, then central)

Valid URI Formats:

maven://<groupId>/<artifactId>/<version>
minimum requirement (type defaults to jar, with no classifier)
maven://<groupId>/<artifactId>/<version>/<type>
optional type requirement
maven://<groupId>/<artifactId>/<version>/<type>/<classifier>
optional type and classifier requirement
  • Field Details

    • DEFAULT_REMOTE_REPO

      private static final String DEFAULT_REMOTE_REPO
      See Also:
    • localRepositoryDir

      private Path localRepositoryDir
    • readonly

      private final boolean readonly
    • mavenRepoUri

      private String mavenRepoUri
  • Constructor Details

    • MavenLocalRepoFileInitializer

      public MavenLocalRepoFileInitializer(BaseHome baseHome)
    • MavenLocalRepoFileInitializer

      public MavenLocalRepoFileInitializer(BaseHome baseHome, Path localRepoDir, boolean readonly)
    • MavenLocalRepoFileInitializer

      public MavenLocalRepoFileInitializer(BaseHome baseHome, Path localRepoDir, boolean readonly, String mavenRepoUri)
  • Method Details