You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org> on 2005/11/09 17:45:06 UTC

[jira] Closed: (CONTINUUM-432) Can't add multi-module M2 project located in cvs:local to Continuum

     [ http://jira.codehaus.org/browse/CONTINUUM-432?page=all ]
     
Emmanuel Venisse closed CONTINUUM-432:
--------------------------------------

    Resolution: Won't Fix

you can't upload a project with modules. For projects with modules, you must use the url method. I added a note in "Add project" page for this.

For local files, you can use file protocol. It's disabled by default in continuum, but you can activate it in ${continuum_home}/apps/continuum/conf/application.xml :
- uncomment line " <allowedScheme implementation="java.lang.String">file</allowedScheme>"



> Can't add multi-module M2 project located in cvs:local to Continuum
> -------------------------------------------------------------------
>
>          Key: CONTINUUM-432
>          URL: http://jira.codehaus.org/browse/CONTINUUM-432
>      Project: Continuum
>         Type: Bug
>     Versions: 1.0
>  Environment: Windows XP SP2, JDK 1.5.0_03, CVSNT 2.5.02
>     Reporter: Miks Rozenbergs
>  Attachments: m2_multimodule_test.zip
>
>
> STEPS TO REPRODUCE:
> 1. Set up following directory structure (see attachement for complete ZIPed version):
>         [m2_multimodule_test]
>              pom.xml
>              [my-app]
>                   pom.xml
>              [my-webapp]
>                   pom.xml
> The pom.xml directly under [m2_multimodule_test] contains references to my-app and my-webapp and there is a dependency from my-webapp to my-app (similar to example described in Maven's getting started guide http://maven.apache.org/maven2/getting-started.html).
> 2. Add the whole [m2_multimodule_test] to local CVS (CVS mode local:).
> 3. Add <ciManagement> and <scm> sections to all 3 pom.xml's and commit changed files to CVS.
> 4. Add M2 project from Continuum Web interface, use path to pom.xml (not URL) and select the pom.xml directly beneeth [m2_multimodule_test].
> 5. Error is displayed both in Web browser and in Continuum console (see bellow).
> P.S. I've checked the C:\TEMP -- C:/TEMP/summit-19453.tmp is present but the subdirectory C:/TEMP/summit-1/ is not.
> ======================= error on console ==========================================================
> jvm 1    | 2005-11-09 18:15:05,315 [SocketListener0-1] INFO  ContinuumProjectBuilder:maven-two-builder - Downloading file:/C:/TEMP/summit-19453.tmp
> jvm 1    | 2005-11-09 18:15:05,335 [SocketListener0-1] INFO  ContinuumProjectBuilder:maven-two-builder - Downloading file:/C:/TEMP/summit-1/my-webapp/pom.xml
> jvm 1    | 2005-11-09 18:15:05,335 [SocketListener0-1] INFO  ContinuumProjectBuilder:maven-two-builder - Downloading file:/C:/TEMP/summit-1/my-app/pom.xml
> jvm 1    | 2005-11-09 18:15:05,335 [SocketListener0-1] INFO  Continuum                      - Created 1 projects.
> jvm 1    | 2005-11-09 18:15:05,335 [SocketListener0-1] INFO  Continuum                      - Created 1 project groups.
> jvm 1    | 2005-11-09 18:15:05,335 [SocketListener0-1] INFO  Continuum                      - 2 warnings.
> jvm 1    | 2005-11-09 18:15:05,335 [SocketListener0-1] INFO  Continuum                      - Could not download file:/C:/TEMP/summit-1/my-webapp/pom.xml: C:\TEMP\summit-1\my-webapp\pom.xml (The system cannot find the path specified)
> jvm 1    | 2005-11-09 18:15:05,335 [SocketListener0-1] INFO  Continuum                      - Could not download file:/C:/TEMP/summit-1/my-app/pom.xml: C:\TEMP\summit-1\my-app\pom.xml (The system cannot find the path specified)

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