Class LocalRepositoryReader

    • Field Detail

      • localMavenRepositoryRoot

        private final java.io.File localMavenRepositoryRoot
    • Constructor Detail

      • LocalRepositoryReader

        public LocalRepositoryReader​(java.io.File localMavenRepositoryRoot,
                                     MavenRepositorySystem repositorySystem)
    • Method Detail

      • getLocalArtifactLocation

        public java.io.File getLocalArtifactLocation​(GAV gav,
                                                     java.lang.String classifier,
                                                     java.lang.String extension)
        Description copied from interface: RepositoryReader
        Returns the permanent, local file system location of the identified artifact. This may trigger a download of the artifact if necessary.
        Specified by:
        getLocalArtifactLocation in interface RepositoryReader
        Returns:
        the local location of the artifact; never null