@Mojo(name="local",
defaultPhase=VERIFY)
public class LocalExistsMojo
extends AbstractExistsMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository |
| Constructor and Description |
|---|
LocalExistsMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
checkArtifactExists(String uri) |
protected String |
getPropertyName() |
protected InputStream |
getRemoteArtifactStream(String uri) |
protected String |
getRepositoryBase() |
execute, isSnapshot@Parameter(property="localRepository",
required=true,
readonly=true)
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected String getPropertyName()
getPropertyName in class AbstractExistsMojoprotected String getRepositoryBase()
getRepositoryBase in class AbstractExistsMojoprotected Boolean checkArtifactExists(String uri) throws IOException
checkArtifactExists in class AbstractExistsMojoIOExceptionprotected InputStream getRemoteArtifactStream(String uri) throws IOException
getRemoteArtifactStream in class AbstractExistsMojoIOExceptionCopyright © 2016–2017. All rights reserved.