Class BundleAllPlugin

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    WrapPlugin

    @Deprecated
    @Mojo(name="bundleall",
          requiresDependencyResolution=TEST,
          defaultPhase=PACKAGE)
    public class BundleAllPlugin
    extends ManifestPlugin
    Deprecated.
    The bundleall goal is no longer supported and may be removed in a future release
    Build an OSGi bundle jar for all transitive dependencies.
    • Constructor Detail

      • BundleAllPlugin

        public BundleAllPlugin()
        Deprecated.
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Deprecated.
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class BundlePlugin
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        See Also:
        Mojo.execute()
      • bundleAll

        protected BundleInfo bundleAll​(org.apache.maven.project.MavenProject project,
                                       int maxDepth)
                                throws org.apache.maven.plugin.MojoExecutionException
        Deprecated.
        Bundle a project and its transitive dependencies up to some depth level
        Parameters:
        project -
        maxDepth - how deep to process the dependency tree
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • bundle

        protected BundleInfo bundle​(org.apache.maven.project.MavenProject project)
                             throws org.apache.maven.plugin.MojoExecutionException
        Deprecated.
        Bundle one project only without building its childre
        Parameters:
        project -
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • getFile

        protected File getFile​(org.apache.maven.artifact.Artifact artifact)
        Deprecated.
        Use previously built bundles when available.
        Overrides:
        getFile in class BundlePlugin
        Parameters:
        artifact -
      • snapshotMatch

        protected boolean snapshotMatch​(org.apache.maven.artifact.Artifact artifact,
                                        String bundleName)
        Deprecated.
        Check that the bundleName provided correspond to the artifact provided. Used to determine when the bundle name is a timestamped snapshot and the artifact is a snapshot not timestamped.
        Parameters:
        artifact - artifact with snapshot version
        bundleName - bundle file name
        Returns:
        if both represent the same artifact and version, forgetting about the snapshot timestamp
      • getOutputFile

        protected File getOutputFile​(org.apache.maven.artifact.Artifact artifact)
        Deprecated.
      • logDuplicatedPackages

        protected void logDuplicatedPackages​(BundleInfo bundleInfo)
        Deprecated.
        Log what packages are exported in more than one bundle