Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

archetype error with maven

 
Ja vardhan
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to Maven, I have downloaded and configured according to the instruction on maven.apache.org site. To create the project, first step on the documentatio is- run the command: "mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app" . I ran this command and getting error: "The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found" .

I have followed all their instructions, but getting this error.
What might be the problem?

Maven gurus pls help me.

Thanks.
 
Ja vardhan
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, ok, ok folks!!!

Pls suggest where else I can get help regarding Maven? (Pls dont say like: go to maven.apache.org, because I am following the procedure which they have mentioned, getting problem and seeking your help.

Thanks.
 
vijay choudhury
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just fix your internet connection
 
Jamie Jackson
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am also new, and got similar errors. The simple solution was to keep trying a command until I got all the downloads. For some reason (maybe a flaky wireless connection), they failed intermittently. The command you're trying took me several attempts before I got all the downloads, but after that, I was back on track.

Once you've downloaded the dependencies you need, you won't have to worry about these problems for a while (until you need NEW dependencies).

Jamie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic