« Return to Thread: Setting classloader for extra dependencies

Setting classloader for extra dependencies

by Alexander Brill :: Rate this Message:

Reply to Author | View in Thread

Hi,

With the <dependencies> tag you can add extra dependencies to the container execution classpath. As I am running Tomcat I'd rather have these extra dependencies get copied into either my common/lib or server/lib directory.

I figured this isn't implemented yet, however I have a bit of time to look into it. But... What would be the best approach to get this as generic as possible from the configuration perspective? One possible solution that comes to mind is:

<dependencies>
  <dependency>
    <groupId>foo</groupId>
    <artifactId>bar</artifactId>
    <output>jvm | common | server</output>
  </dependency>
</dependencies>

Comments?

--
Alexander Brill
http://brill.no

 « Return to Thread: Setting classloader for extra dependencies