1 2 Previous Next 16 Replies Latest reply on Apr 25, 2007 5:15 PM by pgier Go to original post
      • 15. Re: aop-mc-int tests with maven
        pgier

        I tried using the option

        <useSystemClassLoader>true</useSystemClassLoader>
        

        With this option turned on (and the -Djava.system.class.loader), the surefire booter is able to find the aop classloader.
        This allows some of the tests to succeed that were failing before. The problem is that this breaks some other tests. Maybe we can further divide the groups into tests that need the aop class loader and tests that don't.

        • 16. Re: aop-mc-int tests with maven
          pgier

          I added some profiles to allow each of the four groups of tests to be called from the command line.

          The groups can be called like this:

          mvn -Dtests-weave test
          

          or
          mvn -Dtests-no-weave-secure
          


          1 2 Previous Next