すべてのバージョン
Bamboo 5.13Bamboo 5.7.x
Bamboo 5.6.x
More...
If you have the details for a build plan set up in your Maven project (Maven 2 only), you can use Bamboo to checkout the pom.xml and create a new plan using the details from it.
Only people with the 'Create Plan' global permission can import a build plan from a pom.xml.
To create a new plan with Maven,
You can configure Bamboo to automatically start an initial build for a new plan, even if you have selected manual triggering. To do so, add the
fire.initial.build.for.manual.strategy
to your bamboo.cfg.xml file as described in Configuring System Properties.
Security Manager settings too strict
Please note, during the Maven import, Maven's project file (pom.xml or other specified by user) is analysed using maven-embedder library. The parent poms will be searched in local repository or downloaded from network repositories. In order to reuse Maven's credentials for the network repositories, Bamboo needs to access the maven-embedder internals. If your JVM's or web container's SecurityManager's settings are too strict, this will fail and you will see this error in your Bamboo logs:
"Problem while initializing Maven Embedder. Probably Security Manager settings are too strict, refer to http://tomcat.apache.org/tomcat-6.0-doc/security-manager-howto.html"
If your imported Maven project file uses repositories that require credentials (i.e. not public or local), you will need to adjust the SecurityManager settings for your JVM or web container appropriately for the import to work.
Screenshot: Importing a plan from a pom.xml