includes/excludes is for content coming from ${project.build.outputDirectory}.-- Olivier 2008/1/28, Jeudy, Guillaume <[EMAIL PROTECTED]>: > Hi Wayne, > > Thanks I figured that out, that's what I did and now it works. I don't > know why includes can't seem to work though, it seems to be related to > what you want to include from the build classpath. > > Guillaume > -----Original Message----- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: January 28, 2008 2:56 PM > To: Maven Users List > Subject: Re: Adding includes in jar plugin > > Easiest thing would be to move them to src/main/resources/META-INF. > Any reason they're not there already? > > Wayne > > On 1/28/08, Jeudy, Guillaume <[EMAIL PROTECTED]> wrote: > > Hi, > > > > > > > > I'm trying to add some files to under META-INF directory with the jar > > plugin. Can someone help me? It doesn't seem to work. Here's what I'm > > using: > > > > <plugin> > > > > <groupId>org.apache.maven.plugins</groupId> > > > > <artifactId>maven-jar-plugin</artifactId> > > > > <version>2.2</version> > > > > <configuration> > > > > <archive> > > > > > > <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> > > > > </archive> > > > > <includes> > > > > > > <include>src/main/config/META-INF/**</include> > > > > </includes> > > > > </configuration> > > > > </plugin> > > > > Any help is appreciated, > > > > -Guillaume > > > > > > > > > > > > > ________________________________________________________________________ > ____________________________ > > This electronic mail (including any attachments) may contain > information that is privileged, confidential, and/or otherwise protected > from disclosure to anyone other than its intended recipient(s). Any > dissemination or use of this electronic email or its contents (including > any attachments) by persons other than the intended recipient(s) is > strictly prohibited. If you have received this message in error, please > notify us immediately by reply email so that we may correct our internal > records. Please then delete the original message (including any > attachments) in its entirety. Thank you. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > ____________________________________________________________________________________________________ > This electronic mail (including any attachments) may contain information that > is privileged, confidential, and/or otherwise protected from disclosure to > anyone other than its intended recipient(s). Any dissemination or use of this > electronic email or its contents (including any attachments) by persons other > than the intended recipient(s) is strictly prohibited. If you have received > this message in error, please notify us immediately by reply email so that we > may correct our internal records. Please then delete the original message > (including any attachments) in its entirety. Thank you. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
