We have a common code that is laid out in packages, as expected. Some of these packages
handler, processor, util, registration, etc.
Common here means that they will be reused in several Java / Java EE projects that are not related to each other.
The question is packaging for distribution.
Each package contains different function blocks, but together they represent an API.
Should we combine the individual functionality in a JAR and eventually add 8 to 10 cans. For example: a box for a handler, a registration banner, etc.
or
Should we use the least common denominator approach, which is a basic assembly of 5 mandatory packages in one bank. Anyone else needs a bank as a base and can choose additional banks.
Our build system is Ant + Ivy, and these dependencies will be resolved at compile time and build time.
source
share