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

LightweightHttpsWagon is always used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1, 3.1.0
    • None

    Description

      For all dependencies, one of the plugins needs to download always the LightweightHttpsWagon is used. Independent of the wagon provider configuration in the settings.xml or via -Dmaven.wagon.provider.https and -Dmaven.wagon.provider.http.

      Starting with Maven 3.0.4 the httpclient is the default wagon provider used for http and https connections. Therefore, I added add httpConfiguration for all servers I access in my settings.xml to reduce the timeout. This works well with all other plugins but for this plugin in version 3.0.0 it generates the following warning for each download:

      [WARNING] Could not apply configuration for central to wagon org.apache.maven.wagon.providers.http.LightweightHttpsWagon:Cannot find 'httpConfiguration' in class org.apache.maven.wagon.providers.http.LightweightHttpsWagon

      I tried to explicitly define the wagon provider to be httpclient for each server in my settings.xml and I tried to force the client via the command line arguments. None of this changes was successful.

      Please make this plugin use the configured wagon provider for each server and use the same default provider as the Maven version.

      Attachments

        1. pom.xml
          1 kB
          Jan Gerken
        2. build.log
          718 kB
          Jan Gerken

        Activity

          People

            michael-o Michael Osipov
            jan-apache-issues Jan Gerken
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: