You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Felipe Leme (JIRA)" <ji...@codehaus.org> on 2006/04/06 15:22:48 UTC

[jira] Created: (CONTINUUM-649) Failure to checkout M2 module from SVN

Failure to checkout M2 module from SVN
--------------------------------------

         Key: CONTINUUM-649
         URL: http://jira.codehaus.org/browse/CONTINUUM-649
     Project: Continuum
        Type: Bug

    Versions: 1.0.2    
    Reporter: Felipe Leme


I have a M2 project with many sub-projects; one of them is the web application, whose directory is called webapp, the module on the parent's pom is also webapp but the project's artifactId is mycompany-web. When I run 'mvn install' from the parent on command line, it works fine; when I import the parent's pom into continuum, it works fine also (i.e., it automatically set the sub-projects). But continuum fails to build the webapp project with the message:

Provider message: The svn command failed.
Command output: 
-------------------------------------------------------------------------------
svn: URL 'http://svn.versiondude.net/mycompany/voxblue/trunk/mycompany-web' doesn't exist

In other words, continuum created the wrong URL: it used the sub-project's artifactId and not the name defined on the parent's POM (I'm not sure if that's a bug on continuum or M2, but the fact is that either both should work or both fail).


-- 
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-649) Failure to checkout M2 module from SVN

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

Emmanuel Venisse commented on CONTINUUM-649:
--------------------------------------------

A workaround for your project in continuum 1.0.2 is to add the correct scm url in your webapp project

> Failure to checkout M2 module from SVN
> --------------------------------------
>
>          Key: CONTINUUM-649
>          URL: http://jira.codehaus.org/browse/CONTINUUM-649
>      Project: Continuum
>         Type: Bug

>     Versions: 1.0.2
>     Reporter: Felipe Leme

>
>
> I have a M2 project with many sub-projects; one of them is the web application, whose directory is called webapp, the module on the parent's pom is also webapp but the project's artifactId is mycompany-web. When I run 'mvn install' from the parent on command line, it works fine; when I import the parent's pom into continuum, it works fine also (i.e., it automatically set the sub-projects). But continuum fails to build the webapp project with the message:
> Provider message: The svn command failed.
> Command output: 
> -------------------------------------------------------------------------------
> svn: URL 'http://svn.versiondude.net/mycompany/voxblue/trunk/mycompany-web' doesn't exist
> In other words, continuum created the wrong URL: it used the sub-project's artifactId and not the name defined on the parent's POM (I'm not sure if that's a bug on continuum or M2, but the fact is that either both should work or both fail).

-- 
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-649) Failure to checkout M2 module from SVN

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

Emmanuel Venisse commented on CONTINUUM-649:
--------------------------------------------

ok, so it's a maven problem, i move this issue to MNG project

> Failure to checkout M2 module from SVN
> --------------------------------------
>
>          Key: CONTINUUM-649
>          URL: http://jira.codehaus.org/browse/CONTINUUM-649
>      Project: Continuum
>         Type: Bug

>     Versions: 1.0.2
>     Reporter: Felipe Leme

>
>
> I have a M2 project with many sub-projects; one of them is the web application, whose directory is called webapp, the module on the parent's pom is also webapp but the project's artifactId is mycompany-web. When I run 'mvn install' from the parent on command line, it works fine; when I import the parent's pom into continuum, it works fine also (i.e., it automatically set the sub-projects). But continuum fails to build the webapp project with the message:
> Provider message: The svn command failed.
> Command output: 
> -------------------------------------------------------------------------------
> svn: URL 'http://svn.versiondude.net/mycompany/voxblue/trunk/mycompany-web' doesn't exist
> In other words, continuum created the wrong URL: it used the sub-project's artifactId and not the name defined on the parent's POM (I'm not sure if that's a bug on continuum or M2, but the fact is that either both should work or both fail).

-- 
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-649) Failure to checkout M2 module from SVN

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

Emmanuel Venisse commented on CONTINUUM-649:
--------------------------------------------

It isn't  really a continuum problem but a maven problem. Continuum 1.0.2 use maven 2.0 api for loading pom and scm url to use is generated by maven api. We have fixed in maven 2.0.3 (used by continuum 1.0.3) the url generation.

What is your maven version? run "mvn help:effective-pom" and check the scm url in the output. Is it the correct url?

