You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Franz Allan Valencia See (JIRA)" <ji...@codehaus.org> on 2006/12/29 11:44:09 UTC

[jira] Created: (CONTINUUM-1098) Cannot add a Maven 2 Project with modules

Cannot add a Maven 2 Project with modules
-----------------------------------------

                 Key: CONTINUUM-1098
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1098
             Project: Continuum
          Issue Type: Bug
          Components: Core system, Web - UI, Web interface
    Affects Versions: 1.1
         Environment: -r490655
            Reporter: Franz Allan Valencia See
         Attachments: error logs.txt, error page.JPG



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CONTINUUM-1098) Cannot add a Maven 2 Project with modules

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-1098?page=comments#action_83567 ] 
            
Carlos Sanchez commented on CONTINUUM-1098:
-------------------------------------------

using upload pom, right? that never worked and can't work as the file is uploaded to the server where the modules poms are not available

> Cannot add a Maven 2 Project with modules
> -----------------------------------------
>
>                 Key: CONTINUUM-1098
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1098
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system, Web interface, Web - UI
>    Affects Versions: 1.1
>         Environment: -r490655
>            Reporter: Franz Allan Valencia See
>         Attachments: error logs.txt, error page.JPG
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CONTINUUM-1098) Cannot upload a Maven 2 Project with modules

Posted by "Franz Allan Valencia See (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-1098?page=comments#action_83895 ] 
            
Franz Allan Valencia See commented on CONTINUUM-1098:
-----------------------------------------------------

Good day to you, Emmanuel,

I see. 

So I guess this no-duplice-project rule applies not only to the uploading of m2 project (with submodules) but to other tasks as well ( such as manually adding a project that already exists, moving to a group where that project already exists, etc). Did I get that right?

Also, will this rule will apply to m1, ant, and shell project as well?

And what would be the definition of a project duplicate? For M2, would it be if two projects have the same artifact key and belong to the same project group? Or will we included packaging? ..And what about for the other project types?

Maybe this deserves an issue of its own :-) If so, maybe this issue can progress on its own and we'll just add the no-duplicate-project mechanism later on when its finish.

WDYT?

Cheers,
Franz

> Cannot upload a Maven 2 Project with modules
> --------------------------------------------
>
>                 Key: CONTINUUM-1098
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1098
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Core system, Web interface, Web - UI
>    Affects Versions: 1.1
>         Environment: -r490655
>            Reporter: Franz Allan Valencia See
>         Attachments: error logs.txt, error page.JPG
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CONTINUUM-1098) Cannot upload a Maven 2 Project with modules

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1098?page=all ]

Emmanuel Venisse updated CONTINUUM-1098:
----------------------------------------

    Issue Type: Improvement  (was: Bug)
       Summary: Cannot upload a Maven 2 Project with modules  (was: Cannot add a Maven 2 Project with modules)

> Cannot upload a Maven 2 Project with modules
> --------------------------------------------
>
>                 Key: CONTINUUM-1098
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1098
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Core system, Web interface, Web - UI
>    Affects Versions: 1.1
>         Environment: -r490655
>            Reporter: Franz Allan Valencia See
>         Attachments: error logs.txt, error page.JPG
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CONTINUUM-1098) Cannot upload a Maven 2 Project with modules

Posted by "Franz Allan Valencia See (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1098?page=all ]

Franz Allan Valencia See updated CONTINUUM-1098:
------------------------------------------------

    Attachment: CONTINUUM-1098-continuum-webapp.patch

CONTINUUM-1098-continuum-webapp.patch contains a workaround to this problem by allowing file:/<file path> to the POM Url, as well as an improve error message when uploading an m2 project with modules.

> Cannot upload a Maven 2 Project with modules
> --------------------------------------------
>
>                 Key: CONTINUUM-1098
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1098
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Core system, Web interface, Web - UI
>    Affects Versions: 1.1
>         Environment: -r490655
>            Reporter: Franz Allan Valencia See
>         Attachments: CONTINUUM-1098-continuum-webapp.patch, error logs.txt, error page.JPG
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CONTINUUM-1098) Cannot upload a Maven 2 Project with modules

Posted by "Franz Allan Valencia See (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1098?page=all ]

Franz Allan Valencia See updated CONTINUUM-1098:
------------------------------------------------

    Attachment: CONTINUUM-1098-continuum-webapp-2.patch

CONTINUUM-1098-continuum-webapp-2.patch just has an error message ( since the workaround does not work ).

> Cannot upload a Maven 2 Project with modules
> --------------------------------------------
>
>                 Key: CONTINUUM-1098
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1098
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Core system, Web interface, Web - UI
>    Affects Versions: 1.1
>         Environment: -r490655
>            Reporter: Franz Allan Valencia See
>         Attachments: CONTINUUM-1098-continuum-webapp-2.patch, CONTINUUM-1098-continuum-webapp.patch, error logs.txt, error page.JPG
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (CONTINUUM-1098) Cannot upload a Maven 2 Project with modules

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1098?page=all ]

Emmanuel Venisse closed CONTINUUM-1098.
---------------------------------------

         Assignee: Emmanuel Venisse
       Resolution: Fixed
    Fix Version/s: 1.1

Applied.

> Cannot upload a Maven 2 Project with modules
> --------------------------------------------
>
>                 Key: CONTINUUM-1098
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1098
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Core system, Web interface, Web - UI
>    Affects Versions: 1.1
>         Environment: -r490655
>            Reporter: Franz Allan Valencia See
>         Assigned To: Emmanuel Venisse
>             Fix For: 1.1
>
>         Attachments: CONTINUUM-1098-continuum-webapp-2.patch, CONTINUUM-1098-continuum-webapp.patch, error logs.txt, error page.JPG
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CONTINUUM-1098) Cannot add a Maven 2 Project with modules

Posted by "Franz Allan Valencia See (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-1098?page=comments#action_83782 ] 
            
Franz Allan Valencia See commented on CONTINUUM-1098:
-----------------------------------------------------

Carlos,

Yes, it is via upload pom. It doesn't seem to have any problems with POM Url. 

Do you have any suggestion how to fix this? Right now I can think of only two approaches:

a. Ask the user to upload every pom.xml, and
b. Read the scm of the uploaded pom.xml, and use that as the base directory for the modules. 

With approach a, it is a pretty safe approach,  but very tiresome for the user if it involves several modules, and might be impratical for a really huge project.
And for approach b, we may need to ask for credentials as well ( I don't think requiring an scm url would be much of an issue, since currently, continuum _does_ require the poms to have an scm url ).

Cheers,
Franz

> Cannot add a Maven 2 Project with modules
> -----------------------------------------
>
>                 Key: CONTINUUM-1098
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1098
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system, Web interface, Web - UI
>    Affects Versions: 1.1
>         Environment: -r490655
>            Reporter: Franz Allan Valencia See
>         Attachments: error logs.txt, error page.JPG
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CONTINUUM-1098) Cannot add a Maven 2 Project with modules

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-1098?page=comments#action_83804 ] 
            
Emmanuel Venisse commented on CONTINUUM-1098:
---------------------------------------------

It isn't possible actually. This feature need some design before implementation.

Approach b seems to be the best but we need to implement the possibility to look at modules list and see if sub-modules are already in continuum. With this, all new modules will can be added in continuum automatically.

> Cannot add a Maven 2 Project with modules
> -----------------------------------------
>
>                 Key: CONTINUUM-1098
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1098
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system, Web interface, Web - UI
>    Affects Versions: 1.1
>         Environment: -r490655
>            Reporter: Franz Allan Valencia See
>         Attachments: error logs.txt, error page.JPG
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira