This page describes how to create a plan by importing a Maven 2 project.

Bamboo can check out and parse the pom.xml from a Maven 2 project, and create a new plan using the details from it. This feature is not available for Maven 1 projects.

Related pages:

To create a new plan from a Maven 2 pom.xml file:

  1. Click Create Plan in the top menu bar, and then click Import a Maven 2 Project. Maven 2 needs to be installed on the Bamboo server machine. 

    See Defining a new executable capability.

  2. Specify the details required for Bamboo to locate your Maven 2 project's pom.xml file.
  3. Click Import.
  4. Confirm the details from your pom.xml file that are shown on the 'Confirm Plan Details' page.
  5. Choose whether to enable this plan. Enabling the plan instructs Bamboo to start running builds of the plan, based on the plan's trigger configuration.
  6. When you click Create, the new plan's 'Plan Summary' page will be displayed. Bamboo will automatically run an initial build for your new plan.
  7. Click Confirm to save your plan configuration so far. The Tasks tab of the plan's default job is displayed.
  8. Configure the Maven 2 task options, as described in Maven. You can select a different builder task but this would only be useful if your Maven 2 project's pom.xml depended on a non-Maven 2 builder. If you do need to specify a non-Maven 2 builder, refer to the '2. Configure tasks for the plan' section on Create a new plan.

If you wish to configure more plan options, please refer to Editing a plan's configuration.

Screenshot: Importing a plan from Maven 2

Notes