[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

maven example error

Posted on 2016-10-28
3
Medium Priority
?
171 Views
Last Modified: 2016-11-01
Hi,

I have doownloaded maven example from github.

I went to that folder say C://Test from command prompt.

when i gave command
mvn clean install i am getting below error.

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Parent Module
[INFO] tes-core
[INFO] tes-web-common
[INFO] tes-web-servlet-jsp Maven Webapp
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Parent Module 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Parent Module ...................................... FAILURE [ 10.536 s]
[INFO] in28minutes-core ................................... SKIPPED
[INFO] in28minutes-web-common ............................. SKIPPED
[INFO] in28minutes-web-servlet-jsp Maven Webapp ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.634 s
[INFO] Finished at: 2016-10-28T14:55:55-04:00
[INFO] Final Memory: 8M/150M
[INFO] ------------------------------------------------------------------------
Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean
-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (https://repo.maven.apache.org/maven2): connect timed out -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException



please advise
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
mccarl earned 2000 total points
ID: 41865515
Do you have internet connection from the PC where you ran the mvn command?

Are you behind some sort of proxy? If so, you will need to configure Maven to also use that proxy.
0
 
LVL 7

Author Comment

by:gudii9
ID: 41867336
Are you behind some sort of proxy?

that is correct it worked on other laptop outside this network.
How you have figured out based on that error message? please advose
0
 
LVL 36

Expert Comment

by:mccarl
ID: 41868538
The very last part of the error message says "connect timed out" and that means that it can't connect to the server. It is unlikely to be the server that is the issue, and most pc's these days have internet connection, so the common case is that it is due to proxy issues.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question