public interface LocalRepositorySupplierFactory
| Modifier and Type | Method and Description |
|---|---|
Supplier<File> |
artifactFolderRepositorySupplier(File artifact,
File mavenLocalRepositoryDirectory)
Supplier that resolves the repository from an artifact location.
|
Supplier<File> |
composeSuppliers(Supplier<File>... suppliers)
Compose several suppliers in order.
|
Supplier<File> |
environmentMavenRepositorySupplier()
This supplier will try to resolve the repository folder based on environment configuration.
|
Supplier<File> |
fixedFolderSupplier(File folder) |
Supplier<File> fixedFolderSupplier(File folder)
folder - to use as repositoryfolder file as repository location.Supplier<File> environmentMavenRepositorySupplier()
It will try to get the repository from the localRepository system property, if not set, then it will try to find the repo from $USER_HOME/.m2/repository folder.
Supplier<File> composeSuppliers(Supplier<File>... suppliers)
suppliers - set of suppliers to compose#suppliersSupplier<File> artifactFolderRepositorySupplier(File artifact, File mavenLocalRepositoryDirectory)
#artifact is has a repository folder inside of if the artifact exists within a repository.artifact - the artifact file.Copyright © 2018 MuleSoft, Inc.. All rights reserved.