Class ClassesPackagingTask

    • Field Detail

      • currentProjectOverlay

        private final Overlay currentProjectOverlay
    • Constructor Detail

      • ClassesPackagingTask

        public ClassesPackagingTask​(Overlay currentProjectOverlay)
        Parameters:
        currentProjectOverlay - currentProjectOverlay
    • Method Detail

      • performPackaging

        public void performPackaging​(WarPackagingContext context)
                              throws org.apache.maven.plugin.MojoExecutionException
        Description copied from interface: WarPackagingTask
        Performs the packaging for the specified task. The task is responsible to update the packaging context, namely with the files that have been copied.
        Parameters:
        context - the packaging context
        Throws:
        org.apache.maven.plugin.MojoExecutionException - if an error occurred
      • generateJarArchive

        protected void generateJarArchive​(WarPackagingContext context)
                                   throws org.apache.maven.plugin.MojoExecutionException
        Parameters:
        context - The warPackingContext.
        Throws:
        org.apache.maven.plugin.MojoExecutionException - In case of an error.