It would by default, however, you can modify the maven-resources-plugin 
settings to put, for example, *.bat and *.sh files outside of 
target/classes and therefore not get put in the jar.

More info at http://maven.apache.org/plugins/maven-resources-plugin/

-Greg Vaughn

"Todd Nine" <[EMAIL PROTECTED]> wrote on 02/28/2007 01:55:39 PM:

> No, but wouldn't they then get inserted into the jar, not into the zip 
file?
> If not, where is the doc on setting this up?  I couldn't find it 
anywhere.
> 
> Thanks,
> Todd
> 
> On 2/28/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > Any reason your scripts can't live in resources and get filtered, so
> > the proper values are replaced in the files during the normal Maven
> > "process-resources" phase?
> >
> > Wayne
> >
> > On 2/28/07, Todd Nine <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > >   I have a large standalone distribution I'm zipping up with the
> > assembler.
> > > It's using a self executing jar, and has both a batch script and a 
shell
> > > script that use "java -jar artifactId-<version>.jar <args>".  Is it
> > possible
> > > to use something similar to sed in the assembler so I can find and
> > replace a
> > > variable in my scripts with the artifact name.  This way we won't 
have
> > to
> > > manually update the scripts before we package our artifacts, and we 
can
> > > reduce errors due to version mismatches in the scripts.
> > >
> > > Thanks,
> > > Todd
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >

======================================================================
Confidentiality Notice: The information contained in and transmitted with this 
communication is strictly confidential, is intended only for the use of the 
intended recipient, and is the property of Countrywide Financial Corporation or 
its affiliates and subsidiaries.  If you are not the intended recipient, you 
are hereby notified that any use of the information contained in or transmitted 
with the communication or dissemination, distribution, or copying of this 
communication is strictly prohibited by law.  If you have received this 
communication in error, please immediately return this communication to the 
sender and delete the original message and any copy of it in your possession.
======================================================================

Reply via email to