configuration - Maven SCM Section suppress artifactid -


i configure scm server in shared maven parent pom in organization none of project poms (children) need define configuration. configuration add looks this:

<scm>     <connection>scm:hg:http://myscmserver.com/hg/${project.artifactid}</connection>     <developerconnection>scm:hg:http://myscmserver.com/hg/${project.artifactid}</developerconnection>     <url>http://myscmserver.com/hg/${project.artifactid}/html</url> </scm> 

unfortunately, maven automatically appending artifactid urls when resolves these fields (when building maven site). acceptable first 2 fields because can remove reference artifactid property, last field results in bad url (http://myscmserver.com/hg/myartifact/html/myartifact instead of http://myscmserver.com/hg/myartifact/html).

is there suppress automatic appending of artifactid? not feasible change child poms in case.


Comments