Return-Path: Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: (qmail 83676 invoked from network); 18 Jan 2011 13:04:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jan 2011 13:04:12 -0000 Received: (qmail 88700 invoked by uid 500); 18 Jan 2011 13:04:12 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 88343 invoked by uid 500); 18 Jan 2011 13:04:08 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 88330 invoked by uid 99); 18 Jan 2011 13:04:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 13:04:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.82.53] (HELO mail-ww0-f53.google.com) (74.125.82.53) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 13:03:59 +0000 Received: by wwi18 with SMTP id 18so5995480wwi.10 for ; Tue, 18 Jan 2011 05:03:37 -0800 (PST) Received: by 10.216.18.194 with SMTP id l44mr1196292wel.87.1295355603377; Tue, 18 Jan 2011 05:00:03 -0800 (PST) Received: from [192.168.0.4] (AMontpellier-158-1-143-55.w90-42.abo.wanadoo.fr [90.42.206.55]) by mx.google.com with ESMTPS id t5sm2967231wes.9.2011.01.18.05.00.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 Jan 2011 05:00:02 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Maven Bundle Plugin and tests From: Peter Kriens In-Reply-To: Date: Tue, 18 Jan 2011 14:00:00 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <7CA1B44A-2859-44CB-B773-81E62DE39405@aQute.biz> References: To: users@felix.apache.org X-Mailer: Apple Mail (2.1082) The maven plugin is just used for packaging so I do not think there is = much support for testing a la bnd. In ant it is quite easy though. I guess someone needs to write a maven plugin for this ... Kind regards, Peter Kriens On 14 jan 2011, at 17:51, Simon wrote: > Hello, >=20 > I'm recently switched to maven-bundle-plugin to build a project, and I > started porting my integration tests (multi-bundles) to use BND = Testing > Harness (I like its simplicity and it's integrated into Eclipse with > BNDTools). >=20 > Now, I'm trying to get my tests running using Maven (which we're using = for > the "production" build), ideally using mvn integration-test or mvn = test. >=20 > Bnd already finds the bundles using its MavenRepository plugin, so I = believe > I could have all the Bnd instructions to launch the test in the POM... = But > how should I execute the tests? The doc doesn't say much about that. = As far > as I can see, that's only missing step, since the POM can pass to Bnd = the > list of runbundles (that can be retrieved from the local Maven = repository), > the testsuites, etc. >=20 > Is there a test target in the Maven Bundle Plugin allowing me to just = run > them (and ideally as a Surefire provider)? If there isn't, does anyone = else > believe it would make sense? >=20 > Cheers, >=20 > Simon Chemouil --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org