So I just compiled and executed the simplest HTTP program I could find

import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class ReadWebPage {

    public static void main(String[] args) throws IOException, 
InterruptedException {

        HttpClient client = HttpClient.newHttpClient();
        HttpRequest request = HttpRequest.newBuilder()
                .uri(URI.create("http://www.slackware.com/";))
                .GET() // GET is default
                .build();

        HttpResponse<String> response = client.send(request,
                HttpResponse.BodyHandlers.ofString());

        System.out.println(response.body());
    }
}

And it has the same issue

Exception in thread "main" java.net.ConnectException: Network is unreachable
        at 
java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:561)
        at 
java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:119)
        at ReadWebPage.main(ReadWebPage.java:17)
Caused by: java.net.ConnectException: Network is unreachable
        at 
java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:971)
        at 
java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:179)
        at 
java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:237)
        at 
java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$8(Exchange.java:435)
        at 
java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:367)
        at 
java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:439)
        at 
java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
        at 
java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:946)
        at 
java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2266)
        at 
java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:439)
        at 
java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:343)
        at 
java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:335)
        at 
java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:347)
        at 
java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:384)
        at 
java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
        at 
java.base/java.util.concurrent.CompletableFuture.uniHandleStage(CompletableFuture.java:946)
        at 
java.base/java.util.concurrent.CompletableFuture.handle(CompletableFuture.java:2266)
        at 
java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:374)
        at 
java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:293)
        at 
java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
        at 
java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
        at 
java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705)
        at 
java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:153)
        at 
java.base/java.util.concurrent.CompletableFuture.completeAsync(CompletableFuture.java:2591)
        at 
java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:246)
        at 
java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:632)
        at 
java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:540)
        ... 2 more
Caused by: java.net.SocketException: Network is unreachable
        at java.base/sun.nio.ch.Net.connect0(Native Method)
        at java.base/sun.nio.ch.Net.connect(Net.java:476)
        at java.base/sun.nio.ch.Net.connect(Net.java:468)
        at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:694)
        at 
java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:165)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at 
java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:167)
        ... 27 more


