<resource>
<directory>src</directory>
<includes>
<include>package/images/**/*.gif</include>
</includes>
</resource>No idea of whether that target path thing works or not, but it isn't required.
Erik Husby wrote:
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.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
