Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 1.0-alpha-4
-
Fix Version/s: None
-
Component/s: Creator
-
Labels:None
-
Environment:Maven 2.0.4
Custom HTTPS remote repository
-
Number of attachments :
Description
When using command "mvn archetype:create", if the archetype is stored in a remote repository other than central, even if that remote repository is defined in settings.xml (both as a repository and a plugin repository), then, it is ignored when maven tries to resolve the archetype. Maven thus fails with reason: Unable to download the artifact from any repository.
To make sure that my repository is being ignored, I have put a dummy url in the repository definition in settings.xml and Maven doesn't even try to resolve the archetype artifact from my repository.
Cheers
Issue Links
- duplicates
-
ARCHETYPE-1
cannot create project based on archetype that is not in cetral repository
-
Sorry, I had missed that issue.