Class HK2GenerateMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.sun.enterprise.module.maven.HK2GenerateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class HK2GenerateMojo extends org.apache.maven.plugin.AbstractMojo
Generates a consolidated OSGI bundle with a consolidated HK2 header
  • Field Details

  • Constructor Details

    • HK2GenerateMojo

      public HK2GenerateMojo()
  • Method Details

    • execute

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

      private void catJarEntry(JarFile jf, JarEntry e, OutputStream catStream) throws IOException
      Throws:
      IOException
    • getCatOutputStream

      private OutputStream getCatOutputStream() throws org.apache.maven.plugin.MojoExecutionException, IOException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      IOException