Class CompilerService


  • @Singleton
    public class CompilerService
    extends Object
    Provides methods to compile a Maven project
    Since:
    1.1
    Author:
    Álvaro Sánchez-Mariscal
    • Constructor Detail

      • CompilerService

        @Inject
        public CompilerService​(org.apache.maven.project.MavenProject mavenProject,
                               org.apache.maven.execution.MavenSession mavenSession,
                               ExecutorService executorService)
    • Method Detail

      • needsCompilation

        public boolean needsCompilation()
      • compileProject

        public Optional<Long> compileProject​(boolean copyResources)
      • resolveSourceDirectories

        public Map<String,​Path> resolveSourceDirectories()