Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-13881

Automated Maven Artifact Sharing

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed (View Workflow)
    • Resolution: Answered
    • Fix Version/s: None
    • Component/s: Maven
    • Labels:
      None
    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      The automated Maven dependency management works great for detecting which plans are dependent on each other. This works very well.

      However, this feature is next to useless when using multiple agents - especially the Elastic Bamboo agents. This is because when the triggered projects go to build, they can't find their dependencies.

      As a manual work around, you can:

      • publish the artefacts (build artifact and pom.xml) as Bamboo artefacts from the source project.
      • download the artefacts in the destination project
      • call 'mvn install:install-file' on the downloaded Maven artifacts so that they can be found during the build.

      As a manual approach, this is very tedious, especially when setting up projects with several related dependencies.

      All of this information is available to Bamboo, however, thanks to the Maven Dependencies Processor. That task needs a complement - a Maven Dependencies Artifact Downloader - which automates the steps described above.

      (Note that this shouldn't require changes to the pom - unlike the deprecated Bamboo Artifact Sharing Maven Plugin)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            robertdw1 Robert Watkins
            Votes:
            1 Vote for this issue
            Watchers:
            14 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: