I am a new user of Maven and most likely are simply missing something.

I have this existing project structure
   src/package/images/group1/*.gif
   src/package/images/group2/*.gif
   src/package/*.java

I want the contents of src/package/images to end up in the jar file under "package/images/group1" and "package/images/group2"

I have the resource defined as
<resource>
           <directory>src/package/images</directory>
           <includes>
               <include>**/*.gif</include>
           </includes>
           <targetpath>package/images</targetpath>
       </resource>

But all the images end up in the jar file at the root directory level. No "package/images/group1" or "package/images/group2" gets created.

What is the proper way to get the gif files into the proper directories?

Thanks in advance.

--
Erik Husby
Team Lead for Software Quality Automation
Whitehead Institute/MIT Center for Genome Research
Rm. 2192
320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669
office: 617.258.9227
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to