I know I could define properties, but I don't want to define it.
I have a hierarchical project/pom structure and want to add this entry in my 
root pom and do not want to touch it in every project pom.
That's why I wanted to use the artefactId and the groupId but that doesn't work 
because of the dots in the groupID.

So if there would be a replaceDotsWithSlashes( ${groupId} )
Function or another approach that would be great ;-)

Stefan

-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 14, 2006 1:45 PM
To: Maven Users List
Subject: Re: [m2] SCM url: ${groupId} alternative with slashes instead of .

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to