You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jens Riboe <je...@ribomation.com> on 2008/02/20 00:44:29 UTC
maven appends sub-project artifactId to urls
I have an organization POM, with common defs, including url templates
for scm and distribution.
Here are the relevant snippets, from the parent pom
<scm>
<connection>scm:svn:https://www.ribomation.com/svn/pub/${project.name}/trunk</connection>
<developerConnection>scm:svn:https://www.ribomation.com/svn/pub/${project.name}/trunk</developerConnection>
<url>http://www.ribomation.com/websvn/${project.name}/trunk</url>
</scm>
<site>
<id>riboutils</id>
<url>dav:http://dav.ribomation.com:8000/doc/${project.name}/</url>
</site>
The problem is that these URLs of the effective pom of projects using
the parent-pom,
has the artifactId appended. Here are the relevant snippets, from a test pom
<parent>
...
</parent>
<artifactId>hello</artifactId>
<version>0.17</version>
<packaging>jar</packaging>
<name>HelloMvn</name>
<scm>
<connection>scm:svn:https://www.ribomation.com/svn/pub/HelloMvn/trunk/hello</connection>
<developerConnection>scm:svn:https://www.ribomation.com/svn/pub/HelloMvn/trunk/hello</developerConnection>
<url>http://www.ribomation.com/websvn/HelloMvn/trunk/hello</url>
</scm>
<site>
<id>riboutils</id>
<url>dav:http://dav.ribomation.com:8000/doc/HelloMvn/hello</url>
</site>
So my question is: How can I disable this feature, or configure the way
it is working?
As it stands right now, I consider this feature to be a bug. It's not
documented and I hardly see the benefit of it.
There was a mail trail touching this back in December, but it didn't
come to a conclusion
http://www.mail-archive.com/users@maven.apache.org/msg77123.html
Regards,
/jens
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org