wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven sync and plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven sync and plugin" Watch "Maven sync and plugin" New topic
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: 3274
    
    5

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: 3274
    
    5

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.
 
jQuery in Action, 2nd edition
 
subject: Maven sync and plugin
 
Similar Threads
How to open projects (with .project pom.xml) in eclipse ?
The specified jre installation does not exist
content aggregation without portal environment
Unable to find mojo 'validate'
How do I sign "jars" in the target directory using Maven?