Uploaded image for project: 'Maven Project Info Reports Plugin'
  1. Maven Project Info Reports Plugin
  2. MPIR-137

Dependency Locations should work with an intranet repository and restricted internet access

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: dependencies
    • Labels:
      None
    • Environment:
      All environments, no internet access allowed, no internet proxy configuration, intranet repository configured (Artifactory, but it seems to happen with Archiva)

      Description

      We use Maven and Artifactory, and the PCs does not have direct internet access allowed. Maven is configured to mirror the Artifactory repository. So, all the users have to download their artifacts from the intranet repository.

      When launching the 'site' goal (mvn site), when generating the 'Dependencies' report, it hangs for a long time until we get this error:

      [WARNING] The repository url 'XXXXXXXX' is invalid - Repository 'XXX' will be blacklisted.

      It's possible to work around this problem disabling the parameter 'dependencyLocationEnabled' in the maven-project-info-reports-plugin:

      <plugins>
      ...
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-project-info-reports-plugin</artifactId>
      <version>2.1</version>
      <configuration>
      <dependencyLocationEnabled>false</dependencyLocationEnabled>
      </configuration>
      <plugin>
      ...
      </plugins>

      But I think the dependency locations should be solved using the information stored in the intranet repository (in my case Artifactory). At this moment the reports generated do not include the Dependency Location information.

      You can read this thread for a further description:
      http://www.nabble.com/Problem-with-Maven%2C-Hudson%2C-Archiva---Builds-take-very-long-td19158623.html#a19218823

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                olamy Olivier Lamy (*$^¨%`£)
                Reporter:
                belial belial
              • Votes:
                16 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: