New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trim smtp #711
Trim smtp #711
Conversation
I do always really like your PRs ^^ If interesting, we can always create ticket while merging don't worry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultQuotaModule.java:[25,44] package org.apache.james.mailbox.store.quota does not exist
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultQuotaModule.java:[26,44] package org.apache.james.mailbox.store.quota does not exist
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultQuotaModule.java:[27,44] package org.apache.james.mailbox.store.quota does not exist
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultEventModule.java:[22,44] package org.apache.james.mailbox.store.event does not exist
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultEventModule.java:[23,44] package org.apache.james.mailbox.store.event does not exist
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultEventModule.java:[24,44] package org.apache.james.mailbox.store.event does not exist
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultEventModule.java:[25,44] package org.apache.james.mailbox.store.event does not exist
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultQuotaModule.java:[36,14] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class NoQuotaManager
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultQuotaModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultQuotaModule.java:[37,14] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class DefaultQuotaRootResolver
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultQuotaModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultQuotaModule.java:[38,14] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class NoMaxQuotaManager
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultQuotaModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultQuotaModule.java:[40,40] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class NoMaxQuotaManager
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultQuotaModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultQuotaModule.java:[41,37] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class NoQuotaManager
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultQuotaModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultQuotaModule.java:[42,42] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class DefaultQuotaRootResolver
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultQuotaModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultEventModule.java:[34,14] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class DefaultDelegatingMailboxListener
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultEventModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultEventModule.java:[35,50] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class DefaultDelegatingMailboxListener
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultEventModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultEventModule.java:[35,14] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class DelegatingMailboxListener
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultEventModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultEventModule.java:[37,14] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class SynchronousEventDelivery
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultEventModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultEventModule.java:[38,38] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class SynchronousEventDelivery
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultEventModule
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] [ERROR] /james-project/server/container/guice/guice-common/src/main/java/org/apache/james/modules/mailbox/DefaultEventModule.java:[38,14] cannot find symbol
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] symbol: class EventDelivery
[Building Java 8 trim-smtp-22f80e98-9e22-45ec-bcab-81aed73ffe08] location: class org.apache.james.modules.mailbox.DefaultEventModule
This do means that mailbox-store is kind of required for event module and quota module.
I would propose you to create a guice-mailbox-default dependancy where you can put these two modules. Cheers!
@@ -0,0 +1,9 @@ | |||
package org.apache.james.modules; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
License
@@ -0,0 +1,212 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Licence
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still no license
Btw why trim SMTP ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's refactor a lot 👍
Because it's one of the 3 use cases we decided to have in james 3 : full server with distributed backend (C* + ES), full server in single node (JPA + lucene) and smtp only for mailet pipeline. And I don't like pulling tons of useless projects for that use case. More generally, we need to clean up our dependencies and starting with smtp is a good test case. |
There's already a guice-mailbox. I think that default impl could be put there for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just clean your history and add the missing licence, and that's a 👍
Merged with added licenses and created Apache ticket |
you can review if you want, but I know that there's ticket number missing.