Class BundleInstallMojo

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

    @Mojo(name="install",
          defaultPhase=INSTALL)
    public class BundleInstallMojo
    extends org.apache.maven.plugin.AbstractMojo
    Author:
    cybercon <bndly@cybercon.de>
    • Field Detail

      • skipInstallation

        @Parameter(property="bndly.install.skip",
                   defaultValue="false",
                   required=true)
        protected boolean skipInstallation
      • webConsoleUrl

        @Parameter(property="bndly.webConsoleUrl",
                   defaultValue="http://localhost:8082/system/console/bundles/install",
                   required=true)
        protected String webConsoleUrl
      • basicAuthUser

        @Parameter(property="bndly.user",
                   required=false)
        protected String basicAuthUser
      • basicAuthPassword

        @Parameter(property="bndly.password",
                   required=false)
        protected String basicAuthPassword
      • hostnameverifier

        @Parameter(property="bndly.ssl.hostnameverifier",
                   required=false)
        protected String hostnameverifier
      • truststore

        @Parameter(property="bndly.ssl.truststore",
                   required=false)
        protected String truststore
      • truststorePassword

        @Parameter(property="bndly.ssl.truststore.password",
                   required=false)
        protected String truststorePassword
      • sslProtocols

        @Parameter(property="bndly.ssl.protocols",
                   required=false,
                   alias="sslProtocols")
        protected String[] sslProtocols
      • sslCipherSuites

        @Parameter(property="bndly.ssl.ciphersuites",
                   required=false,
                   alias="sslCipherSuites")
        protected String[] sslCipherSuites
      • trustSelfSignedCerts

        @Parameter(property="bndly.ssl.trustSelfSignedCerts",
                   defaultValue="false",
                   required=true)
        protected boolean trustSelfSignedCerts
      • bundleFileName

        @Parameter(property="bndly.bundle.file",
                   defaultValue="${project.build.directory}/${project.build.finalName}.jar",
                   required=true)
        protected String bundleFileName
      • bundleStartLevel

        @Parameter(property="bndly.bundle.startlevel",
                   defaultValue="1",
                   required=true)
        protected String bundleStartLevel
      • bundleStart

        @Parameter(property="bndly.bundle.start",
                   defaultValue="true",
                   required=true)
        protected boolean bundleStart
      • refreshPackages

        @Parameter(property="bndly.refreshPackages",
                   defaultValue="true",
                   required=true)
        protected boolean refreshPackages
      • installDependencies

        @Parameter(property="bndly.installDependencies",
                   defaultValue="false",
                   required=true)
        protected boolean installDependencies
      • project

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

        @Parameter(defaultValue="${project.dependencies}",
                   readonly=true)
        protected List<org.apache.maven.model.Dependency> dependencies
    • Constructor Detail

      • BundleInstallMojo

        public BundleInstallMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException