2006-02-07 07:11:05 +00:00

46 lines
1.5 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<faqs title="Frequently Asked Questions">
<part id="Resources">
<title>Resources</title>
<faq id="IncludingResources">
<question>How do I include other files in my EAR?</question>
<answer>
<p>There are two ways to include other resources in the EAR file</p>
<ol>
<li>
Using the <a href="properties.html"><code>maven.ear.src</code></a>
property, you can specify an entire directory to include, or
</li>
<li>
Alternatively, you can use the
<a href="http://maven.apache.org/maven-1.x/reference/project-descriptor.html">resources element</a>
of the <code>project.xml</code> to specify resource across various
directories, just as you would for a jar or war project.
</li>
</ol>
</answer>
</faq>
</part>
</faqs>