If I have 2 modules A and B, and A depends on B, but B has a file
config.properties in its conf/ dir. How can I build/package A so that
config.properties will be in A also? How can I do it using
maven-assembly-plugin?
Thanks
-
Have you found the documentation ?
http://maven.apache.org/plugins/maven-assembly-plugin/introduction.html
Anather way will be a multiModule Project:
http://maven.apache.org/guides/getting-started/index.html -> How do I
build more than one project at once?
Fredy
2006/10/24, Chen, Anning <[EMAIL
How is your definition for module?
2006/10/24, Chen, Anning <[EMAIL PROTECTED]>:
If I have 2 modules A and B, and A depends on B, but B has a file
config.properties in its conf/ dir. How can I build/package A so that
config.properties will be in A also? How can I do it using
maven-assembly-plu
bject: Re: copying configs from dependencies
How is your definition for module?
2006/10/24, Chen, Anning <[EMAIL PROTECTED]>:
> If I have 2 modules A and B, and A depends on B, but B has a file
> config.properties in its conf/ dir. How can I build/package A so that
> config.properti
If I have 2 modules A and B, and A depends on B, but B has a file
config.properties in its conf/ dir. How can I build/package A so that
config.properties will be in A also? How can I do it using
maven-assembly-plugin?
With the plugin maven-assembly-plugin, you can try something like this :