Hello. Very nice ! I've just added includes to limit the files that must be added to the jar, and it works as expected !
Merci beaucoup ! -- Ephemeris Lappis > -----Message d'origine----- > De : franz see [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 12 avril 2007 18:53 > À : [EMAIL PROTECTED] > Objet : Re: [MAVEN][2.0.6] Add files to META-INF with JAR Plugin > > > Good day, > > Try > > <project> > ... > <build> > <resources> > <resource> > <directory>src/main/resources/archive-files</directory> > <targetPath>META-INF</targetPath> > </resource> > </resources> > </build> > </project> > > Wherein src/main/resources/archive-files contains the additional files you > want to store in the META-INF directory. > > You won't have a META-INF directory under your src. but you will be able > to > copy your resources to target/classes/META-INF > > Cheers, > Franz > > > Ephemeris Lappis wrote: > > > > Hello. > > > > How can I add files to the META-INF directory of the archive ? I've seen > > example using META-INF directories in the project, and setting them as > > resources in the POM. I'd prefer not to use META-INF names in my project > > directories. > > > > Thanks. > > > > -- > > > > Ephemeris Lappis > > > > > > > > > > > > -- > View this message in context: http://www.nabble.com/-MAVEN--2.0.6--Add- > files-to-META-INF-with-JAR-Plugin-tf3564034s177.html#a9963608 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]
