You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Fred Bricon (JIRA)" <ji...@apache.org> on 2017/04/10 05:43:41 UTC

[jira] [Commented] (ARCHETYPE-438) Remove support for specifying catalogs through direct URLs

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

Fred Bricon commented on ARCHETYPE-438:
---------------------------------------

I wish I had seen that change way earlier so that I could express my concerns about it :

- m2e depends on this to allow users to create projects from arbitrary repos (I personally use that heavily)
- this represents a regression in a major version without prior warning (there was no deprecation phase AFAICT)

> 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)