Problem creating Maven project in Eclipse Mars

2

I was using Maven in Eclipse Luna normally, I tried to test the new version of Eclipse and when I create a project Maven some exceptions are thrown:

  

Description Resource Path Location Type Failure to transfer   org.apache.maven: maven-core: jar: 2.0.6 from    link 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.apache.maven: maven-core: jar: 2.0.6   from / to central ( link ): connect timed   out pom.xml / Testing line 1 Maven Configuration Problem

How can I resolve this problem?

    
asked by anonymous 11.08.2015 / 14:16

2 answers

1

I solved the problem by changing the proxy settings of the settings.xml file that is in the Maven folder.

    
12.08.2015 / 13:09
1

I would try an mvn clean install -U.

If it does not work, try deleting the dependencies in your user's .m2 folder and run mvn clean install again.

    
11.08.2015 / 22:41