Perfect that will work just fine. Thanks!

Sent from my iPhone

On Aug 11, 2012, at 5:49 AM, Stephen Connolly <[email protected]> 
wrote:

> Surefire does not currently run tests in test-jar dependencies. The best
> option for now is to use dependency:unpack-dependencies and
> build-helper:attach-test-classes
> 
> On Friday, 10 August 2012, Ansgar Konermann wrote:
> 
>> You could try this: configure m-surefire-p and replace the default,
>> ant-style include with a regex include (regex matching is done over classes
>> instead of java files).
>> Am 10.08.2012 19:55 schrieb "Billy Newman" <[email protected]<javascript:;>
>>> :
>> 
>>> Agreed that is exactly what i am doing , but that will not actually run
>>> that suite of unit tests against my code. It just pulls it in as a
>>> dependency.
>>> 
>>> Again is the link I provided the best way to pull in a test-jar and
>>> actually run its tests against another artifact?
>>> 
>>> Thanks again!
>>> 
>>> Sent from my iPhone
>>> 
>>> On Aug 10, 2012, at 10:57 AM, Ansgar Konermann <
>>> [email protected] <javascript:;>> wrote:
>>> 
>>>> Found this in the docs:
>>>> 
>>>> http://maven.apache.org/guides/mini/guide-attached-tests.html
>>>> 
>>>> HTH
>>>> 
>>>> Ansgar
>>>> Am 10.08.2012 18:36 schrieb "Billy Newman" 
>>>> <[email protected]<javascript:;>
>>> :
>>>> 
>>>>> I have a test jar out there that test some main functionality of an
>>> api.  I
>>>>> would like to run that suite of tests for all my impl artifacts.
>>>>> 
>>>>> I have deployed it as a test-jar and I have the dependency setup for
>> my
>>>>> impl project to depend on that test-jar.  However this just pull the
>>> jar in
>>>>> at 'test' time it does not execute the tests.
>>>>> 
>>>>> I found this post from a while back:
>>>>> 
>>>>> 
>>> 
>> http://softwaremavens.blogspot.com/2009/09/running-tests-from-maven-test-jar-in.html
>>>>> 
>>>>> Wondering if this is still the accepted/right way to do what I want.
>>>>> 
>>>>> Thanks
>>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]<javascript:;>
>>> For additional commands, e-mail: [email protected]<javascript:;>
>>> 
>>> 
>> 

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

Reply via email to