On Mon, Dec 29, 2008 at 1:15 PM, legolas <[email protected]> wrote:

> how I can ask maven to include a text file into the META-INF/text folder of
> the final JAR file?
> I want to include my text file into META-INF/text folder of the final JAR
> file but I do not know what changes are required in the pom.xml file in
> order to do this.

None, if you put the text file in the
src/main/resources/META-INF/text/ directory.

Maven will include everything under src/main/resources in the jar.  If
you want to filter values into the file, or share the text file among
multiple projects, then you would need some additional config.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to