I'm using XmlBeans to generated some Java/XML binding classes that get used in 
my junit tests.  The way XmlBeans works, these classes end up in a jar named 
"xmltypes.jar".

I can list xmltypes.jar as a dependency because it doesn't exist at the time 
that I invoke "maven test".  So, how do I get it on the junit testing 
classpath?  I tried this:

    <unitTest>
        ....
        <resource> 
          <directory>${basedir}/target/work/lib</directory> 
          <includes>
            <include>xmltypes.jar</include>
          </includes>
        </resource> 
      </resources>
    </unitTest>

But it doesn't work.  Any ideas?  Is there a "standard" way to deal with this 
issue in Maven?

-- Mark

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

Reply via email to