Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5735

Repositories are ignored in profile dependencies init

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: 3.2.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Ubuntu

      Description

      Configured repositories are ignored in profiles.
      After cleaning repo (created by 3.x version) I noticed that rubygems deps used in my profile are not being downloaded by Maven.

      In log I can see repo being used in main part of the pom (general deps) and skipped in profile deps init part.

      Repository missing for profile deps init:
      http://rubygems-proxy.torquebox.org/releases

      [DEBUG] Dependency collection stats:

      {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=83, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=36, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3, ConflictResolver.conflictItemCount=81, DefaultDependencyCollector.collectTime=654, DefaultDependencyCollector.transformTime=3}

      [DEBUG] de.saumya.mojo:gem-maven-plugin:jar:1.0.2:
      [DEBUG] rubygems:compass:gem:1.0.1:runtime
      [DEBUG] rubygems:sass:gem:3.4.1:runtime
      [DEBUG] rubygems:chunky_png:gem:1.3.1:runtime
      [DEBUG] rubygems:fssm:gem:0.2.10:runtime
      [DEBUG] de.saumya.mojo:jruby-maven-plugin:jar:1.0.2:compile
      [DEBUG] de.saumya.mojo:ruby-tools:jar:1.0.2:compile
      [DEBUG] ant:ant:jar:1.6.5:compile
      [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.2:compile
      .....
      [DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for http://repo.maven.apache.org/maven2
      Downloading: http://repo.maven.apache.org/maven2/rubygems/compass/1.0.1/compass-1.0.1.gem
      Downloading: http://repo.maven.apache.org/maven2/rubygems/sass/3.4.1/sass-3.4.1.gem
      Downloading: http://repo.maven.apache.org/maven2/rubygems/chunky_png/1.3.1/chunky_png-1.3.1.gem
      Downloading: http://repo.maven.apache.org/maven2/rubygems/fssm/0.2.10/fssm-0.2.10.gem

        Attachments

        1. output.txt
          924 kB
          Stanislav Makarenko

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gosatin Stanislav Makarenko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: