edwardmlyte,
, , .
Maven SCM , <scm> , , , SCM- . , url ${project.artifactId}, artifactId.
, :
project.scm.connection=${parent.scm.connection}/${project.artifactId}
project.scm.connection=${scmurl}/${project.artifactId}/${project.artifactId}
project.scm.connection=www.mysite.com/child-pom/child-pom
, url ${artifactId}, , URL- www.mysite.com/parent-pom/, , SCM , child-pom URL- , , .
2 :
,
pom.xml:
<scm>
<connection>${scmurl}/${artifactId}</connection>
</scm>
, .
,
- :
<scm>
<connection>${scmurl}/</connection>
</scm>
, URL-, .
, URL- :
<profile>
<id>parent-profile</id>
<scm>
<connection>${scmurl}/parent-pom</connection>
</scm>
</profile>
$ mvn -Pparent-profile ...
, pom .
, .