Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-640

Maven searches only central repository for imported dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 3.0
    • None
    • Maven 3
    • None
    • Windows 7

    Description

      We are using dependencyManagement with "import" scope like described here:
      http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies

      Problem occurs only at site generation, not at build time, where it works perfectly.

      The site plugin tries to find the imported artifacts, but searches only the central repository and ignores the repositories in settings.xml configuration. Mirror settings work, if "central" is mirrored, but dependencies need to be resolved from two repositories, so one mirror does not help here.

      I try to attach the relevant parts of the stacktrace.

      Attachments

        1. stacktrace.txt
          4 kB
          Markus Tippmann

        Activity

          People

            Unassigned Unassigned
            niveau0 Markus Tippmann
            Votes:
            27 Vote for this issue
            Watchers:
            28 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: