You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by DebasisMishra <mi...@gmail.com> on 2008/08/16 17:02:00 UTC

how to include text file during distribution

Hello All,
 I am having a simple Javaproject.I am using maven for deploying.i,e mvn
deploy command.
 while I am running the "mvn deploy" command it is creating the jar file.
 but I want to include some of the template file which is a text file during
distribution but not with in the jar.
Could anybody please tell me how can I achieve that?

Thanks in advance
Debasis
-- 
View this message in context: http://www.nabble.com/how-to-include-text-file-during-distribution-tp19012129p19012129.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: how to include text file during distribution

Posted by Wendy Smoak <ws...@gmail.com>.
On Sat, Aug 16, 2008 at 8:02 AM, DebasisMishra
<mi...@gmail.com> wrote:

>  while I am running the "mvn deploy" command it is creating the jar file.
>  but I want to include some of the template file which is a text file during
> distribution but not with in the jar.
> Could anybody please tell me how can I achieve that?

You can use the Assembly plugin to package your jar and any additional
files you want to distribute.

-- 
Wendy

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