You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/06/28 11:53:07 UTC
cvs commit: maven-plugins/multiproject/xdocs faq.fml
brett 2004/06/28 02:53:07
Modified: multiproject/xdocs faq.fml
Log:
PR: MPMULTIPROJECT-36
address issue
Revision Changes Path
1.4 +31 -26 maven-plugins/multiproject/xdocs/faq.fml
Index: faq.fml
===================================================================
RCS file: /home/cvs/maven-plugins/multiproject/xdocs/faq.fml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- faq.fml 4 Mar 2004 18:36:33 -0000 1.3
+++ faq.fml 28 Jun 2004 09:53:07 -0000 1.4
@@ -18,30 +18,35 @@
-->
<faqs title="Frequently Asked Questions">
- <part id="using">
- <title>Using Multiproject</title>
- <faq id="resources-not-included-in-artifacts">
- <question>When using multiproject to build subprojects, resources are not included in my artifacts. Why?</question>
- <answer>
- Use ${basedir} in your subproject's POM resource section:
- <p>
- <source>
- <![CDATA[
- <resources>
- <resource>
- <directory>${basedir}/src/java</directory>
- <includes>
- <include>**/*.properties</include>
- </includes>
- </resource>
- </resources>
- ]]>
- </source>
- </p>
- <p>
- The resources won't be included if you just specify "src/java" as directory unless maven is started from within the subproject directory.
- </p>
- </answer>
- </faq>
- </part>
+ <part id="using">
+ <title>Using Multiproject</title>
+ <faq id="collect-var-change">
+ <question>My custom navigation uses <code>reactorProjects</code>, and when I upgraded it broke. Why?</question>
+ <answer>
+ <code>reactorProjects</code> is reused by anything using the reactor. Since there is no concept of scope or
+ nesting, the variable <code>multiprojects</code> is now used instead. If you change your variable references,
+ this should start working again.
+ </answer>
+ </faq>
+ <faq id="resources-not-included-in-artifacts">
+ <question>When using multiproject to build subprojects, resources are not included in my artifacts. Why?</question>
+ <answer>
+ Use ${basedir} in your subproject's POM resource section:
+ <p>
+ <source><![CDATA[
+<resources>
+ <resource>
+ <directory>${basedir}/src/java</directory>
+ <includes>
+ <include>**/*.properties</include>
+ </includes>
+ </resource>
+</resources>]]></source>
+ </p>
+ <p>
+ The resources won't be included if you just specify "src/java" as directory unless maven is started from within the subproject directory.
+ </p>
+ </answer>
+ </faq>
+ </part>
</faqs>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org