Today encountered a problem, to use MAVEN to run a simplest project, has been stuck in the following sentence for a long time, very depressed.
Generating project in Batch mode
Think of a variety of ways to solve the problem, this thought is a jar package download incomplete caused, wasted a long time.
The following article was found at the end.
Http://www.cnblogs.com/wardensky/p/4513372.html
Originally, you can use the plus- x to view debugging information.
In terms of experience, many of the open source does a good job on the log output, and when it comes to problems, take a look at the generated logs before you go to Google.
Add:
The final Discovery program is the stiffness here,
[DEBUG] Searching for remote Catalog:http://repo1.maven.org/maven2/archetype-catalog.xml
Workaround:
Maven command-line arguments have such a archetypecatalog, its default value is remote, when the first run succeeds (time is long), the next time you run it can completely replace the default with the following parameter values.
-darchetypecatalog=local
If you can not download the normal, you should refer to the above page content, manual download to the specified directory.
When Maven is having problems, you can use-X to view debug information