On 10/6/2015 7:59 AM, Olaf Donk wrote:
Hi,

I'm trying to follow the instructions for LAB-1034 but I cannot successfully import the Maven sample project. As soon as I press Finish in the Import Maven Projects dialog a get a popup:

Multiple problems have occurred. Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

Can you make sure you have internet connection when you import the project?
(The error seems to indicate it is having a problem getting the dependencies
from the Maven central.)

-Sang


and a whole bunch of errors, truncated for readability:

CoreException: Could not calculate build plan:[etc...]
Failed to read artifact descriptor for junit:junit:jar:3.8.1
Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.6 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.
Missing artifact junit:junit:jar:3.8.1
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile The container 'Maven Dependencies' references non existing library 'C:\Users\xyz\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar'

It seems to me either Maven or JUnit is not setup correctly. Am I missing some prerequisites for the JPassion labs?

Cheers, Olaf

ps. I'm using Eclipse Mars 4.5.0, Maven 3.3.3, Java 1.7.0_01
--
You received this message because you are subscribed to the Google Groups "JPassion.com: Java Programming" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/jpassion_java.
For more options, visit https://groups.google.com/d/optout.

--
-------------------------------------------------------------------
             Sang Shin, [email protected]
  President and Chief Instructor of JPassion.com (JavaPassion.com)
         http://www.linkedin.com/in/javapassion (Linkedin)
          http://twitter.com/javapassion (Tweeter)
            Life is worth living... with Passion!
Practically Free 3 to 5 days Live, Hands-on, Online Codecamps on
 Java,Spring,Hadoop,HTML5,Ruby/Rails,Grails,JavaScript/jQuery,Android
             http://jpassion.com/codecamps
----------------------------------------------------------------------

--
You received this message because you are subscribed to the Google Groups 
"JPassion.com: Java Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/jpassion_java.
For more options, visit https://groups.google.com/d/optout.

Reply via email to