Author: dennisl Date: Thu Apr 29 21:24:50 2010 New Revision: 939485 URL: http://svn.apache.org/viewvc?rev=939485&view=rev Log: Add a FAQ entry about SCM URL inheritance, related to MCHANGELOG-84.
Modified: maven/plugins/trunk/maven-changelog-plugin/src/site/fml/faq.fml Modified: maven/plugins/trunk/maven-changelog-plugin/src/site/fml/faq.fml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/src/site/fml/faq.fml?rev=939485&r1=939484&r2=939485&view=diff ============================================================================== --- maven/plugins/trunk/maven-changelog-plugin/src/site/fml/faq.fml (original) +++ maven/plugins/trunk/maven-changelog-plugin/src/site/fml/faq.fml Thu Apr 29 21:24:50 2010 @@ -180,5 +180,27 @@ mvn scm:changelog </ol> </answer> </faq> + <faq id="Why do the child modules of my multi module project have wrong SCM URLs"> + <question>Why do the child modules of my multi module project have wrong SCM URLs?</question> + <answer> + <p> + The short answer is that they don't. This is usually a + misunderstanding of how the SCM URLs are inherited. + </p> + <p> + If you only define an <scm> element in the parent POM, the + child modules will interit a value for their SCM URLs. The path to a + child directory, when using the aggregator, is <em>not</em> used when + constructing the SCM URLs. Only the artifactId is used. + </p> + <p> + If you want to examine what your POM looks like, including the SCM + URLs, you can run this command: +<source> +mvn help:effective-pom +</source> + </p> + </answer> + </faq> </part> </faqs> \ No newline at end of file