Re: Running tests using failsafe from a shaded jar?

2015-11-21 Thread Mirko Friedenhagen
Hello Stephen, I will share how to do this in general. As it it not as easy as I hoped I will firstly extract a POC project and share that on GitHub immediately with the risk of never succeeding :-) Regards Mirko -- Sent from my mobile Am 21.11.2015 23:34 schrieb "Stephen Connolly" <

Re: Running tests using failsafe from a shaded jar?

2015-11-21 Thread Mirko Friedenhagen
Hello Karl-Heinz, I found the class but in none of the components.xml files from plexus is a hint that DCRM is the default for CRM :-) Regards Mirko -- Sent from my mobile Am 21.11.2015 22:33 schrieb "Karl Heinz Marbaise" : > Hi Mirko, > > The class DefaultClassRealmManager

Re: Running tests using failsafe from a shaded jar?

2015-11-21 Thread Stephen Connolly
If you get this working, any chance you could share your work? On 21 November 2015 at 21:20, Mirko Friedenhagen wrote: > Hello, > > I want to use to run tests on machine, where Maven is not installed > and access to a repository is not allowed. > However I want to

Running tests using failsafe from a shaded jar?

2015-11-21 Thread Mirko Friedenhagen
Hello, I want to use to run tests on machine, where Maven is not installed and access to a repository is not allowed. However I want to (ab-)use the failsafe plugin so I may use the fine machinery which allows to specify tests and get XML reports. Using maven-embedded I created an App class

Re: Running tests using failsafe from a shaded jar?

2015-11-21 Thread Karl Heinz Marbaise
Hi Mirko, The class DefaultClassRealmManager is contained in maven-core module.. @Named @Singleton public class DefaultClassRealmManager implements ClassRealmManager { public static final String API_REALMID = "maven.api"; /** * During normal command line build, ClassWorld is