Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2624

Unable to find crowd-sal bundle when not using install target

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.5
    • 2.3.2
    • Build
    • None

    Description

      After running mvn javadoc:aggregate I get:

      [INFO] Building Atlassian Crowd Bundled Plugins
      [INFO] ------------------------------------------------------------------------
      Downloading: https://m2proxy.atlassian.com/repository/internal/com/atlassian/crowd/crowd-sal/2.3.2/crowd-sal-2.3.2.bundle
      [INFO] Unable to find resource 'com.atlassian.crowd:crowd-sal:bundle:2.3.2' in repository central (https://m2proxy.atlassian.com/repository/internal)
      Downloading: https://m2proxy.atlassian.com/repository/m1/com/atlassian/crowd/crowd-sal/2.3.2/crowd-sal-2.3.2.bundle
      [INFO] Unable to find resource 'com.atlassian.crowd:crowd-sal:bundle:2.3.2' in repository atlassian-m1-repository (https://m2proxy.atlassian.com/repository/m1)
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.
      
      Missing:
      ----------
      1) com.atlassian.crowd:crowd-sal:bundle:2.3.2
      
        Try downloading the file manually from the project website.
      
        Then, install it using the command: 
            mvn install:install-file -DgroupId=com.atlassian.crowd -DartifactId=crowd-sal -Dversion=2.3.2 -Dpackaging=bundle -Dfile=/path/to/file
      
        Alternatively, if you host your own repository you can deploy the file there: 
            mvn deploy:deploy-file -DgroupId=com.atlassian.crowd -DartifactId=crowd-sal -Dversion=2.3.2 -Dpackaging=bundle -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
      
        Path to dependency: 
        	1) com.atlassian.crowd:crowd-bundled-plugins:pom:2.3.2
        	2) com.atlassian.crowd:crowd-sal:bundle:2.3.2
      
      ----------
      1 required artifact is missing.
      
      for artifact: 
        com.atlassian.crowd:crowd-bundled-plugins:pom:2.3.2
      
      from the specified remote repositories:
        central (https://m2proxy.atlassian.com/repository/internal),
        atlassian-m1-repository (https://m2proxy.atlassian.com/repository/m1)
      
      
      
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 21 seconds
      [INFO] Finished at: Wed Aug 10 18:23:34 CDT 2011
      [INFO] Final Memory: 62M/618M
      [INFO] ------------------------------------------------------------------------
      

      Workaround seems to be to run mvn install javadoc:aggregate instead.

      I have seen similar behaviour lately with release:prepare target as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            onevalainen Olli Nevalainen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: