continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schulte (JIRA)" <>
Subject [jira] Closed: (CONTINUUM-462) Relative path not honoured in cvs commands for flat project layout
Date Wed, 23 Nov 2005 19:46:06 GMT
     [ ]
Christian Schulte closed CONTINUUM-462:

    Resolution: Duplicate

see comment in MNG-1263

> Relative path not honoured in cvs commands for flat project layout
> ------------------------------------------------------------------
>          Key: CONTINUUM-462
>          URL:
>      Project: Continuum
>         Type: Bug
>     Versions: 1.0, 1.0.1
>  Environment: affects all environments
>     Reporter: Christian Schulte

> Continuum does not implement the flat project layout as described at  <>
at the end of the site correctly. The checkout via ViewCVS does work but during building continuum
does not propagate the relative path to the modules and the parent correctly  to the cvs commands
it executes making the build fail because of cvs errors about unknown modules.
> Example:
> |--ROOT
> |----pom.xml
> |--MODULE1
> |----pom.xml
> |--MODULE2
> |----pom.xml
> Just directories below REPOROOT. The ViewCVS URL to import such a project into continuum
looks something like this...
> http://somehost/viewcvs/*checkout*/REPOROOT/ROOT/pom.xml 
> and the SCM URL inside ROOT/pom.xml looks like this...
> <connection>scm:cvs:pserver:user@host:/cvs:/REPOROOT/ROOT</connection>
> Continuum can successfully build the project inside ROOT but fails for all projects defined
like this in ROOT/pom.xml.
> <modules>
>  <module>../MODULE1</module>
>  <module>../MDOULE2</module>
> </modules>
> That is because it tries to do the cvs checkouts wihtout the correct relative path as
it did during initial checkout via ViewCVS.
> 21212715 [Thread-1] WARN  org.apache.maven.continuum.scm.ContinuumScm  - Command output:
cvs server: cannot find module `REPOROOT/ROOT/MODULE1' - ignored
> cvs [checkout aborted]: cannot expand modules 
> Here it should have used REPOROOT/ROOT/../MODULE1. The workaround to get this structure
working in continuum is to specify the SCM URL inside every single pom.xml of the whole project
with the correct path. Continuum then does support the flat project layout. Without the SCM
URLs inside every pom it only honours the structure during initial checkout via ViewCVS but
not during the cvs commands executed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message