Class CpuCountMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
org.codehaus.mojo.buildhelper.CpuCountMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="cpu-count", defaultPhase=INITIALIZE, threadSafe=true) public class CpuCountMojo extends AbstractDefinePropertyMojo
Retrieve number of CPUs with project factor, and place it under a configurable project property
Since:
1.9
Author:
Dan T. Tran
  • Constructor Details

    • CpuCountMojo

      public CpuCountMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException