[certiorem] Need to refactor into a new multi-module maven project so client code only depends on what features it needs

Description

Need to have a multi-module maven project structure something like this:

  • rome-certiorem (pom) - top level module

    • rome-certiorem-core (jar) - core module with stuff needed by multiple modules

    • rome-certiorem-hub (jar) - module providing hub support

    • rome-certiorem-sub (jar) - module providing sub support

    • rome-certiorem-pub (jar) - module providing pub support

Environment

None

Activity

Show:
Robert Cooper
November 16, 2011, 7:38 PM

Hmm... So I am kind of thinking...

I am not opposed to this at all, but it seems like it would be a lot of jars, and I am not sure there is enough code right now where "core" would be more than a handful of classes. since hub and sub both, basically, have to exist inside a fully-loaded environment (with most of ROME and some kind of web container), it might make more sense to have a jar that contains pub and common (client), and one that contains hub and sub that depends on the client.

It might also make sense to keep everything in one jar with all the deps declared as optional, and just publish profile POMs that contain limited transitive dependencies.

Farrukh Najmi
November 16, 2011, 7:44 PM

@Robert: Very good points. I will hold off this issue and make it a low priority with no target release. We can revisit it later as we gain more deployment experience.

Assignee

Farrukh Najmi

Reporter

Farrukh Najmi

Labels

None

Participants

None

Fix versions

Affects versions

Priority

Minor
Configure