From 7aadceb924c1b22351df5e0535a03edceb5047cf Mon Sep 17 00:00:00 2001 From: Anatoliy Sablin Date: Mon, 6 Nov 2017 17:18:37 +0300 Subject: Fixed configurations. --- juick-xmpp/build.gradle | 2 +- .../main/java/com/juick/components/configuration/XmppInitializer.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'juick-xmpp') 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 -- cgit v1.2.3