Hi,
I think you have met with the same issue with me,I hope the following
configuration can help you:
<--builder jar and war-->
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test</testSourceDirectory>
<outputDirectory>target/classes</outputDirectory>
<testOutputDirectory>target/test-classes</testOutputDirectory>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<--this comfiguration can package the xml file which are distribute the
different directory with .java files together-->
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<-<-directory > appoint the file's address-->
<directory>src/main/config/ejb</directory>
<--<targetPath>appoint the address where you want to package-->
<targetPath>META-INF/</targetPath>
<--<include>appoint whick files you want to package-->
<includes>
<include>*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/config/biz</directory>
<includes>
<include>*</include>
</includes>
</resource>
<resource>
<directory>src/main/process</directory>
<targetPath>./</targetPath>
</resource>
</resources>
2007/1/31, Rahamim, Zvi (Zvi) <[EMAIL PROTECTED]>:
Hi,
I have a new project type,
In this type I need to create a zip file that contain both directory
structure from version control and dependency files (e.g. jars/wars...)
(each file should be copied to a specific path - and this should be
configured in the pom.xml file)
It seems that I need to overwrite the prepare-sources and package and in
addition use the default install and deploy phases.
Can you give me a hint how to start with it?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]