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

Automated Maven Artifact Sharing

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Resolved (View Workflow)
    • Priority: Low
    • Resolution: Answered
    • Affects Version/s: 5.1.1
    • Fix Version/s: None
    • Component/s: Maven
    • Labels:
      None
    • Last commented by user?:
      true
    • Comments:
      6

      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
            Participants:
            Votes:
            1 Vote for this issue
            Watchers:
            14 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Last commented:
              2 years, 7 weeks, 5 days ago