diff options
Diffstat (limited to 'juick-xmpp')
-rw-r--r-- | juick-xmpp/build.gradle | 2 | ||||
-rw-r--r-- | juick-xmpp/src/main/java/com/juick/components/configuration/XmppInitializer.java | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/juick-xmpp/build.gradle b/juick-xmpp/build.gradle index 791db3f5..7a560ffa 100644 --- a/juick-xmpp/build.gradle +++ b/juick-xmpp/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'war' apply plugin: 'org.akhikhl.gretty' dependencies { - compile project(':juick-server-jdbc') + compile project(':juick-commands') compile project(':juick-server-web') compile ('com.github.juick:com.juick.xmpp:a3c8ef3bd1') { exclude group: 'xmlpull' diff --git a/juick-xmpp/src/main/java/com/juick/components/configuration/XmppInitializer.java b/juick-xmpp/src/main/java/com/juick/components/configuration/XmppInitializer.java index 38dc05d4..ba581e44 100644 --- a/juick-xmpp/src/main/java/com/juick/components/configuration/XmppInitializer.java +++ b/juick-xmpp/src/main/java/com/juick/components/configuration/XmppInitializer.java @@ -17,6 +17,7 @@ package com.juick.components.configuration; +import com.juick.command.CommandsConfiguration; import com.juick.configuration.DataConfiguration; import com.juick.server.configuration.StorageConfiguration; import org.apache.commons.codec.CharEncoding; @@ -32,7 +33,7 @@ public class XmppInitializer extends AbstractAnnotationConfigDispatcherServletIn @Override protected Class<?>[] getRootConfigClasses() { - return new Class<?>[]{ XmppAppConfiguration.class, DataConfiguration.class, StorageConfiguration.class}; + return new Class<?>[]{ XmppAppConfiguration.class, DataConfiguration.class, StorageConfiguration.class, CommandsConfiguration.class}; } @Override |