On 5/24/10 5:54 PM, Ernst de Haan wrote:
>> better off using maven-failsafe-plugin for that
> 
> 
> How do I know for sure "verify" is using my JAR?
You could inspect the classloader. Something like:
       URLClassLoader ucl = (URLClassLoader) getClass().getClassLoader();
       System.out.println(Arrays.asList(ucl.getURLs()));




> 
> I tried the failsafe plugin, but it still /appears/ to be using the classes, 
> not the JAR, even from my new LibraryIT.java integration test. It does 
> execute, but the test fails.
> 
> Here's my POM for the "base" module:
> http://github.com/znerd/logdoc/blob/master/base/pom.xml
> 
> And here's the one for the "base-test" module:
> http://github.com/znerd/logdoc/blob/master/base-test/pom.xml
> 
> Can I debug the "failsafe" plugin?
Do you want to debug the plugin or the test? If the former, use
mvnDebug. If the latter, invoke Maven with -Dmaven.failsafe.debug=true

HTH,
Justin

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


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

Reply via email to