0

I have tried to create a project with Maven in eclipse with no luck. I have researched and read, then tried the other solutions on other threads but I have no luck.

My settings.xml file is set and is filled out.

Whenever I try to make a maven project i always get this error:

Could not get the value for parameter encoding for plugin execution default-resources Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failure to transfer org.codehaus.plexus:plexus-interpolation:jar:1.13 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus-interpolation:jar:1.13 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.

Banjo226
  • 23
  • 4

1 Answers1

1

What solutions have you already tried ?

I had the same problem a few months ago, and it was because I was behind a proxy. If it is the same for you, you could look at your web browser configuration.

From the documentation on Configuring a proxy:

<proxy>
  <active>true</active>
  <protocol>http</protocol>
  <host>proxyHost</host>
  <port>proxyPort</port>
  <username>proxyUser</username>
  <password>userPassword</password>
  <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
</proxy>