Removed netty dependency. Use shaded classes as imports

Original commit: elastic/x-pack-elasticsearch@46483aa44f
This commit is contained in:
Alexander Reelsen 2014-07-22 11:20:41 +02:00
parent 9b3160b7ac
commit bc0e233589
2 changed files with 4 additions and 12 deletions

10
pom.xml
View File

@ -32,7 +32,6 @@
<properties>
<lucene.version>4.9.0</lucene.version>
<elasticsearch.version>1.4.0-SNAPSHOT</elasticsearch.version>
<netty.version>3.9.1.Final</netty.version>
<tests.jvms>auto</tests.jvms>
<tests.shuffle>true</tests.shuffle>
@ -99,13 +98,6 @@
<version>1.2</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<version>${netty.version}</version>
</dependency>
<!-- needed for forbidden APIs, embarassing, need to fix -->
<dependency>
<groupId>com.google.guava</groupId>
@ -416,4 +408,4 @@
</profile>
</profiles>
</project>
</project>

View File

@ -11,14 +11,14 @@ import org.elasticsearch.common.Nullable;
import org.elasticsearch.common.component.AbstractComponent;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.logging.ESLogger;
import org.elasticsearch.common.netty.handler.ipfilter.IpFilterRule;
import org.elasticsearch.common.netty.handler.ipfilter.IpSubnetFilterRule;
import org.elasticsearch.common.netty.handler.ipfilter.PatternRule;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.watcher.FileChangesListener;
import org.elasticsearch.watcher.FileWatcher;
import org.elasticsearch.watcher.ResourceWatcherService;
import org.jboss.netty.handler.ipfilter.IpFilterRule;
import org.jboss.netty.handler.ipfilter.IpSubnetFilterRule;
import org.jboss.netty.handler.ipfilter.PatternRule;
import java.io.File;
import java.io.IOException;