> Failure to checkout M2 module from SVN
> --------------------------------------
>
>          Key: CONTINUUM-649
>          URL: http://jira.codehaus.org/browse/CONTINUUM-649
>      Project: Continuum
>         Type: Bug

>     Versions: 1.0.2
>     Reporter: Felipe Leme

>
>
> I have a M2 project with many sub-projects; one of them is the web application, whose directory is called webapp, the module on the parent's pom is also webapp but the project's artifactId is mycompany-web. When I run 'mvn install' from the parent on command line, it works fine; when I import the parent's pom into continuum, it works fine also (i.e., it automatically set the sub-projects). But continuum fails to build the webapp project with the message:
> Provider message: The svn command failed.
> Command output: 
> -------------------------------------------------------------------------------
> svn: URL 'http://svn.versiondude.net/mycompany/voxblue/trunk/mycompany-web' doesn't exist
> In other words, continuum created the wrong URL: it used the sub-project's artifactId and not the name defined on the parent's POM (I'm not sure if that's a bug on continuum or M2, but the fact is that either both should work or both fail).

-- 
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-649) Failure to checkout M2 module from SVN

Posted by "Felipe Leme (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-649?page=comments#action_62991 ] 

Felipe Leme commented on CONTINUUM-649:
---------------------------------------

Hi Emmanuel,

I'm using Maven 2.0.3, but Continuum 1.0.2; running mvn help:effective-pom on the parent, I got the wrong URL for the sub-projects:

<connection>scm:svn:http://svn.versiondude.net/xxx/yyy/trunk/mycompany-web</connection>

instead of :
    
<connection>scm:svn:http://svn.versiondude.net/xxx/yyy/trunk/webapp</connection>

Running from the sub-project results the same, so looks like the problem was not fixed on Maven 2.0.3...

Regarding the workaround, I've just renamed the directories - these names are temporary anyway, as we're still in the early days of development.




> Failure to checkout M2 module from SVN
> --------------------------------------
>
>          Key: CONTINUUM-649
>          URL: http://jira.codehaus.org/browse/CONTINUUM-649
>      Project: Continuum
>         Type: Bug

>     Versions: 1.0.2
>     Reporter: Felipe Leme

>
>
> I have a M2 project with many sub-projects; one of them is the web application, whose directory is called webapp, the module on the parent's pom is also webapp but the project's artifactId is mycompany-web. When I run 'mvn install' from the parent on command line, it works fine; when I import the parent's pom into continuum, it works fine also (i.e., it automatically set the sub-projects). But continuum fails to build the webapp project with the message:
> Provider message: The svn command failed.
> Command output: 
> -------------------------------------------------------------------------------
> svn: URL 'http://svn.versiondude.net/mycompany/voxblue/trunk/mycompany-web' doesn't exist
> In other words, continuum created the wrong URL: it used the sub-project's artifactId and not the name defined on the parent's POM (I'm not sure if that's a bug on continuum or M2, but the fact is that either both should work or both fail).

-- 
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: (MNG-2208) Failure to checkout M2 module from SVN

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2208?page=all ]
     
Brett Porter closed MNG-2208:
-----------------------------

     Assign To: Brett Porter
    Resolution: Won't Fix

the appending of the artifact ID to the SCM URL is by design.

Workaround is to explictly declare the correct configuration in the child POM.

There is another open bug for improving this in 2.1

> Failure to checkout M2 module from SVN
> --------------------------------------
>
>          Key: MNG-2208
>          URL: http://jira.codehaus.org/browse/MNG-2208
>      Project: Maven 2
>         Type: Bug

>     Versions: 2.0.3
>     Reporter: Felipe Leme
>     Assignee: Brett Porter

>
>
> I have a M2 project with many sub-projects; one of them is the web application, whose directory is called webapp, the module on the parent's pom is also webapp but the project's artifactId is mycompany-web. When I run 'mvn install' from the parent on command line, it works fine; when I import the parent's pom into continuum, it works fine also (i.e., it automatically set the sub-projects). But continuum fails to build the webapp project with the message:
> Provider message: The svn command failed.
> Command output: 
> -------------------------------------------------------------------------------
> svn: URL 'http://svn.versiondude.net/mycompany/voxblue/trunk/mycompany-web' doesn't exist
> In other words, continuum created the wrong URL: it used the sub-project's artifactId and not the name defined on the parent's POM (I'm not sure if that's a bug on continuum or M2, but the fact is that either both should work or both fail).

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