Hi,

I thought that the following additions to the project's pom.xml (which should
use the jar) would cause the test files included in the jar to run.
You can reuse the classes within file (test-jar) but the tests inside this jar will NOT run, cause neither surefire-plugin nor failsafe-plugin are able to run tests from within a jar file.

The simplest solution is to create an abstract class which contains the tests and make a simple class in your project which derives from that abstract class which itself is located in src/test/java ...

Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to