Win a copy of Terraform in Action this week in the Cloud 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

maven arhtype take a lot of time

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic