org.apache.maven.plugin.PluginResolutionException: Plugin > org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its > dependencies could not be resolved: Failed to read artifact descriptor > for > org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 at > org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.res > olve(D > efaultPluginDependenciesResolver.java:129) at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDe > script > or(DefaultMavenPluginManager.java:142) at > org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBu > ildPlu > ginManager.java:59) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solveF > romProject(DefaultPluginPrefixResolver.java:139) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solveF > romProject(DefaultPluginPrefixResolver.java:122) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solve( > DefaultPluginPrefixResolver.java:86) at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginFo > rPrefi > x(MojoDescriptorCreator.java:262) at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescr > iptor( > MojoDescriptorCreator.java:222) at > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula > tor.ca > lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106) at > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula > tor.ca > lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86) at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycle > Starte > r.java:98) at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

maven-users | Gary White | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RE: (java.net.SocketException) caught when connecting to the target host: Invalid argument: connect

    apache.org | 1 year ago
    org.apache.maven.plugin.PluginResolutionException: Plugin > org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its > dependencies could not be resolved: Failed to read artifact descriptor > for > org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 at > org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.res > olve(D > efaultPluginDependenciesResolver.java:129) at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDe > script > or(DefaultMavenPluginManager.java:142) at > org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBu > ildPlu > ginManager.java:59) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solveF > romProject(DefaultPluginPrefixResolver.java:139) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solveF > romProject(DefaultPluginPrefixResolver.java:122) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solve( > DefaultPluginPrefixResolver.java:86) at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginFo > rPrefi > x(MojoDescriptorCreator.java:262) at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescr > iptor( > MojoDescriptorCreator.java:222) at > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula > tor.ca > lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106) at > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula > tor.ca > lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86) at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycle > Starte > r.java:98) at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
  2. 0

    RE: (java.net.SocketException) caught when connecting to the target host: Invalid argument: connect

    maven-users | 5 years ago | Gary White
    org.apache.maven.plugin.PluginResolutionException: Plugin > org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its > dependencies could not be resolved: Failed to read artifact descriptor > for > org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 at > org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.res > olve(D > efaultPluginDependenciesResolver.java:129) at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDe > script > or(DefaultMavenPluginManager.java:142) at > org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBu > ildPlu > ginManager.java:59) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solveF > romProject(DefaultPluginPrefixResolver.java:139) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solveF > romProject(DefaultPluginPrefixResolver.java:122) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solve( > DefaultPluginPrefixResolver.java:86) at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginFo > rPrefi > x(MojoDescriptorCreator.java:262) at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescr > iptor( > MojoDescriptorCreator.java:222) at > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula > tor.ca > lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106) at > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula > tor.ca > lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86) at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycle > Starte > r.java:98) at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
  3. 0

    Re: (java.net.SocketException) caught when connecting to the target host: Invalid argument: connect

    apache.org | 2 years ago
    org.apache.maven.plugin.PluginResolutionException: Plugin >> org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its >> dependencies could not be resolved: Failed to read artifact descriptor >> for >> org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 at >> org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.res >> olve(D >> efaultPluginDependenciesResolver.java:129) at >> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDe >> script >> or(DefaultMavenPluginManager.java:142) at >> org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBu >> ildPlu >> ginManager.java:59) at >> org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re >> solveF >> romProject(DefaultPluginPrefixResolver.java:139) at >> org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re >> solveF >> romProject(DefaultPluginPrefixResolver.java:122) at >> org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re >> solve( >> DefaultPluginPrefixResolver.java:86) at >> org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginFo >> rPrefi >> x(MojoDescriptorCreator.java:262) at >> org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescr >> iptor( >> MojoDescriptorCreator.java:222) at >> org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula >> tor.ca >> lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106) at >> org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula >> tor.ca >> lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86) at >> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycle >> Starte >> r.java:98) at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven - Users - (java.net.SocketException) caught when connecting to the target host: Invalid argument: connect

    nabble.com | 1 year ago
    org.apache.maven.plugin.PluginResolutionException: Plugin > org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its > dependencies could not be resolved: Failed to read artifact descriptor > for > org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 at > org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.res > olve(D > efaultPluginDependenciesResolver.java:129) at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDe > script > or(DefaultMavenPluginManager.java:142) at > org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBu > ildPlu > ginManager.java:59) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solveF > romProject(DefaultPluginPrefixResolver.java:139) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solveF > romProject(DefaultPluginPrefixResolver.java:122) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solve( > DefaultPluginPrefixResolver.java:86) at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginFo > rPrefi > x(MojoDescriptorCreator.java:262) at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescr > iptor( > MojoDescriptorCreator.java:222) at > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula > tor.ca > lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106) at > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula > tor.ca > lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86) at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycle > Starte > r.java:98) at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

    Root Cause Analysis

    1. org.apache.maven.plugin.PluginResolutionException

      Plugin > org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its > dependencies could not be resolved: Failed to read artifact descriptor > for > org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 at > org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.res > olve(D > efaultPluginDependenciesResolver.java:129) at > org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDe > script > or(DefaultMavenPluginManager.java:142) at > org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBu > ildPlu > ginManager.java:59) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solveF > romProject(DefaultPluginPrefixResolver.java:139) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solveF > romProject(DefaultPluginPrefixResolver.java:122) at > org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.re > solve( > DefaultPluginPrefixResolver.java:86) at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginFo > rPrefi > x(MojoDescriptorCreator.java:262) at > org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescr > iptor( > MojoDescriptorCreator.java:222) at > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula > tor.ca > lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106) at > org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalcula > tor.ca > lculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86) at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycle > Starte > r.java:98) at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

      at org.apache.maven.cli.MavenCli.execute()
    2. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      3 frames