I think if you just copy them in the build/classes before jar, they will be copied. Otherwise you can use the jar task properties for that. http://ant.apache.org/manual/Tasks/jar.html
Enis On Mon, Jan 24, 2011 at 11:48 AM, Mattmann, Chris A (388J) < [email protected]> wrote: > Hey Henry, > > I think adding it as a build resource in the pom.xml will make it so that > the license gets automatically gets copied in there. Have you tried it? > > I think that this will take care of it, but I may be wrong... :) > > Cheers, > Chris > > > On Jan 24, 2011, at 10:51 AM, Henry Saputra wrote: > > > Hi Guys, > > > > I am trying to prepare Gora for 0.1.0-incubating release (sorry for > > the delay, so much to learn) and looks like from > > > http://incubator.apache.org/guides/releasemanagement.html#best-practice-jars > > I need to make sure each jar contain both LICENSE and NOTICE files. > > > > I know I could use Maven external resource plugin to do this but any > > tips on how to do this with Ant Ivy? > > > > -- > > Thanks, > > Henry > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Chris Mattmann, Ph.D. > Senior Computer Scientist > NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA > Office: 171-266B, Mailstop: 171-246 > Email: [email protected] > WWW: http://sunset.usc.edu/~mattmann/<http://sunset.usc.edu/%7Emattmann/> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Adjunct Assistant Professor, Computer Science Department > University of Southern California, Los Angeles, CA 90089 USA > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > >
