[ 
http://jira.codehaus.org/browse/MWAR-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephane Nicoll closed MWAR-105.
--------------------------------

      Assignee: Stephane Nicoll
    Resolution: Won't Fix

Not an issue, use a web resource if your generating stuff. 

And, btw, your description is a bit rude.

> Need config support to include/exclude files in META-INF tree
> -------------------------------------------------------------
>
>                 Key: MWAR-105
>                 URL: http://jira.codehaus.org/browse/MWAR-105
>             Project: Maven 2.x War Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0.2
>            Reporter: Farrukh S. Najmi
>            Assignee: Stephane Nicoll
>
> On 6/14/07, Farrukh S. Najmi <[EMAIL PROTECTED]> wrote:
> > Alexander Sack wrote:
> > > Can you give an example?  Also, why can't you change where the target is
> > > produced?
> >
> > Hi Alexander,
> >
> > There is a complex dependency on various plugin and underlying libraries
> > that does not offer much flexibility in where the file is produced.
> >
> > The example is the one I gave earlier. The generate-sources phase produces:
> >
> > target/jaxws/wsimport/java/META-INF/somefile
> >
> > I need the resulting war to have:
> >
> > META-INF/somefile
> >
> > Thanks for any suggestions.
> >
> > >
> > > -aps
> > >
> > > On 6/14/07, Farrukh S. Najmi <[EMAIL PROTECTED]> wrote:
> > >>
> > >> Thanks Alexandre, but I do not have the option to change the directory
> > >> where my file is produced (it is under target tree).
> > >> This must be a common need to include META-INF files from target tree?
> > >> Any other suggestions?
> > >>
> > >> Alexandre Touret wrote:
> > >> > Hello,
> > >> > probably, you could add the directory META-INF in your resource
> > >> > directory like
> > >> >
> > >> > src/main/resources/META-INF
> > >> > It should work
> > >> >
> > >> > Alexandre
> > >> >
> > >> > Farrukh S. Najmi a écrit :
> > >> >> Dear colleagues,
> > >> >>
> > >> >> My maven2 war project produces a file under the target tree as
> > >> part of
> > >> >> the generate-source phase:
> > >> >>
> > >> >>     target/somedirectory/META-INF/somefile
> > >> >>
> > >> >> How can I include this file under the META-INF directory of the
> > >> packaged
> > >> >> war as follows:
> > >> >>
> > >> >>     META-INF/somefile
> >

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to