public class UnbuiltWorkspaceReader
extends Object
implements org.eclipse.aether.repository.WorkspaceReader
The default maven workspace reader will prefer to resolve the jar file if it exists, and will not resolve if the project has not yet been compiled.
Constructor and Description |
---|
UnbuiltWorkspaceReader(org.eclipse.aether.repository.WorkspaceReader delegate,
org.apache.maven.execution.MavenSession session) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
findArtifact(org.eclipse.aether.artifact.Artifact artifact) |
java.util.List<String> |
findVersions(org.eclipse.aether.artifact.Artifact artifact) |
org.eclipse.aether.repository.WorkspaceRepository |
getRepository() |
public UnbuiltWorkspaceReader(org.eclipse.aether.repository.WorkspaceReader delegate, org.apache.maven.execution.MavenSession session)
public java.util.List<String> findVersions(org.eclipse.aether.artifact.Artifact artifact)
findVersions
in interface org.eclipse.aether.repository.WorkspaceReader
public org.eclipse.aether.repository.WorkspaceRepository getRepository()
getRepository
in interface org.eclipse.aether.repository.WorkspaceReader
public java.io.File findArtifact(org.eclipse.aether.artifact.Artifact artifact)
findArtifact
in interface org.eclipse.aether.repository.WorkspaceReader