netbeans-freeform:generate-netbeans-project

Integrate the use of Maven 2 with Netbeans 4.x.

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Requires dependency resolution of artifacts in scope: test
  • Invokes the execution of the lifecycle phase generate-sources prior to executing itself.

Required Parameters

Name Type Description
executedProject MavenProject The currently executed project.
project MavenProject The project whose project files to create.

Optional Parameters

Name Type Description
additionalFiles String A comma separated list of additional files to view.
additionalFolders String A comma separated list of additionnal folders to view.
additionalGoals String A comma separated list of additional goals to call from Netbeans.
mavenpath String The path to the Maven executable.
outputDirectory String The directory where to write the nbproject directory and Netbeans project files. Defaults to the directory where the pom.xml file reside, if this parameter is left empty.

Parameter Details

additionalFiles A comma separated list of additional files to view.
  • Type: java.lang.String
  • Required: No
  • Expression: ${freeform.additionalFiles}

additionalFolders A comma separated list of additionnal folders to view.
  • Type: java.lang.String
  • Required: No
  • Expression: ${freeform.additionalFolders}

additionalGoals A comma separated list of additional goals to call from Netbeans.
  • Type: java.lang.String
  • Required: No
  • Expression: ${freeform.additionalGoals}

executedProject The currently executed project.
  • Type: org.apache.maven.project.MavenProject
  • Required: Yes
  • Expression: ${executedProject}

mavenpath The path to the Maven executable.
  • Type: java.lang.String
  • Required: No
  • Expression: ${freeform.mavenpath}

outputDirectory The directory where to write the nbproject directory and Netbeans project files. Defaults to the directory where the pom.xml file reside, if this parameter is left empty.
  • Type: java.lang.String
  • Required: No
  • Expression: ${freeform.outputDirectory}

project The project whose project files to create.
  • Type: org.apache.maven.project.MavenProject
  • Required: Yes
  • Expression: ${project}