> On 7 Apr 2022, at 11:40 am, David Handermann <exceptionfact...@apache.org> 
> wrote:
> 
> Phil,
> 
> Thanks for the additional details, Maven 3.8.1 is recent, so it should work.
> 
> The stack trace include the following specific problem:
> 
> - java.net.SocketException: Network is unreachable (connect failed)
> 
> This indicates a low-level network connectivity problem. Although you
> provided the curl command results, is it possible that your network
> connection requires a proxy server?
> 
> Running the following OpenSSL command will attempt a socket connection with
> TLS to the Maven repository server, to check connectivity:
> 
> openssl s_client -host repo1.maven.org -port 443
> 
> Regards,
> David Handermann
> 
> On Wed, Apr 6, 2022 at 8:31 PM Phil H <gippyp...@gmail.com> wrote:
> 
>> Sure thing David,
>> 
>> phil@Phils-MacBook-Pro nifi % mvn -X -T C2.0 clean install
>> -Pinclude-grpc
>> Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
>> Maven home: /usr/local/Cellar/maven/3.8.1/libexec
>> Java version: 11.0.12, vendor: Oracle Corporation, runtime:
>> /Library/Java/JavaVirtualMachines/jdk-11.0.12.jdk/Contents/Home
>> Default locale: en_AU, platform encoding: UTF-8
>> OS name: "mac os x", version: "11.5", arch: "x86_64", family: "mac"
>> [DEBUG] Created new class realm maven.api
>> [DEBUG] Importing foreign packages into class realm maven.api
>> [DEBUG]   Imported: javax.annotation.* < plexus.core
>> [DEBUG]   Imported: javax.annotation.security.* < plexus.core
>> [DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
>> [DEBUG]   Imported: javax.enterprise.util.* < plexus.core
>> [DEBUG]   Imported: javax.inject.* < plexus.core
>> [DEBUG]   Imported: org.apache.maven.* < plexus.core
>> [DEBUG]   Imported: org.apache.maven.artifact < plexus.core
>> [DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
>> [DEBUG]   Imported: org.apache.maven.cli < plexus.core
>> [DEBUG]   Imported: org.apache.maven.configuration < plexus.core
>> [DEBUG]   Imported: org.apache.maven.exception < plexus.core
>> [DEBUG]   Imported: org.apache.maven.execution < plexus.core
>> [DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
>> [DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
>> [DEBUG]   Imported: org.apache.maven.model < plexus.core
>> [DEBUG]   Imported: org.apache.maven.monitor < plexus.core
>> [DEBUG]   Imported: org.apache.maven.plugin < plexus.core
>> [DEBUG]   Imported: org.apache.maven.profiles < plexus.core
>> [DEBUG]   Imported: org.apache.maven.project < plexus.core
>> [DEBUG]   Imported: org.apache.maven.reporting < plexus.core
>> [DEBUG]   Imported: org.apache.maven.repository < plexus.core
>> [DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
>> [DEBUG]   Imported: org.apache.maven.settings < plexus.core
>> [DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
>> [DEBUG]   Imported: org.apache.maven.usability < plexus.core
>> [DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
>> [DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
>> [DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
>> [DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
>> [DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
>> [DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
>> [DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
>> [DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
>> [DEBUG]   Imported: org.codehaus.classworlds < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser <
>> plexus.core
>> [DEBUG]   Imported:
>> org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
>> [DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer <
>> plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.* < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
>> [DEBUG]   Imported: org.eclipse.aether.version < plexus.core
>> [DEBUG]   Imported: org.fusesource.jansi.* < plexus.core
>> [DEBUG]   Imported: org.slf4j.* < plexus.core
>> [DEBUG]   Imported: org.slf4j.event.* < plexus.core
>> [DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
>> [DEBUG]   Imported: org.slf4j.spi.* < plexus.core
>> [DEBUG] Populating class realm maven.api
>> [INFO] Error stacktraces are turned on.
>> [DEBUG] Message scheme: color
>> [DEBUG] Message styles: debug info warning error success failure strong
>> mojo project
>> [DEBUG] Reading global settings from
>> /usr/local/Cellar/maven/3.8.1/libexec/conf/settings.xml
>> [DEBUG] Reading user settings from /Users/phil/.m2/settings.xml
>> [DEBUG] Reading global toolchains from
>> /usr/local/Cellar/maven/3.8.1/libexec/conf/toolchains.xml
>> [DEBUG] Reading user toolchains from /Users/phil/.m2/toolchains.xml
>> [DEBUG] Using local repository at /Users/phil/.m2/repository
>> [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0
>> for /Users/phil/.m2/repository
>> [INFO] Scanning for projects...
>> [DEBUG] Using transporter WagonTransporter with priority -1.0 for
>> https://repo1.maven.org/maven2
>> [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for
>> https://repo1.maven.org/maven2
>> Downloading from central:
>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom
>> [DEBUG] Writing tracking file
>> /Users/phil/.m2/repository/org/apache/apache/25/apache-25.pom.lastUpdated
>> [DEBUG] Using transporter WagonTransporter with priority -1.0 for
>> https://repository.apache.org/content/repositories/releases
>> [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for
>> https://repository.apache.org/content/repositories/releases
>> Downloading from apache-repo:
>> https://repository.apache.org/content/repositories/releases/org/apache/apache/25/apache-25.pom
>> [DEBUG] Writing tracking file
>> /Users/phil/.m2/repository/org/apache/apache/25/apache-25.pom.lastUpdated
>> [DEBUG] Using transporter WagonTransporter with priority -1.0 for
>> https://build.shibboleth.net/nexus/content/repositories/releases/
>> [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for
>> https://build.shibboleth.net/nexus/content/repositories/releases/
>> Downloading from Shibboleth:
>> https://build.shibboleth.net/nexus/content/repositories/releases/org/apache/apache/25/apache-25.pom
>> [DEBUG] Writing tracking file
>> /Users/phil/.m2/repository/org/apache/apache/25/apache-25.pom.lastUpdated
>> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
>> [FATAL] Non-resolvable parent POM for
>> org.apache.nifi:nifi:1.17.0-SNAPSHOT: Could not transfer artifact
>> org.apache:apache:pom:25 from/to central (https://repo1.maven.org/maven2):
>> transfer failed for
>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom and
>> 'parent.relativePath' points at no local POM @ line 14, column 13
>> @
>> [ERROR] The build could not read 1 project -> [Help 1]
>> org.apache.maven.project.ProjectBuildingException: Some problems were
>> encountered while processing the POMs:
>> [FATAL] Non-resolvable parent POM for
>> org.apache.nifi:nifi:1.17.0-SNAPSHOT: Could not transfer artifact
>> org.apache:apache:pom:25 from/to central (https://repo1.maven.org/maven2):
>> transfer failed for
>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom and
>> 'parent.relativePath' points at no local POM @ line 14, column 13
>> 
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:397)
>>    at org.apache.maven.graph.DefaultGraphBuilder.collectProjects
>> (DefaultGraphBuilder.java:414)
>>    at
>> org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor
>> (DefaultGraphBuilder.java:405)
>>    at org.apache.maven.graph.DefaultGraphBuilder.build
>> (DefaultGraphBuilder.java:82)
>>    at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>>    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>>    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
>> Method)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke (Method.java:566)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:282)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:225)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:406)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:347)
>> [ERROR]
>> [ERROR]   The project org.apache.nifi:nifi:1.17.0-SNAPSHOT
>> (/Users/phil/nifi/pom.xml) has 1 error
>> [ERROR]     Non-resolvable parent POM for
>> org.apache.nifi:nifi:1.17.0-SNAPSHOT: Could not transfer artifact
>> org.apache:apache:pom:25 from/to central (https://repo1.maven.org/maven2):
>> transfer failed for
>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom and
>> 'parent.relativePath' points at no local POM @ line 14, column 13: Network
>> is unreachable (connect failed) -> [Help 2]
>> org.apache.maven.model.resolution.UnresolvableModelException: Could not
>> transfer artifact org.apache:apache:pom:25 from/to central (
>> https://repo1.maven.org/maven2): transfer failed for
>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom
>>    at org.apache.maven.project.ProjectModelResolver.resolveModel
>> (ProjectModelResolver.java:196)
>>    at org.apache.maven.project.ProjectModelResolver.resolveModel
>> (ProjectModelResolver.java:242)
>>    at
>> org.apache.maven.model.building.DefaultModelBuilder.readParentExternally
>> (DefaultModelBuilder.java:1070)
>>    at org.apache.maven.model.building.DefaultModelBuilder.readParent
>> (DefaultModelBuilder.java:846)
>>    at org.apache.maven.model.building.DefaultModelBuilder.build
>> (DefaultModelBuilder.java:337)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:448)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:414)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:377)
>>    at org.apache.maven.graph.DefaultGraphBuilder.collectProjects
>> (DefaultGraphBuilder.java:414)
>>    at
>> org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor
>> (DefaultGraphBuilder.java:405)
>>    at org.apache.maven.graph.DefaultGraphBuilder.build
>> (DefaultGraphBuilder.java:82)
>>    at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>>    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>>    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
>> Method)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke (Method.java:566)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:282)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:225)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:406)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:347)
>> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
>> Could not transfer artifact org.apache:apache:pom:25 from/to central (
>> https://repo1.maven.org/maven2): transfer failed for
>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom
>>    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve
>> (DefaultArtifactResolver.java:424)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts
>> (DefaultArtifactResolver.java:229)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact
>> (DefaultArtifactResolver.java:207)
>>    at
>> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact
>> (DefaultRepositorySystem.java:262)
>>    at org.apache.maven.project.ProjectModelResolver.resolveModel
>> (ProjectModelResolver.java:192)
>>    at org.apache.maven.project.ProjectModelResolver.resolveModel
>> (ProjectModelResolver.java:242)
>>    at
>> org.apache.maven.model.building.DefaultModelBuilder.readParentExternally
>> (DefaultModelBuilder.java:1070)
>>    at org.apache.maven.model.building.DefaultModelBuilder.readParent
>> (DefaultModelBuilder.java:846)
>>    at org.apache.maven.model.building.DefaultModelBuilder.build
>> (DefaultModelBuilder.java:337)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:448)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:414)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:377)
>>    at org.apache.maven.graph.DefaultGraphBuilder.collectProjects
>> (DefaultGraphBuilder.java:414)
>>    at
>> org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor
>> (DefaultGraphBuilder.java:405)
>>    at org.apache.maven.graph.DefaultGraphBuilder.build
>> (DefaultGraphBuilder.java:82)
>>    at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>>    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>>    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
>> Method)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke (Method.java:566)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:282)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:225)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:406)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:347)
>> Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could
>> not transfer artifact org.apache:apache:pom:25 from/to central (
>> https://repo1.maven.org/maven2): transfer failed for
>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom
>>    at
>> org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed
>> (ArtifactTransportListener.java:52)
>>    at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run
>> (BasicRepositoryConnector.java:369)
>>    at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run
>> (RunnableErrorForwarder.java:75)
>>    at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute
>> (BasicRepositoryConnector.java:628)
>>    at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get
>> (BasicRepositoryConnector.java:262)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads
>> (DefaultArtifactResolver.java:513)
>>    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve
>> (DefaultArtifactResolver.java:401)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts
>> (DefaultArtifactResolver.java:229)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact
>> (DefaultArtifactResolver.java:207)
>>    at
>> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact
>> (DefaultRepositorySystem.java:262)
>>    at org.apache.maven.project.ProjectModelResolver.resolveModel
>> (ProjectModelResolver.java:192)
>>    at org.apache.maven.project.ProjectModelResolver.resolveModel
>> (ProjectModelResolver.java:242)
>>    at
>> org.apache.maven.model.building.DefaultModelBuilder.readParentExternally
>> (DefaultModelBuilder.java:1070)
>>    at org.apache.maven.model.building.DefaultModelBuilder.readParent
>> (DefaultModelBuilder.java:846)
>>    at org.apache.maven.model.building.DefaultModelBuilder.build
>> (DefaultModelBuilder.java:337)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:448)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:414)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:377)
>>    at org.apache.maven.graph.DefaultGraphBuilder.collectProjects
>> (DefaultGraphBuilder.java:414)
>>    at
>> org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor
>> (DefaultGraphBuilder.java:405)
>>    at org.apache.maven.graph.DefaultGraphBuilder.build
>> (DefaultGraphBuilder.java:82)
>>    at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>>    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>>    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
>> Method)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke (Method.java:566)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:282)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:225)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:406)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:347)
>> Caused by: org.apache.maven.wagon.TransferFailedException: transfer failed
>> for https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom
>>    at
>> org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.fillInputData
>> (AbstractHttpClientWagon.java:1250)
>>    at
>> org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.fillInputData
>> (AbstractHttpClientWagon.java:1140)
>>    at org.apache.maven.wagon.StreamWagon.getInputStream
>> (StreamWagon.java:126)
>>    at org.apache.maven.wagon.StreamWagon.getIfNewer (StreamWagon.java:88)
>>    at org.apache.maven.wagon.StreamWagon.get (StreamWagon.java:61)
>>    at
>> org.eclipse.aether.transport.wagon.WagonTransporter$GetTaskRunner.run
>> (WagonTransporter.java:546)
>>    at org.eclipse.aether.transport.wagon.WagonTransporter.execute
>> (WagonTransporter.java:430)
>>    at org.eclipse.aether.transport.wagon.WagonTransporter.get
>> (WagonTransporter.java:407)
>>    at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask
>> (BasicRepositoryConnector.java:457)
>>    at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run
>> (BasicRepositoryConnector.java:364)
>>    at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run
>> (RunnableErrorForwarder.java:75)
>>    at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute
>> (BasicRepositoryConnector.java:628)
>>    at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get
>> (BasicRepositoryConnector.java:262)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads
>> (DefaultArtifactResolver.java:513)
>>    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve
>> (DefaultArtifactResolver.java:401)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts
>> (DefaultArtifactResolver.java:229)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact
>> (DefaultArtifactResolver.java:207)
>>    at
>> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact
>> (DefaultRepositorySystem.java:262)
>>    at org.apache.maven.project.ProjectModelResolver.resolveModel
>> (ProjectModelResolver.java:192)
>>    at org.apache.maven.project.ProjectModelResolver.resolveModel
>> (ProjectModelResolver.java:242)
>>    at
>> org.apache.maven.model.building.DefaultModelBuilder.readParentExternally
>> (DefaultModelBuilder.java:1070)
>>    at org.apache.maven.model.building.DefaultModelBuilder.readParent
>> (DefaultModelBuilder.java:846)
>>    at org.apache.maven.model.building.DefaultModelBuilder.build
>> (DefaultModelBuilder.java:337)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:448)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:414)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:377)
>>    at org.apache.maven.graph.DefaultGraphBuilder.collectProjects
>> (DefaultGraphBuilder.java:414)
>>    at
>> org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor
>> (DefaultGraphBuilder.java:405)
>>    at org.apache.maven.graph.DefaultGraphBuilder.build
>> (DefaultGraphBuilder.java:82)
>>    at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>>    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>>    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
>> Method)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke (Method.java:566)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:282)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:225)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:406)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:347)
>> Caused by: java.net.SocketException: Network is unreachable (connect
>> failed)
>>    at java.net.PlainSocketImpl.socketConnect (Native Method)
>>    at java.net.AbstractPlainSocketImpl.doConnect
>> (AbstractPlainSocketImpl.java:399)
>>    at java.net.AbstractPlainSocketImpl.connectToAddress
>> (AbstractPlainSocketImpl.java:242)
>>    at java.net.AbstractPlainSocketImpl.connect
>> (AbstractPlainSocketImpl.java:224)
>>    at java.net.SocksSocketImpl.connect (SocksSocketImpl.java:392)
>>    at java.net.Socket.connect (Socket.java:608)
>>    at
>> org.apache.maven.wagon.providers.http.httpclient.conn.ssl.SSLConnectionSocketFactory.connectSocket
>> (SSLConnectionSocketFactory.java:368)
>>    at
>> org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultHttpClientConnectionOperator.connect
>> (DefaultHttpClientConnectionOperator.java:142)
>>    at
>> org.apache.maven.wagon.providers.http.httpclient.impl.conn.PoolingHttpClientConnectionManager.connect
>> (PoolingHttpClientConnectionManager.java:376)
>>    at
>> org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.establishRoute
>> (MainClientExec.java:393)
>>    at
>> org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.execute
>> (MainClientExec.java:236)
>>    at
>> org.apache.maven.wagon.providers.http.httpclient.impl.execchain.ProtocolExec.execute
>> (ProtocolExec.java:186)
>>    at
>> org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec.execute
>> (RetryExec.java:89)
>>    at
>> org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectExec.execute
>> (RedirectExec.java:110)
>>    at
>> org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttpClient.doExecute
>> (InternalHttpClient.java:185)
>>    at
>> org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHttpClient.execute
>> (CloseableHttpClient.java:83)
>>    at
>> org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.execute
>> (AbstractHttpClientWagon.java:1005)
>>    at
>> org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.fillInputData
>> (AbstractHttpClientWagon.java:1162)
>>    at
>> org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.fillInputData
>> (AbstractHttpClientWagon.java:1140)
>>    at org.apache.maven.wagon.StreamWagon.getInputStream
>> (StreamWagon.java:126)
>>    at org.apache.maven.wagon.StreamWagon.getIfNewer (StreamWagon.java:88)
>>    at org.apache.maven.wagon.StreamWagon.get (StreamWagon.java:61)
>>    at
>> org.eclipse.aether.transport.wagon.WagonTransporter$GetTaskRunner.run
>> (WagonTransporter.java:546)
>>    at org.eclipse.aether.transport.wagon.WagonTransporter.execute
>> (WagonTransporter.java:430)
>>    at org.eclipse.aether.transport.wagon.WagonTransporter.get
>> (WagonTransporter.java:407)
>>    at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask
>> (BasicRepositoryConnector.java:457)
>>    at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run
>> (BasicRepositoryConnector.java:364)
>>    at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run
>> (RunnableErrorForwarder.java:75)
>>    at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute
>> (BasicRepositoryConnector.java:628)
>>    at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get
>> (BasicRepositoryConnector.java:262)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads
>> (DefaultArtifactResolver.java:513)
>>    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve
>> (DefaultArtifactResolver.java:401)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts
>> (DefaultArtifactResolver.java:229)
>>    at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact
>> (DefaultArtifactResolver.java:207)
>>    at
>> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact
>> (DefaultRepositorySystem.java:262)
>>    at org.apache.maven.project.ProjectModelResolver.resolveModel
>> (ProjectModelResolver.java:192)
>>    at org.apache.maven.project.ProjectModelResolver.resolveModel
>> (ProjectModelResolver.java:242)
>>    at
>> org.apache.maven.model.building.DefaultModelBuilder.readParentExternally
>> (DefaultModelBuilder.java:1070)
>>    at org.apache.maven.model.building.DefaultModelBuilder.readParent
>> (DefaultModelBuilder.java:846)
>>    at org.apache.maven.model.building.DefaultModelBuilder.build
>> (DefaultModelBuilder.java:337)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:448)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:414)
>>    at org.apache.maven.project.DefaultProjectBuilder.build
>> (DefaultProjectBuilder.java:377)
>>    at org.apache.maven.graph.DefaultGraphBuilder.collectProjects
>> (DefaultGraphBuilder.java:414)
>>    at
>> org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor
>> (DefaultGraphBuilder.java:405)
>>    at org.apache.maven.graph.DefaultGraphBuilder.build
>> (DefaultGraphBuilder.java:82)
>>    at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>>    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>>    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native
>> Method)
>>    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke (Method.java:566)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:282)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:225)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:406)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:347)
>> [ERROR]
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>> [ERROR] [Help 2]
>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>> 
>> 
>>> On 7 Apr 2022, at 11:27 am, David Handermann <
>> exceptionfact...@apache.org> wrote:
>>> 
>>> Phil,
>>> 
>>> Can you provide the version of Maven you are using? Running Maven with
>> the
>>> -X argument for debug will generate a lot of logging information, but it
>>> might point to the POM resolution problem.
>>> 
>>> Regards,
>>> David Handermann
>>> 
>>> On Wed, Apr 6, 2022 at 8:13 PM Phil H <gippyp...@gmail.com> wrote:
>>> 
>>>> I reverted back to AZUL JDK 11, and then in turn to Oracle JDK 11, and
>> all
>>>> had the same issue.
>>>> 
>>>> So I’m assuming it’s either a OSX thing, or some sort of weird maven
>> issue?
>>>> 
>>>>> On 7 Apr 2022, at 10:02 am, Mike Thomsen <mikerthom...@gmail.com>
>> wrote:
>>>>> 
>>>>>> However it’s not a network issue because…
>>>>> 
>>>>> Could be something funky with how Java 17's TLS APIs are working on
>> your
>>>> setup.
>>>>> 
>>>>> Java 8 and Java 11 are your best bets for now anyway. Java 17 support
>>>>> is still in the early stages and isn't a preferred JDK/JRE.
>>>>> 
>>>>> On Wed, Apr 6, 2022 at 7:00 PM Phil H <gippyp...@gmail.com> wrote:
>>>>>> 
>>>>>> So I upgraded to the Azul JDK 17.  New repo, following the same
>>>> instructions as before.
>>>>>> 
>>>>>>   phil@Phils-MacBook-Pro nifi % mvn -T C2.0 clean install
>>>> -Pinclude-grpc
>>>>>>   [INFO] Scanning for projects...
>>>>>>   Downloading from central:
>>>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom
>>>>>>   Downloading from apache-repo:
>>>> 
>> https://repository.apache.org/content/repositories/releases/org/apache/apache/25/apache-25.pom
>>>>>>   Downloading from Shibboleth:
>>>> 
>> https://build.shibboleth.net/nexus/content/repositories/releases/org/apache/apache/25/apache-25.pom
>>>>>>   [ERROR] [ERROR] Some problems were encountered while processing the
>>>> POMs:
>>>>>>   [FATAL] Non-resolvable parent POM for
>>>> org.apache.nifi:nifi:1.17.0-SNAPSHOT: Could not transfer artifact
>>>> org.apache:apache:pom:25 from/to central (
>> https://repo1.maven.org/maven2):
>>>> transfer failed for
>>>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom and
>>>> 'parent.relativePath' points at no local POM @ line 14, column 13
>>>>>> @
>>>>>>   [ERROR] The build could not read 1 project -> [Help 1]
>>>>>>   [ERROR]
>>>>>>   [ERROR]   The project org.apache.nifi:nifi:1.17.0-SNAPSHOT
>>>> (/Users/phil/nifi/pom.xml) has 1 error
>>>>>>   [ERROR]     Non-resolvable parent POM for
>>>> org.apache.nifi:nifi:1.17.0-SNAPSHOT: Could not transfer artifact
>>>> org.apache:apache:pom:25 from/to central (
>> https://repo1.maven.org/maven2):
>>>> transfer failed for
>>>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom and
>>>> 'parent.relativePath' points at no local POM @ line 14, column 13:
>> Network
>>>> is unreachable -> [Help 2]
>>>>>>   [ERROR]
>>>>>>   [ERROR] To see the full stack trace of the errors, re-run Maven
>>>> with the -e switch.
>>>>>>   [ERROR] Re-run Maven using the -X switch to enable full debug
>>>> logging.
>>>>>>   [ERROR]
>>>>>>   [ERROR] For more information about the errors and possible
>>>> solutions, please read the following articles:
>>>>>>   [ERROR] [Help 1]
>>>> 
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>>>>>>   [ERROR] [Help 2]
>>>> 
>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>>>>>> 
>>>>>> However it’s not a network issue because…
>>>>>> 
>>>>>>   phil@Phils-MacBook-Pro nifi % curl
>>>> https://repo1.maven.org/maven2/org/apache/apache/25/apache-25.pom
>>>>>>   <?xml version="1.0" encoding="UTF-8"?>
>>>>>> 
>>>>>>   <!--
>>>>>>   Licensed to the Apache Software Foundation (ASF) under one
>>>>>>   or more contributor license agreements.  See the NOTICE file
>>>>>> …
>>>>>> 
>>>>>> So frustrating .. I just wanna fix SplitContent!
>>>> 
>>>> 
>> 
>> 


Reply via email to