Changes between Version 1 and Version 2 of mvn


Ignore:
Timestamp:
Jun 15, 2020 7:32:33 PM (4 years ago)
Author:
jonathan
Comment:

Custom Maven settings for explicit SSL

Legend:

Unmodified
Added
Removed
Modified
  • mvn

    v1 v2  
    4848
    4949You will now be able to make secure SSL/TLS connections to servers which have a certificate signed by the CA which we just imported.
     50
     51== Even More SSL Woes ==
     52You may have to explicitly declare the Maven ''central'' repository as an SSL endpoint, add this to your custom user-specific Maven settings:
     53
     54{{{
     55#!xml
     56<?xml version="1.0" encoding="UTF-8"?>
     57<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
     58    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     59        <mirrors>
     60                <mirror>
     61                        <id>central</id>
     62                        <name>HTTPS Central Repository</name>
     63                        <url>https://repo1.maven.org/maven2/</url>
     64                        <mirrorOf>central</mirrorOf>
     65                </mirror>
     66        </mirrors>
     67</settings>
     68}}}