You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Brent N Atkinson (JIRA)" <ji...@apache.org> on 2015/04/17 19:44:59 UTC

[jira] [Closed] (CONTINUUM-2726) HTTP project import fails depending on POM URL patterns

     [ https://issues.apache.org/jira/browse/CONTINUUM-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brent N Atkinson closed CONTINUUM-2726.
---------------------------------------
    Resolution: Fixed

Fixed in r1674360.

Now all project imports are sand-boxed in their own root directory. This achieves two things:

  * URL paths for project imports are no longer  a potential conflict (this issue)
  * All generated files and directories are cleaned up. Previously, directories above the project's root directory were leaked.

This addresses the problem reported with importing Commons Math from its git repository. However, import of git-based multi-module projects using HTTP and project-per-module import-types are likely to fail still. There are two reasons for this:

  * Git instaweb-style URL patterns do not follow the normal resource naming conventions, so spidering to find sub-modules POMs will fail.
  * Checking out projects to separate SCM roots only makes sense for subversion projects - it doesn't make sense for Git

This really suggests that these import types are specialized for subversion-style SCMs which are path-based. In contrast, the single multi-module import type should work reliably for all SCMs maven-scm supports, with either file upload or https import.

> HTTP project import fails depending on POM URL patterns
> -------------------------------------------------------
>
>                 Key: CONTINUUM-2726
>                 URL: https://issues.apache.org/jira/browse/CONTINUUM-2726
>             Project: Continuum
>          Issue Type: Bug
>            Reporter: Sebb
>            Assignee: Brent N Atkinson
>            Priority: Critical
>             Fix For: 1.5.0
>
>         Attachments: commons-math-successful.png, commons-math-tls-failure-message.png
>
>
> Commons MATH now uses Git.
> Does not appear to be possible to use Continuum to build it.
> Tried the following URLs:
> https://git-wip-us.apache.org/repos/asf/commons-math
> => Unknown error trying to build POM.
> https://git-wip-us.apache.org/repos/asf?p=commons-math.git
> => POM file does not exist. Either the POM you specified or one of its modules does not exist.
> What is the correct incantation for Git projects?
> If this is documented anywhere I could not find it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)