0 Replies Latest reply on Mar 7, 2008 9:08 AM by Adrian Brock

    Maven dependencies - trimming

    Adrian Brock Master

      One thing I'm doing while doing the refactoring of the projects
      is to "trim" the dependencies.

      e.g. using optional and exclude such that consuming projects
      don't pick up unnecessary dependencies.

      javaassist is optional when using jboss-reflect

      <!-- HERE -->

      Don't let jboss-common-core add unnecessary dependencies
      (or choose an old logging-spi version ;-).

      This kind of thing needs doing throughout the MC.

      e.g. there is a JIRA task about making junit and jboss-test an optional
      dependency since not everybody will want to use the MicrocontainerTest.