Win a copy of Svelte and Sapper in Action this week in the JavaScript 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 arhtype take a lot of time

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to generate a simple maven project from the command line (I have maven 3.0.4 on my ubuntu 12.04 machine)
maven take a very very long time to start n I had this output for a 20 mins to start the Interactive mode !!


Please what is the problem (It's a bug or what ) ?
 
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Very strange, maybe it's a problem with the "Interactive Mode". Are you running it from bash?

The same Maven here (3.0.4), but Ubuntu 12.10.

After that "Generating project in Interactive mode", the plugin prints a lot of archetypes, and makes some questions (groupId, artifactId, version), without any interval...





Regards,
Bruno
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was this the first time you ran mvn? On the first run it will download numerous components to your local repository before doing anything.

Also, it would help if you posted the command line you used.
 
taouririt salah eddine
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah, My first time from the command line (bash), but I used it a lot from netbeans (without any problem, fast enough) , all the core plug-ins are available on local
I simply run it in an interactive mode
I get the message

and after long boring minutes I have 698 archetypes to choose between them , it's work but after 8 or 10 minutes .
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspect that NetBeans is using a different local repository location than what is being used from the command line. So what is happening is that you are waiting for the archetypes to download before they can be listed. Usually, if you know what archetype you want, it is best to supply if on the command line.
 
A lot of people cry when they cut onions. The trick is not to form an emotional bond. This tiny ad told me:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic