Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-13725

missing struts dependencies in 5.1 SDK. 5.0 & 4.0 OK

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.3, 5.2.2
    • 5.1, 5.2
    • Plugins
    • None

    Description

      I followed the excellent Atlassian SDK tutorial and made a skeleton plugin for bamboo:

      $ atlas-create-bamboo-plugin

      ....
      [INFO] Sending event to Google Analytics: AMPS:bamboo - SDK First Run - 4.2.9
      [INFO] determining latest stable product version...
      [INFO] using latest stable product version: 5.1
      [INFO] determining latest stable data version...
      [INFO] using latest stable data version: 3.2.2
      ...

      When I try to atlas-run I eventually get:

      Missing:
      ----------
      1) org.apache.struts:struts2-core:jar:2.3.15.1-atlassian-5

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.struts -DartifactId=struts2-core -Dversion=2.3.15.1-atlassian-5 -Dpackaging=jar -Dfile=/path/to/file

      Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.apache.struts -DartifactId=struts2-core -Dversion=2.3.15.1-atlassian-5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

      Path to dependency:
      1) com.atlassian.bamboo.tutorial:helloworld:atlassian-plugin:1.0-SNAPSHOT
      2) com.atlassian.bamboo:atlassian-bamboo-web:jar:5.1
      3) org.apache.struts:struts2-core:jar:2.3.15.1-atlassian-5

      2) org.apache.struts.xwork:xwork-core:jar:2.3.15.1-atlassian-7

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.struts.xwork -DartifactId=xwork-core -Dversion=2.3.15.1-atlassian-7 -Dpackaging=jar -Dfile=/path/to/file

      Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.apache.struts.xwork -DartifactId=xwork-core -Dversion=2.3.15.1-atlassian-7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

      Path to dependency:
      1) com.atlassian.bamboo.tutorial:helloworld:atlassian-plugin:1.0-SNAPSHOT
      2) com.atlassian.bamboo:atlassian-bamboo-web:jar:5.1
      3) com.atlassian.bamboo:atlassian-bamboo-core:jar:5.1
      4) org.apache.struts.xwork:xwork-core:jar:2.3.15.1-atlassian-7

      ----------
      2 required artifacts are missing.

      When I change the pom.xml to "5.0" or "4.0" everything goes great, I can load the bamboo plugin list and see my "helloworld" guy in there.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mgleeson Matthew Gleeson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: