Class VerifyMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="verify",
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
          threadSafe=true)
    public class VerifyMojo
    extends MojoSupport
    • Field Detail

      • descriptors

        @Parameter(property="descriptors")
        protected Set<String> descriptors
      • blacklistedDescriptors

        @Parameter(property="blacklistedDescriptors")
        protected Set<String> blacklistedDescriptors
      • featureProcessingInstructions

        @Parameter(property="featureProcessingInstructions")
        protected File featureProcessingInstructions
      • features

        @Parameter(property="features")
        protected List<String> features
      • framework

        @Parameter(property="framework")
        protected Set<String> framework
      • configuration

        @Parameter(property="configuration")
        protected String configuration
      • distribution

        @Parameter(property="distribution",
                   defaultValue="org.apache.karaf:apache-karaf")
        protected String distribution
      • javase

        @Parameter(property="javase")
        protected String javase
      • distDir

        @Parameter(property="dist-dir")
        protected String distDir
      • karafVersion

        @Parameter(property="karaf-version")
        protected String karafVersion
      • additionalMetadata

        @Parameter(property="additional-metadata")
        protected File additionalMetadata
      • ignoreMissingConditions

        @Parameter(property="ignore-missing-conditions")
        protected boolean ignoreMissingConditions
      • fail

        @Parameter(property="fail")
        protected String fail
      • verifyTransitive

        @Parameter(property="verify-transitive")
        protected boolean verifyTransitive
      • project

        @Parameter(defaultValue="${project}",
                   readonly=true)
        protected org.apache.maven.project.MavenProject project
      • reactor

        @Component(role=org.eclipse.aether.repository.WorkspaceReader.class,
                   hint="reactor")
        protected org.eclipse.aether.repository.WorkspaceReader reactor
      • skip

        @Parameter(property="skip",
                   defaultValue="${features.verify.skip}")
        protected boolean skip
      • selfGroupId

        @Parameter(readonly=true,
                   defaultValue="${project.groupId}")
        protected String selfGroupId
      • selfArtifactId

        @Parameter(readonly=true,
                   defaultValue="${project.artifactId}")
        protected String selfArtifactId
      • resolver

        protected org.ops4j.pax.url.mvn.MavenResolver resolver
    • Constructor Detail

      • VerifyMojo

        public VerifyMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • doExecute

        protected void doExecute()
                          throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • loadRepositories

        public Map<String,​org.apache.karaf.features.internal.model.Features> loadRepositories​(org.apache.karaf.features.internal.download.DownloadManager manager,
                                                                                                    Set<String> uris)
                                                                                             throws Exception
        Throws:
        Exception