You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dkowis <dk...@shlrm.org> on 2009/06/05 21:12:50 UTC
Super pom properties in child pom
Say I've got a super pom with a defined SCM section like so:
<scm>
<connection>scm:git:git://server/repos/${artifactId}.git</connection>
</scm>
Well in the child pom, it's taking the super pom's name and appending /
child pom's name.
Like so:
<scm>
<connection>scm:git:git://server/repos/Super/Child.git</connection>
</scm>
That's not what I wanted it to do, I need it to just have Child.git without
the super/ stuff
How do I ensure that happens?
Thanks,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Super pom properties in child pom
Posted by dkowis <dk...@shlrm.org>.
On Fri, 05 Jun 2009 14:12:50 -0500, dkowis <dk...@shlrm.org> wrote:
> Say I've got a super pom with a defined SCM section like so:
> <scm>
> <connection>scm:git:git://server/repos/${artifactId}.git</connection>
> </scm>
>
> Well in the child pom, it's taking the super pom's name and appending /
> child pom's name.
> Like so:
> <scm>
> <connection>scm:git:git://server/repos/Super/Child.git</connection>
> </scm>
>
> That's not what I wanted it to do, I need it to just have Child.git
without
> the super/ stuff
> How do I ensure that happens?
>
Actually it's still stranger than that:
I have a configured url in the scm section
<url>http://server/gitweb/gitweb.cgi/repos/${artifactId}</url>
This should show up in the generated site (when running mvn site) as:
http://server/gitweb/gitweb.cgi/repos/Child
But it's showing up as:
http://server/gitweb/gitweb.cgi/repos/Child/Super/Child
What is going on? I didn't specify anything else after the URL, why is
appending things for me?
Thanks,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org