maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Le Du <le.du.y...@gmail.com>
Subject Re: [m2] Multiprojects and inherited SCM URLs
Date Fri, 20 Jan 2006 08:36:05 GMT
Actually, yes, I use artifactId for directory names, and had thought of this
solution. But I'd supposed it would give me :
scm:svn:svn://host/PROJECT/module/module
I can't try today, but will do on Monday and let you know. Thank you anyway.

- Yann

2006/1/19, Dennis Lundberg < dennis.lundberg@mdh.se>:
>
> Yann Le Du wrote:
> > 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 ?
>
> How about this:
> scm:svn:svn://host/PROJECT/${pom.artifactId}
>
> This should work if you use the same name for the part in your svn
> repository as their artifactIds.
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message