@Mojo(name="verify",
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
threadSafe=true)
public class VerifyMojo
extends MojoSupport
| Modifier and Type | Class and Description |
|---|---|
static class |
VerifyMojo.DummyDeployCallback |
static class |
VerifyMojo.FakeBundleRevision |
class |
VerifyMojo.MavenResolverLog |
| Modifier and Type | Field and Description |
|---|---|
protected File |
additionalMetadata |
protected String |
configuration |
protected Set<String> |
descriptors |
protected String |
distDir |
protected String |
distribution |
protected String |
fail |
protected Set<String> |
features |
protected Set<String> |
framework |
protected boolean |
ignoreMissingConditions |
protected String |
javase |
protected String |
karafVersion |
protected org.apache.maven.project.MavenProject |
project |
protected org.ops4j.pax.url.mvn.MavenResolver |
resolver |
protected boolean |
skip |
protected boolean |
verifyTransitive |
artifactMetadataSource, artifactResolver, container, factory, localRepo, mavenSession, projectBuilder, projectHelper, remoteRepos, workDirectory| Constructor and Description |
|---|
VerifyMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute() |
void |
execute() |
static Map<String,Map<org.apache.felix.utils.version.VersionRange,Map<String,String>>> |
getMetadata(Map<String,String> properties,
String prefix) |
static Set<String> |
getPrefixedProperties(Map<String,String> properties,
String prefix) |
static Map<String,org.apache.karaf.features.internal.model.Features> |
loadRepositories(org.apache.karaf.features.internal.download.DownloadManager manager,
Set<String> uris) |
copy, createManagedVersionMap, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, resourceToArtifact, setMavenSession, translateFromMaven@Parameter(property="configuration") protected String configuration
@Parameter(property="distribution",
defaultValue="org.apache.karaf:apache-karaf")
protected String distribution
@Parameter(property="javase") protected String javase
@Parameter(property="dist-dir") protected String distDir
@Parameter(property="karaf-version") protected String karafVersion
@Parameter(property="additional-metadata") protected File additionalMetadata
@Parameter(property="ignore-missing-conditions") protected boolean ignoreMissingConditions
@Parameter(property="fail") protected String fail
@Parameter(property="verify-transitive") protected boolean verifyTransitive
@Parameter(defaultValue="${project}",
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(property="skip",
defaultValue="${features.verify.skip}")
protected boolean skip
protected org.ops4j.pax.url.mvn.MavenResolver resolver
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic static Map<String,org.apache.karaf.features.internal.model.Features> loadRepositories(org.apache.karaf.features.internal.download.DownloadManager manager, Set<String> uris) throws Exception
Exceptionpublic static Set<String> getPrefixedProperties(Map<String,String> properties, String prefix)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.