[ 
https://issues.apache.org/jira/browse/ARCHETYPE-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866190#comment-15866190
 ] 

Robert Scholte commented on ARCHETYPE-438:
------------------------------------------

It is an intended change, so I wouldn't call it regression. I missed this page, 
so it needs to be updated.
You can no longer refer to {{http:}} or {{file:}}, only {{local}}, {{remote}} 
and {{interna}} are valid.
I hope that removing is good enough to make it work, otherwise try adding a 
repository with id {{archetype}}. There you specify the URL and you can also 
start using credentials if you want.

> Remove support for specifying catalogs through direct URLs
> ----------------------------------------------------------
>
>                 Key: ARCHETYPE-438
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-438
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Generator
>         Environment: n/a
>            Reporter: Anders Hammar
>            Assignee: Robert Scholte
>             Fix For: 3.0.0
>
>
> It is currently possible to specify a archetype catalog through a file: or 
> http: URL (via the archetypeCatalog param). This adds the possibility to go 
> outside of the configured Maven infrastructure which causes problems and 
> unpredicted side-effects.
> I strongly argue that the plugin should work with the Maven settings and 
> infrastructure in place and not allow for going outside of this. For example, 
> in a setup where there is a Maven repo manager in place it should always be 
> used and the user should not be allowed to side-step it through the support 
> of the plugin. If an additional source should be used, it should be setup 
> properly in the Maven configuration/infrastructure.
> I also believe the current support is a legacy from the old days when the 
> catalog at central was not complete, but one had to used additional catalogs 
> in the Internet.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to