You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2017/05/20 08:50:04 UTC

[jira] [Updated] (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:all-tabpanel ]

Hervé Boutemy updated ARCHETYPE-438:
------------------------------------
    Description: 
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.

  was:
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.


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