You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stefan Fritz <sf...@progress.com> on 2006/03/14 13:03:01 UTC
[m2] SCM url: ${groupId} alternative with slashes instead of .
Hi all,
I try to build pom's for my projects and do not want to specify the url
manually for every pom.
My pom.xml:
...
<groupId>test.applications</groupId>
<artifactId>myapp</artifactId>
...
... <scm> ...
<url>http://myserver.com/svn/${groupId
<http://myserver.com/svn/$%7BgroupId> }/${artifactId}/</url>
</scm>
What I get is http://myserver.com/svn/test.application/myapp/
<http://myserver.com/svn/test.application/myapp/> but waht I want is
http://myserver.com/svn/test/application/myapp/
<http://myserver.com/svn/test/application/myapp/> (slashes instead of
dots in the groupId).
Is that possible or do I have to do it manually for every pom I have?
Regards
Stefan
Re: [m2] SCM url: ${groupId} alternative with slashes instead of
.
Posted by Emmanuel Venisse <em...@venisse.net>.
It isn't possible, you must define it manually?
You can define test/application as a property of your pom and use it in your scm url
Emmanuel
Stefan Fritz a écrit :
> Hi all,
>
> I try to build pom's for my projects and do not want to specify the url
> manually for every pom.
>
> My pom.xml:
> ...
> <groupId>test.applications</groupId>
> <artifactId>myapp</artifactId>
> ...
>
> ... <scm> ...
> <url>http://myserver.com/svn/${groupId
> <http://myserver.com/svn/$%7BgroupId> }/${artifactId}/</url>
> </scm>
>
>
> What I get is http://myserver.com/svn/test.application/myapp/
> <http://myserver.com/svn/test.application/myapp/> but waht I want is
> http://myserver.com/svn/test/application/myapp/
> <http://myserver.com/svn/test/application/myapp/> (slashes instead of
> dots in the groupId).
>
> Is that possible or do I have to do it manually for every pom I have?
>
> Regards
> Stefan
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org