helios-tools
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.spotify</groupId> <artifactId>helios-tools</artifactId> <version>0.9.283</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.spotify</groupId> <artifactId>helios-parent</artifactId> <version>0.9.283</version> </parent> <name>Helios Tools</name> <artifactId>helios-tools</artifactId> <packaging>jar</packaging> <dependencies> <!--compile deps--> <dependency> <groupId>com.spotify</groupId> <artifactId>helios-client</artifactId> <version>${project.version}</version> </dependency> <!-- normally would get com.spotify:dns as dependency from helios-client, but it is now shaded/relocated into it's final jar --> <dependency> <groupId>dnsjava</groupId> <artifactId>dnsjava</artifactId> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>net.sourceforge.argparse4j</groupId> <artifactId>argparse4j</artifactId> </dependency> <dependency> <groupId>com.typesafe</groupId> <artifactId>config</artifactId> </dependency> <!--test deps--> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <configuration> <createDependencyReducedPom>false</createDependencyReducedPom> <minimizeJar>false</minimizeJar> <shadedArtifactAttached>true</shadedArtifactAttached> <shadedClassifierName>shaded</shadedClassifierName> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> <filter> <artifact>net.java.dev.jna</artifact> <includes> <include>com/sun/jna/**</include> </includes> </filter> <!-- Explicitly include commons-logging since minimizeJar=true will exclude required classes from the shaded jar. --> <filter> <artifact>commons-logging</artifact> <includes> <include>org/apache/commons/logging/**</include> </includes> </filter> </filters> <transformers> <!--The ServicesResourceTransformer is needed to make jersey happy--> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> </transformers> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>com.spotify.helios.cli.CliMain</mainClass> </transformer> </transformers> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>jdeb</artifactId> <groupId>org.vafer</groupId> <executions> <!--helios--> <execution> <id>helios</id> <phase>package</phase> <goals> <goal>jdeb</goal> </goals> <configuration> <deb>${project.build.directory}/helios_${project.version}_all.deb</deb> <controlDir>${project.parent.basedir}/src/deb/helios</controlDir> <dataSet> <data> <src> ${project.build.directory}/${project.build.finalName}-shaded.jar </src> <type>file</type> <mapper> <type>perm</type> <prefix>/usr/share/helios/lib/tools</prefix> </mapper> </data> <data> <src>${basedir}/../bin/helios</src> <type>file</type> <mapper> <type>perm</type> <prefix>/usr/bin/</prefix> <filemode>755</filemode> </mapper> </data> </dataSet> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>