Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 83098 invoked from network); 4 Apr 2011 16:33:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Apr 2011 16:33:39 -0000 Received: (qmail 65197 invoked by uid 500); 4 Apr 2011 16:33:39 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 65125 invoked by uid 500); 4 Apr 2011 16:33:39 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 65117 invoked by uid 99); 4 Apr 2011 16:33:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 16:33:39 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davidkarlsen@gmail.com designates 74.125.83.43 as permitted sender) Received: from [74.125.83.43] (HELO mail-gw0-f43.google.com) (74.125.83.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 16:33:31 +0000 Received: by gwj21 with SMTP id 21so2271885gwj.30 for ; Mon, 04 Apr 2011 09:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=9QFXb29gRj7XjVOJRWypCeBW4O67lf9kTSeKANJqWQI=; b=JbFINGSTw3PrqXzlawfBl1s1Gou5Q+6/vvl5ve215ZxVG4C5bN1dYT240aQ4PSVhfS gJq1ZrU02NstB+aIhXJxFCUUXvb/RGvciQsNlj08NmOm8J4Rwz5YNKq1Gc/h2JVG+/Ic xqMVU94ioX6fTCD5YThtMj8FS6MS6F+mhcqrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TCU0FDAm6BM6QlJlAq3JsIQOJGBaDuphiWRxIOvJ8McVJU1WrI5K0qMlu0AYRd4aUl TCC3u0EH+6G19cusf09AyVRhxrVl0AFgPukyI94qj9eKqCIE6byUYyJQosM/gjrQhDdP p/8zGw8h5HEjTQjomjCFhT5CSEbwZSu2UJ60A= MIME-Version: 1.0 Received: by 10.101.9.3 with SMTP id m3mr5493697ani.17.1301934790209; Mon, 04 Apr 2011 09:33:10 -0700 (PDT) Received: by 10.100.42.11 with HTTP; Mon, 4 Apr 2011 09:33:10 -0700 (PDT) In-Reply-To: References: Date: Mon, 4 Apr 2011 18:33:10 +0200 Message-ID: Subject: Re: [ALL] Maven magic: creating a test jar From: David Karlsen To: Commons Developers List Content-Type: multipart/alternative; boundary=0016e6d260d2b0f21404a01a5016 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d260d2b0f21404a01a5016 Content-Type: text/plain; charset=ISO-8859-1 Add this org.apache.maven.plugins maven-jar-plugin test-jar 2011/4/4 Gary Gregory > 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 --0016e6d260d2b0f21404a01a5016--