On Mon, Apr 4, 2011 at 2:10 PM, Jochen Wiedmann <jochen.wiedm...@gmail.com>wrote:
> If this goes into the apache-release profile (in other words, if the > test-jar is built for releases only), then I have no problems with > that. > There is a 'release' profile and a 'apache.release' profile. I imagine you mean the latter. What's the difference BTW? Gary > > > On Mon, Apr 4, 2011 at 7:44 PM, Gary Gregory <garydgreg...@gmail.com> > wrote: > > Hello All, > > > > I'd like to create a test jar for commons components automagically (see > > below for the why and how). > > > > Any thoughts against? > > > > Thank you, > > Gary > > > > ---------- Forwarded message ---------- > > From: David Karlsen <davidkarl...@gmail.com> > > Date: Mon, Apr 4, 2011 at 12:33 PM > > Subject: Re: [ALL] Maven magic: creating a test jar > > To: Commons Developers List <dev@commons.apache.org> > > > > > > Add this > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-jar-plugin</artifactId> > > <executions> > > <execution> > > <goals> > > <goal>test-jar</goal> > > </goals> > > </execution> > > </executions> > > </plugin> > > > > > > > > 2011/4/4 Gary Gregory <garydgreg...@gmail.com> > > > >> Hi All, > >> > >> For Codec 2 I want to generate a jar file that contains all the unit > tests > >> along with the product jar. > >> > >> My goal is be able to use this test jar in our product as a sanity > check. > >> In > >> my perfect world, I'd like to have one for each Commons component, but > > I'll > >> start at home, in [codec] first. > >> > >> Ant is easy but how do I do that in the inside-out world of Maven? > >> > >> -- > >> Thank you, > >> Gary > >> > >> http://garygregory.wordpress.com/ > >> http://garygregory.com/ > >> http://people.apache.org/~ggregory/ > >> http://twitter.com/GaryGregory > >> > > > > > > > > -- > > -- > > David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen > > > > > > > > -- > > Thank you, > > Gary > > > > http://garygregory.wordpress.com/ > > http://garygregory.com/ > > http://people.apache.org/~ggregory/ > > http://twitter.com/GaryGregory > > > > > > -- > I Am What I Am And That's All What I Yam (Popeye) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- Thank you, Gary http://garygregory.wordpress.com/ http://garygregory.com/ http://people.apache.org/~ggregory/ http://twitter.com/GaryGregory