This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Maven Newbie Question - Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.3

 
Ranch Hand
Posts: 189
14
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

First time poster, long time lurker.

Let me tell you a story. Better pull up a chair, in fact, because it's going to be a long and interesting one [/Box Factory Manager]. And here it is.

EDIT: Story now updated with new details!

I've recently started work on a Spring Batch implementation of a Java application for my company. My knowledge of Java is pretty good but I've never really used either Spring or Maven (or Ant, for that matter) before in any professional capacity. Maven had been recommended to be by other developers as a build tool and I've downloaded and installed the latest version ("mvn -v" via the command prompt reveals the details of the latest intallation - oh, and I'm running 64-bit Windows 7 for anyone interested). All going well so far, or so you'd think.

So, because I've never worked with Maven before, I think to myself "Gee, I'd better start with a simple tutorial on how to use this stuff" and lo and behold I find this fine example. Last night I followed this example to the letter on my desktop PC at home and it worked just fine.

So here I am in work. I've installed Maven (and confirmed it's installed properly) and I've followed the exact same steps as outlined in that tutorial. I've set up the folder structure as specified in the tutorial and I run the command "mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false".

Imagine my horror - sheer horror - ladies and gentlemen, when the following results were returned



Any help would be appreciated.
 
Saloon Keeper
Posts: 12279
259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This seems like a proxy issue. You can tell Maven about your company proxy in the Maven settins.
 
Simon Ritchie
Ranch Hand
Posts: 189
14
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're right, I needed to update my settings.xml file with the proxy data. Thanks Stephan.
 
What's that smell? Hey, sniff this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic