Maven says that antrun copy corresponds to maven-resource-plugin,
(from http://maven.apache.org/plugins/maven-antrun-plugin/usage.html).
Can i use the maven-resources-plugin instead?
i'm already using it to copy conf cron files:
plugin
artifactIdmaven-resources-plugin/artifactId
technically, yes... but you'll be fighting with the standard bindings.
what you are trying to do is not the maven way so your best bet is
to just use antrun and copy
2009/11/23 eyal edri eyal.e...@gmail.com:
Maven says that antrun copy corresponds to maven-resource-plugin,
(from
I want to config the pom project to copy the final jar file to an
installation dir and bind it to the 'install' phase.
meaning, when i just build the project, the jar will be built into the
default target/project.jar.
but when i install it should be also should be copied to
your best bet is to bind an execution of the antrun plugin to the
install phase and use the ant copy task to copy the file for you
Sent from my [rhymes with tryPod] ;-)
On 22 Nov 2009, at 13:43, eyal edri eyal.e...@gmail.com wrote:
I want to config the pom project to copy the final jar file
It should work with the antrun plugin ( and ant's copy task. )
( configure an antrun plugin execution to attach to install phase )
--sony
On Sun, Nov 22, 2009 at 8:43 AM, eyal edri eyal.e...@gmail.com wrote:
I want to config the pom project to copy the final jar file to an
installation dir