Powered by:
SourceForge.net Built by Maven
Sponsored by:
AlphaCSP

jade-javac:compile

Sets the compile path to include additional sources And uses Javac Ant task instead of plexus utils compiler @author Oren Sadeh

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Requires dependency resolution of artifacts in scope: compile
  • Automatically executes within the lifecycle phase: compile

Optional Parameters

Name Type Description
projectHelper MavenProjectHelper project-helper instance, used to make addition of resources simpler
artifactResolver ArtifactResolver Used to look up Artifacts in the local or remote repository.
artifactFactory ArtifactFactory Used to look up Artifacts in the local or remote repository.
localRepository ArtifactRepository The local repository
pluginArtifacts Artifact> The plugin dependency artifacts
maven2AntManager Maven2AntManager The manager to link maven project with an Ant project.
nameProvider ProjectNameProvider No description.
packageName String Package being compiled. Only classes with package name starting with packageName will be compiled
sourceDependencies String> Additional source paths. Used at the beginning to solve circular dependencies
includes String> A list of inclusion filters for the compiler.
excludes String> A list of exclusion filters for the compiler.
debug boolean Whether to include debugging information in the compiled class files. The default value is true. Default value is true.
showDeprecation boolean Output source locations where deprecated APIs are used Default value is false.
fork boolean Fork the compiler if true Default value is true.
optimize boolean Optimize compiled code using the compiler's optimization methods Default value is false.
source String The -source argument for the Java compiler
executable String The javac executable to use when fork is true
target String The -target argument for the Java compiler

Parameter Details

projectHelper project-helper instance, used to make addition of resources simpler
  • Type: org.apache.maven.project.MavenProjectHelper
  • Required: No

artifactResolver Used to look up Artifacts in the local or remote repository.
  • Type: org.apache.maven.artifact.resolver.ArtifactResolver
  • Required: No

artifactFactory Used to look up Artifacts in the local or remote repository.
  • Type: org.apache.maven.artifact.factory.ArtifactFactory
  • Required: No

localRepository The local repository
  • Type: org.apache.maven.artifact.repository.ArtifactRepository
  • Required: No
  • Expression: ${localRepository}

pluginArtifacts The plugin dependency artifacts
  • Type: java.util.List<org.apache.maven.artifact.Artifact>
  • Required: No
  • Expression: ${plugin.artifacts}

maven2AntManager The manager to link maven project with an Ant project.
  • Type: org.jfrog.jade.plugins.common.ant.Maven2AntManager
  • Required: No

nameProvider No Description.
  • Type: org.jfrog.jade.plugins.common.naming.ProjectNameProvider
  • Required: No

packageName Package being compiled. Only classes with package name starting with packageName will be compiled
  • Type: java.lang.String
  • Required: No

sourceDependencies Additional source paths. Used at the beginning to solve circular dependencies
  • Type: java.util.List<java.lang.String>
  • Required: No

includes A list of inclusion filters for the compiler.
  • Type: java.util.List<java.lang.String>
  • Required: No

excludes A list of exclusion filters for the compiler.
  • Type: java.util.List<java.lang.String>
  • Required: No

debug Whether to include debugging information in the compiled class files. The default value is true.
  • Type: boolean
  • Required: No
  • Expression: ${maven.compiler.debug}
  • Default: true

showDeprecation Output source locations where deprecated APIs are used
  • Type: boolean
  • Required: No
  • Expression: ${maven.compiler.showDeprecation}
  • Default: false

fork Fork the compiler if true
  • Type: boolean
  • Required: No
  • Expression: ${maven.compiler.fork}
  • Default: true

optimize Optimize compiled code using the compiler's optimization methods
  • Type: boolean
  • Required: No
  • Expression: ${maven.compiler.optimize}
  • Default: false

source The -source argument for the Java compiler
  • Type: java.lang.String
  • Required: No
  • Expression: ${maven.compiler.source}

executable The javac executable to use when fork is true
  • Type: java.lang.String
  • Required: No
  • Expression: ${maven.compiler.executable}

target The -target argument for the Java compiler
  • Type: java.lang.String
  • Required: No
  • Expression: ${maven.compiler.target}