Class AbstractTychoPackagingMojo

    • Field Detail

      • session

        @Parameter(property="session",
                   readonly=true)
        protected org.apache.maven.execution.MavenSession session
      • project

        @Parameter(property="project",
                   readonly=true)
        protected org.apache.maven.project.MavenProject project
      • useDefaultExcludes

        @Parameter(defaultValue="true")
        protected boolean useDefaultExcludes
      • qualifier

        @Parameter(property="buildQualifier")
        protected java.lang.String qualifier
        Build qualifier. Recommended way to set this parameter is using build-qualifier goal.
      • strictBinIncludes

        @Parameter(defaultValue="true")
        protected boolean strictBinIncludes
        If set to true (the default), missing build.properties bin.includes will cause build failure. If set to false, missing build.properties bin.includes will be reported as warnings but the build will not fail.
      • plexus

        @Component
        protected org.codehaus.plexus.PlexusContainer plexus
      • projectHelper

        @Component
        protected org.apache.maven.project.MavenProjectHelper projectHelper
    • Constructor Detail

      • AbstractTychoPackagingMojo

        public AbstractTychoPackagingMojo()
    • Method Detail

      • getFileSet

        protected org.codehaus.plexus.archiver.FileSet getFileSet​(java.io.File basedir,
                                                                  java.util.List<java.lang.String> includes,
                                                                  java.util.List<java.lang.String> excludes)
        Returns:
        a FileSet with the given includes and excludes and the configured default excludes. An empty list of includes leads to an empty file set.
      • getTychoProjectFacet

        protected TychoProject getTychoProjectFacet()
      • getTychoProjectFacet

        protected TychoProject getTychoProjectFacet​(java.lang.String packaging)
      • checkBinIncludesExist

        protected void checkBinIncludesExist​(BuildProperties buildProperties,
                                             java.lang.String... ignoredIncludes)
                                      throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException