You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Eric Charles (JIRA)" <se...@james.apache.org> on 2010/10/22 20:12:05 UTC

[jira] Reopened: (JAMES-1074) Align packages hierarchy of the services

     [ https://issues.apache.org/jira/browse/JAMES-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Charles reopened JAMES-1074:
---------------------------------


Only core has not been repackaged, so it does not respect the hierarchy.
Looking at the content of core-*, it may be worth to see:

In api:
- lifecycle, and services have much to do with container: we could move them to container-api (to create)
- repository has much to do with mail (the 2.3), so move them to mail-api

In library:
- core: all about MailImpl, MailHeaders and MimeMessage. It has to do with some "model", but the model are everywhere in user, domain,... (no central place for it). So we could move it to util, as it's much about the mime handling of mails.
- filepair: to mail-library and mail-file
- services and Constants: to container-library (to create)

In function:
- JamesSpoolManager and JamesMailServer: to container-library

And we have no core anymore, after all...

WDYT?

> Align packages hierarchy of the services
> ----------------------------------------
>
>                 Key: JAMES-1074
>                 URL: https://issues.apache.org/jira/browse/JAMES-1074
>             Project: JAMES Server
>          Issue Type: Improvement
>    Affects Versions: 3.0-M1
>            Reporter: Eric Charles
>            Assignee: Eric Charles
>             Fix For: 3.0-M1
>
>
> We need to align package service hierarchy to have stable api, uniformity and osgi-deployable.
> For example, the proposed hierarchy for a "mail" service is:
> org.apache.james.mail.api (in the mail api project)
> org.apache.james.mail.lib (in the mail library project)
> org.apache.james.mail.jpa (in the mail jpa impl project)
> org.apache.james.mail.jcr (in the mail jcr impl project)
> ....
> The conf files and spring-beans.xml need to be updated according to the repackaging.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org