Remove unnecesary jars

Discussions

Performance and scalability: Remove unnecesary jars

  1. Remove unnecesary jars (3 messages)

    Hi, I have several apps which all contain a ridiculous ammount of libraries. I am convinced that most of them are unnecesary. Without taking into account the dependencies between libraries, is there any utility to determine which jars are unnecesary within a java project? considering i can resolve manually the dependencies between libraries. Thanx.

    Threaded Messages (3)

  2. Re: Remove unnecesary jars[ Go to top ]

    Use Maven to build the application. If you are currently is ANT switch to Maven . Maven takes care of transitive dependencies and will automatically include the jars you need.
  3. Re: Remove unnecesary jars[ Go to top ]

    Really? does maven also resolve the dependencies when reflection is involved? I always thought that maven was a steaming pile of ... I might have to reconsider
  4. Re: Remove unnecesary jars[ Go to top ]

    Use Maven to build the application. If you are currently is ANT switch to Maven . Maven takes care of transitive dependencies and will automatically include the jars you need.
    Will it be able to decide jars which are required only at runtime.