I use the jar override feature for libraries that aren't on ibiblio.org. I check these jars into our SCM system so that the other developers can easily get them.

This works great when building individual projects, but when attempting to run multiproject:site the jars aren't found due to a ${basedir} issue. The subproject looks for the jars in ../lib/ejb.jar, but when running from the parent directory that path doesn't exist.

I've tried putting ${basedir}/../lib/ejb.jar into the project.properties, but that doesn't work either. I've tried putting a project.properties in the "trunk" directory with maven.jar.ejb=lib/ejb.jar -- but that also doesn't work.


Here's a sketch of my layout:


trunk/

  lib/
    ejb.jar

  server/
    project.xml

    project.properties {
      maven.jar.override=on
      maven.jar.ejb=../lib/ejb.jar
    }


Does anyone have any ideas how I can make jar overrides work with multiproject?


Thanks for any help!


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



Reply via email to