I've written a basic ClassLoader and can test it to my satisfaction by
flipping the attribute for <project>/src/main/java to "test source" (in my
IDE) so that the test-configured ClassLoader  can get to the classes I need
to test. Later on, I use my IDE to set it back to "plain old source" when
all of my <project>/src/test/java tests have been passed. When I want to run
the method than needs the ClassLoader, I fire up my class containing
main(...), and everything works appropriately.

The question is, how do I configure my pom to do a similar thing so that I'm
not dependent upon my IDE at package-time?

JPN

Reply via email to