Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0-alpha-4
-
Fix Version/s: 2.0
-
Component/s: None
-
Labels:None
-
Environment:Maven 3.0 RC3
-
Number of attachments :
Description
When creating a project from an archetype in Central, if you do not explicitly specify the repository URL, you get a warning:
No archetype repository found. Falling back to central repository (http://repo1.maven.org/maven2). Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.
This information is probably irrelevant if the archetype was in fact found. It is just noise, and the presence of a warning line can distract the user from real issues. DefaultArchetypeSelector.selectArchetype should print this at info level or even below.
do you have an example giving this warning?
see DefaultArchetypeSelector: this warning is sent only when no repository is defined by user and archetype not found in any catalog
perhaps the message should be more explicit about the precise cause
WDYT?