You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Davis Ford <da...@gmail.com> on 2007/12/03 18:40:16 UTC

resources plugin question

Hi, if I have the general maven project layout with the following:

src/main/resources/mydirectory/file.xml

and general pom.xml with this:

<version>1.1</version>

Is it possible somehow using the resources plugin (or some other
plugin) to cause it to deploy as a jar-file with the following
directory structure inside the jar ->

my-project-1.1.jar:/mydirectory/1.1/file.xml

Said another way, I want to dynamically take the maven ${version}
value from the pom, and insert it dynamically into the resources path
in the jar when it is deployed.

Is there an easy way to accomplish this?

Thanks in advance,
Davis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org