How to configure Maven 3 to use proactive authorization?

I tried several ways to get this to work, but I haven't got it yet. Here is what I have found so far. Please note that I tried these settings using Maven v3.0.3 as well as v2.2.1.

  • Wagon suppliers are just outdated for Maven 3. Indication <wagonProvider>httpclient</wagonProvider>still gives me LightweightHttpWagon.
  • The HTTP configuration guide is out of date again. There's a proactive permission section, but that doesn't work.
  • I also found MNG-4792 , which indicates that it is broken.

Has anyone really got this to work?

+3
source share
2 answers

. . AFAIK Apache HttpClient (4.x), .

, . , , .

0

wagon-http maven 3.0.3, wagon-http, ..:

<extensions>
    <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-http</artifactId>
        <version>1.0-beta-7</version>
    </extension>            
</extensions>

, 1.0--7, .

3.0.4.

0

All Articles