Did you try to use different profiles?

Andreas


-----Original Message-----
From: Jason Nerothin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 07, 2008 12:14 PM
To: users@maven.apache.org
Subject: classloader testing

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to