| Author |
Maven sync and plugin
|
venkataramana raju
Greenhorn
Joined: Sep 11, 2005
Posts: 28
|
|
Hi,
1) How to achive sync In MAVEN, as in ANT <sync todir="${basedir}" >...
2) Can we use same plugin twice in single pom.xml,
I mean two times "maven-resources-plugin" in same pom.xml
Thanks
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
|
I'm not sure on the first question, the second question... typically no - why do you want to do this?
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
venkataramana raju
Greenhorn
Joined: Sep 11, 2005
Posts: 28
|
|
Hi,
In my project i want to copy some folders to destination folder.
For example:
My folder structure is as shown below
src-
|
- config
- META-INF
- j2ee-apps
- main-
|
-java
-resources
I need to copy config,META-INF,j2ee-apps and some other folder from different location TO build folder.
Thanks
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
|
Some of that should go under your resources folder (see the resources plugin docs for details), some can be copied to target locations using the assembly plugin.
|
 |
 |
|
|
subject: Maven sync and plugin
|
|
|