Ok, it's a bug in
http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java?rev=306518&view=markup
in assembleScmInheritance method.
This method append parent scm connection url and artifactId without look at
relativePath.
Please, file an issue about this problem.
Emmanuel
Yann Le Du a écrit :
Here's what I've done :
1. Remove all maven-scm-*-1.0-beta-2.jar in continuum/lib . Replace them
with maven-scm-*-1.0-beta-3-20060115.041342-*.jar
2. Restart Continuum
3. Add parent in Continuum. module is also added. If I click on module,
Scm Url is scm:svn:svn://host/PROJECT/parent/module
4. Build parent. OK
5. Build module. Error : svn: URL 'svn://host/PROJECT/parent/module'
doesn't exist
6. Delete module.
7. Add module. If I click on module, Scm Url is the same as in 3.
8. Build module. Same error as in 5.
parent :
<connection>scm:svn:svn://host/PROJECT/parent/</connection>
<module>../module</module>
module :
<relativePath>../parent/pom.xml</relativePath>
Thanks again for your time,
- Yann
2006/1/24, Emmanuel Venisse <[EMAIL PROTECTED]>:
The problem was fixed on Jan 12th and we have some tests that check the
patch.
Do you have remove old maven-scm jars?
Where do you obtain the scm url?
You're not the only one that can't build some provider, but for now, we
don't know why. We are
several people that run them without problem.
Emmanuel
Yann Le Du a écrit :
Emmanuel, I couldn't build maven-scm trunk, there are test failures in
maven-scm-provider-svn
I tried to put the deployed 20060115.041342 SNAPSHOTs in continuum/lib
and
to use relativePath, but I got the same problem when I add the module in
Continuum : the URL is resolved as svn://host/PROJECT/parent/module
Was the problem fixed on Jan 15th ?
- Yann
2006/1/20, Yann Le Du <[EMAIL PROTECTED]>:
Thanks Emmanuel, I'll try with maven-scm trunk then.
- Yann
2006/1/19, Emmanuel Venisse < [EMAIL PROTECTED]>:
Actually, you need to define scm url in all your modules if you want to
use relative path.
This problem is fixed in maven-scm trunk.
Emmanuel
Yann Le Du a écrit :
Hi,
In order to ease Continuum use, we want to have the following project
structure :
~ PROJECT
~ +-- parent
~ +-- pom.xml
~ +-- module
~ +-- pom.xml
module has obviously parent for parent
parent defines this SCM URL :
scm:svn:svn://host/PROJECT/parent
In module, this is inheirted as :
scm:svn:svn://host/PROJECT/parent/module
... which is not what we want
Note that in parent the module is correctly defined :
<module>../module</module>
Is there way to inherit correct URL (e.g. through relativePath), or is
the
only solution to put correct URL directly in module ?
TIA,
- Yann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]