Don't shade

This commit is contained in:
Mark Vainomaa 2016-08-31 14:58:31 +03:00
parent a5502a8106
commit fa29bb1970

View File

@ -8,69 +8,36 @@
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>etcdconnector</artifactId> <artifactId>etcdconnector</artifactId>
<version>1.1-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/maven/**</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>io.netty</pattern>
<shadedPattern>eu.mikroskeem.utils.etcdconnector.deps.io.netty</shadedPattern>
<excludes>
<exclude>io.netty.*</exclude>
</excludes>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.jetbrains</groupId> <groupId>org.jetbrains</groupId>
<artifactId>annotations-java5</artifactId> <artifactId>annotations-java5</artifactId>
<version>RELEASE</version> <version>RELEASE</version>
<scope>compile</scope>
</dependency> </dependency>
<!-- Logging --> <!-- Logging -->
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
<version>1.7.21</version> <version>1.7.21</version>
<scope>provided</scope>
</dependency> </dependency>
<!-- Etcd --> <!-- Etcd -->
<dependency> <dependency>
<groupId>org.mousio</groupId> <groupId>org.mousio</groupId>
<artifactId>etcd4j</artifactId> <artifactId>etcd4j</artifactId>
<version>2.12.0</version> <version>2.12.0</version>
<scope>provided</scope>
</dependency> </dependency>
<!-- Serialization --> <!-- Serialization -->
<dependency> <dependency>
<groupId>com.google.code.gson</groupId> <groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId> <artifactId>gson</artifactId>
<version>2.7</version> <version>2.7</version>
<scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>