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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.1
    • None
    • dependencies
    • None
    • 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

              olamy Olivier Lamy
              belial belial
              Votes:
              16 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: