@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 byte[] |
getRemoteChecksum(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 byte[] getRemoteChecksum(String uri) throws org.apache.maven.plugin.MojoExecutionException, IOException
getRemoteChecksum in class AbstractExistsMojoorg.apache.maven.plugin.MojoExecutionExceptionIOExceptionCopyright © 2016–2017. All rights reserved.