You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Yan Huang <az...@gmail.com> on 2007/10/31 22:44:28 UTC

Configuring SCM

It seems to me that I'm forced to define <scm> tag for each of projects even
though I declare them as "modules" in the top level of pom file.

For example, let's say I have project1, project2 and project3 under a tree,
where a <scm> tag is defined along with the declaration of modules:

<project ...>
...
<scm>
<connection>scm|perforce|perforce_server:12345|//depot/path</connection>
<developerConnection>scm|perforce|perforce_server:12345|//depot/path</developerConnection>
</scm>

<modules>
<module>project1</module>
<module>project2</module>
<module>project3</module>
</modules>

Now, I thought, by default, when I run "site", maven would be able to figure
out the depot path of each project by looking at the "module" tag and append
it to the patch defined in <scm>, ex. figure out the depot path of project1
is //depot/path/project1. However, it doesn't do it. Is it by design or
there is a way to configure it?

Thanks
Yan