Alfresco / alfresco-sdk

The Alfresco In-Process SDK is based on Apache Maven, includes support for rapid and standard development, testing, packaging, versioning and release of your Alfresco integration and extension projects
Apache License 2.0
185 stars 113 forks source link

Need to use https when accessing repo.maven.apache.org #590

Closed rmknightstar closed 3 years ago

rmknightstar commented 4 years ago

seeing this message

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=300m; support was removed in 8.0
[WARNING] 
[WARNING] Some problems were encountered while building the effective settings
[WARNING] ‘servers.server.id’ must be unique but found duplicate server with id alfresco-private-repository @ /Users/rmcknight/.m2/settings.xml
[WARNING] 
[INFO] Scanning for projects...
[INFO]                                     
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO] 
[INFO] <<< maven-archetype-plugin:2.4:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO] 
[INFO] --- maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[WARNING] Error reading archetype catalog http://repo.maven.apache.org/maven2

When I try to go to http://repo.maven.apache.org/maven2 I get the following error….

501 HTTPS Required. 
Use https://repo.maven.apache.org/maven2/
More information at https://links.sonatype.com/central/501-https-required

Saw this at the aforementioned link…..

Effective January 15, 2020, The Central Repository no longer supports insecure communication over plain HTTP and requires that all requests to the repository are encrypted over HTTPS.