This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Possible cause for org.apache.maven.lifecycle.LifecycleExecutionException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Possible cause for org.apache.maven.lifecycle.LifecycleExecutionException" Watch "Possible cause for org.apache.maven.lifecycle.LifecycleExecutionException" New topic

Possible cause for org.apache.maven.lifecycle.LifecycleExecutionException

Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 518

Hello All,

I'm a very new to Maven, (Just gone through couple of documents with no practical exposure) and I downloaded Maven 2.x and after install, I ran mvn.bat out of the box as below

and I got the below error message

Are there any setting changes, I'm expected to do before running this command? Is Maven not ready to use out of box? Please advice.


Martijn Verburg

Joined: Jun 24, 2003
Posts: 3274

You are almost certainly being blocked by your proxy server, check the online documentation on how to configure around that. I'd also highly recommend the free "Maven The Definitive Guide" PDF by Sonatype

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
I agree. Here's the link:
subject: Possible cause for org.apache.maven.lifecycle.LifecycleExecutionException