?
Solved

maven example error

Posted on 2016-10-28
3
Medium Priority
?
119 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The viewer will learn how to implement Singleton Design Pattern in Java.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

770 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