CloudStack
  1. CloudStack
  2. CLOUDSTACK-744

maven optimization for awsapi - prevent transitive dependency and injection of broken repo info

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: AWSAPI
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:

      Description

      The combination of a system of transitive dependencies and the ability of pom files to inject (broken) repository information into the lookup process sometimes result in a situation where maven attempts to download artefacts from the wrong server. This typically happens over and over again and slows down maven runs significantly.

      This is even more annoying when the artefacts downloaded most certainly isn't used.

      patch at https://reviews.apache.org/r/8809/ fixes this issue.

        Activity

        Prasanna Santhanam created issue -
        Hide
        Prasanna Santhanam added a comment -

        applied fix to master:
        commit 42f3804fbdde7bfe4f3676ef0c18a54dfe95354c
        Author: Noa Resare <noa@spotify.com>
        Date: Thu Jan 3 15:48:06 2013 +0000

        Work around maven dependency problems

        Disable the transitive dependency from axis2-webapp to xercesImpl
        and from all rampart artifacts to opensaml. This fixes reproducible
        problem where maven tries to download artifacts from the wrong
        repositories.

        Signed-off-by: Prasanna Santhanam <tsp@apache.org>
        Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
        Reviewed-by: Likitha Shetty <Likitha.Shetty@citrix.com>

        Show
        Prasanna Santhanam added a comment - applied fix to master: commit 42f3804fbdde7bfe4f3676ef0c18a54dfe95354c Author: Noa Resare <noa@spotify.com> Date: Thu Jan 3 15:48:06 2013 +0000 Work around maven dependency problems Disable the transitive dependency from axis2-webapp to xercesImpl and from all rampart artifacts to opensaml. This fixes reproducible problem where maven tries to download artifacts from the wrong repositories. Signed-off-by: Prasanna Santhanam <tsp@apache.org> Signed-off-by: Rohit Yadav <bhaisaab@apache.org> Reviewed-by: Likitha Shetty <Likitha.Shetty@citrix.com>
        Prasanna Santhanam made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Prasanna Santhanam made changes -
        Assignee Prasanna Santhanam [ tsp ]
        Chip Childers made changes -
        Fix Version/s 4.1.0 [ 12323253 ]
        Chip Childers made changes -
        Affects Version/s 4.1.0 [ 12323253 ]
        Hide
        Sudha Ponnaganti added a comment -

        no qa required so no task created

        Show
        Sudha Ponnaganti added a comment - no qa required so no task created
        Hide
        Sudha Ponnaganti added a comment -

        Will close this task once successful builds are done using AWSAPI

        Show
        Sudha Ponnaganti added a comment - Will close this task once successful builds are done using AWSAPI
        Hide
        Sudha Ponnaganti added a comment -

        ASWAPI is being built now. Closing this task

        Show
        Sudha Ponnaganti added a comment - ASWAPI is being built now. Closing this task
        Sudha Ponnaganti made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        9m 58s 1 Prasanna Santhanam 04/Jan/13 06:17
        Resolved Resolved Closed Closed
        59d 22h 46m 1 Sudha Ponnaganti 05/Mar/13 05:04

          People

          • Assignee:
            Prasanna Santhanam
            Reporter:
            Prasanna Santhanam
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development