Class ProjectModule


  • public class ProjectModule
    extends Object
    • Field Detail

      • failedCompilationJavaSources

        public Collection<File> failedCompilationJavaSources
      • sourceDirRegistered

        public boolean sourceDirRegistered
      • failedCompilationJavaTests

        public Collection<File> failedCompilationJavaTests
      • triggerJavaTestRecompile

        public boolean triggerJavaTestRecompile
      • testSourceDirRegistered

        public boolean testSourceDirRegistered
      • disableDependencyCompile

        public boolean disableDependencyCompile
      • sourceOutputDirRegistered

        public boolean sourceOutputDirRegistered
    • Constructor Detail

      • ProjectModule

        public ProjectModule​(File buildFile,
                             String projectName,
                             String packagingType,
                             Set<String> compileArtifacts,
                             Set<String> testArtifacts,
                             File sourceDirectory,
                             File outputDirectory,
                             File testSourceDirectory,
                             File testOutputDirectory,
                             List<File> resourceDirs,
                             boolean skipTests,
                             boolean skipUTs,
                             boolean skipITs,
                             JavaCompilerOptions compilerOptions,
                             List<File> dependentModules)
        Defines a project module for supporting multi-module projects
        Parameters:
        buildFile - pom.xml
        projectName - project name (artifactId)
        packagingType - packaging type
        compileArtifacts - compileArtifacts of project
        testArtifacts - testArtifacts of project
        sourceDirectory - src/main/java dir
        outputDirectory - output dir
        testSourceDirectory - src/test/java dir
        testOutputDirectory - test output dir
        resourceDirs - resource directories
        skipTests - whether to skip tests for this project
        skipUTs - whether to skip unit tests for this project
        skipITs - whether to skip integration tests for this project
        compilerOptions - Java compiler options set in pom.xml
    • Method Detail

      • getProjectName

        public String getProjectName()
      • getPackagingType

        public String getPackagingType()
      • getBuildFile

        public File getBuildFile()
      • getCompileArtifacts

        public Set<String> getCompileArtifacts()
      • getTestArtifacts

        public Set<String> getTestArtifacts()
      • getSourceDirectory

        public File getSourceDirectory()
      • getOutputDirectory

        public File getOutputDirectory()
      • getTestSourceDirectory

        public File getTestSourceDirectory()
      • getTestOutputDirectory

        public File getTestOutputDirectory()
      • getResourceDirs

        public List<File> getResourceDirs()
      • skipTests

        public boolean skipTests()
      • skipUTs

        public boolean skipUTs()
      • skipITs

        public boolean skipITs()
      • getDependentModules

        public List<File> getDependentModules()
      • setDependentModules

        public void setDependentModules​(List<File> dependentModules)