You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rich Seddon (JIRA)" <ji...@codehaus.org> on 2011/08/23 19:30:33 UTC
[jira] Commented: (ARCHETYPE-220) Unable to access remote catalogs
on HTTPS protocol, even with redirection
[ https://jira.codehaus.org/browse/ARCHETYPE-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276814#comment-276814 ]
Rich Seddon commented on ARCHETYPE-220:
---------------------------------------
Agreed that the need to properly handle authentication is necessary for https sometimes, but there are a lot of times when it isn't needed.
Many public repositories nowadays which serve unauthenticated content over https, some examples:
https://repository.jboss.org/nexus/content/groups/developer/archetype-catalog.xml
https://maven.atlassian.com/content/groups/public/archetype-catalog.xml
https://repository.sonatype.org/content/groups/forge/archetype-catalog.xml
This is also an extremely common setup for repository managers in corporate environments.
> Unable to access remote catalogs on HTTPS protocol, even with redirection
> -------------------------------------------------------------------------
>
> Key: ARCHETYPE-220
> URL: https://jira.codehaus.org/browse/ARCHETYPE-220
> Project: Maven Archetype
> Issue Type: Bug
> Components: Generator
> Affects Versions: 2.0-alpha-4
> Environment: Any (Windows, Linux)
> Reporter: Josep F. Barranco
> Priority: Minor
> Attachments: https.patch, org.apache.maven.archetype.maven-archetype-ARCHETYPE-220.patch
>
>
> I use that test:
> 1 - Create an "archetype-catalog.xml" and set it on your apache "htdocs" directory
> Executing "mvn archetype:generate -DarchetypeCatalog=http://localhost" works fine.
> 2 - Configure your apache to use certificates and allow SSL (port 443) to access to same archetype catalog file
> Executing "mvn archetype:generate -DarchetypeCatalog=https://localhost" does not work. (it shows default catalog)
> It seems that stating with "https://" does not match with allowed parameter values (local, internal, file:, http:)
> 3 - Anyway, try to redirect your working HTTP access to HTTPS (configure rewrite engine on Apache) as workaround to access you SSL catalog.
> Executing "mvn archetype:generate -DarchetypeCatalog=http://localhost" (same as step 1) IS NOT WORKING!!! (it shows empty catalog)
> There's no way to access an archetype-catalog.xml located on a SSL url ?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira