PR: MPMULTIPROJECT-36

address issue


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115573 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2004-06-28 09:53:07 +00:00
parent ab59b0884d
commit eceae21fa7

View File

@ -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>