Reputation: 433
I have a project which has multiple small utility classes which I want to package as separate jars, e.g. json-utils
, xml-utils
etc.
How can I manage this kind of build within a larger project?
Is the only way to do this by declaring each of these classes within a their own separate module? And does each one then need its own subfolder?
Upvotes: 1
Views: 54
Reputation: 14762
One of the basic concepts of Maven is one project (module), one artifact (jar
, war
, etc.):
So, "yes" to your last two questions.
Upvotes: 1