285 lines
11 KiB
XML
285 lines
11 KiB
XML
<?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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.broadinstitute.gatk</groupId>
|
|
<artifactId>gatk-aggregator</artifactId>
|
|
<version>3.8-SNAPSHOT</version>
|
|
<relativePath>../..</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>gatk-package-distribution</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>GATK Package Distribution</name>
|
|
|
|
<properties>
|
|
<gatk.basedir>${project.basedir}/../..</gatk.basedir>
|
|
<app.main.class>org.broadinstitute.gatk.engine.CommandLineGATK</app.main.class>
|
|
<gatk.binary-dist.name>GenomeAnalysisTK</gatk.binary-dist.name>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Package everything in org.broadinstitute.gatk -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-utils</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-engine</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-tools-public</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-tools-protected</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<!-- slf4j bindings must only be at the package level: http://www.slf4j.org/manual.html -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</dependency>
|
|
<!-- Tribble codecs & the variant package (VCF, BCF, and VariantContext) -->
|
|
<dependency>
|
|
<groupId>com.github.samtools</groupId>
|
|
<artifactId>htsjdk</artifactId>
|
|
</dependency>
|
|
<!-- Workaround - depend on the logger impl required by JEXL -->
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</dependency>
|
|
<!-- Workaround - depend on commons-httpclient to prevent shade from eliminating IgnoreCookiesSpec class -->
|
|
<dependency>
|
|
<groupId>commons-httpclient</groupId>
|
|
<artifactId>commons-httpclient</artifactId>
|
|
</dependency>
|
|
<!-- Used in ONE unit test (grr) -->
|
|
<dependency>
|
|
<groupId>colt</groupId>
|
|
<artifactId>colt</artifactId>
|
|
</dependency>
|
|
<!--
|
|
Some cofoja annotations (ex: PreconditionError) are ONLY in used tests.
|
|
They are not picked up by shade, not required during normal runs, but are important for tests to avoid
|
|
the cryptic ArrayStoreExceptions. See also: http://bugs.java.com/view_bug.do?bug_id=7183985
|
|
If added as scope test, they are not included during runtime compilation.
|
|
So, as a workaround, could configure shade to just include the classes, but our
|
|
standard operating procedure so far has been to include classes as full artifacts.
|
|
-->
|
|
<dependency>
|
|
<groupId>com.google.code.cofoja</groupId>
|
|
<artifactId>cofoja</artifactId>
|
|
</dependency>
|
|
<!-- Required for binary-dist assembly, excluded by shade -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-utils</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>example-resources</classifier>
|
|
<type>tar.bz2</type>
|
|
</dependency>
|
|
|
|
<!-- Test dependencies to run for for serial tests -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-tools-public</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-tools-protected</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Transitive dependencies for the serial test artifacts above -->
|
|
<dependency>
|
|
<groupId>com.google.caliper</groupId>
|
|
<artifactId>caliper</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>unit-tests</id>
|
|
<configuration>
|
|
<skip>${gatk.serialunittests.skipped}</skip>
|
|
<dependenciesToScan>
|
|
<scan>org.broadinstitute.gatk:.*</scan>
|
|
</dependenciesToScan>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>integration-tests</id>
|
|
<configuration>
|
|
<skip>${gatk.serialintegrationtests.skipped}</skip>
|
|
<dependenciesToScan>
|
|
<scan>org.broadinstitute.gatk:.*</scan>
|
|
</dependenciesToScan>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>queue-tests</id>
|
|
<configuration>
|
|
<skip>${gatk.serialqueuetests.skipped}</skip>
|
|
<dependenciesToScan>
|
|
<scan>org.broadinstitute.gatk:.*</scan>
|
|
</dependenciesToScan>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>large-scale-tests</id>
|
|
<configuration>
|
|
<skip>${gatk.seriallargescaletests.skipped}</skip>
|
|
<dependenciesToScan>
|
|
<scan>org.broadinstitute.gatk:.*</scan>
|
|
</dependenciesToScan>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>knowledge-base-tests</id>
|
|
<configuration>
|
|
<skip>${gatk.serialknowledgebasetests.skipped}</skip>
|
|
<dependenciesToScan>
|
|
<scan>org.broadinstitute.gatk:.*</scan>
|
|
</dependenciesToScan>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>executable-jar</id>
|
|
<phase>${gatk.jar.phase}</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>default-jar</id>
|
|
<phase>none</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>unshaded-default-jar</id>
|
|
<phase>${gatk.jar.phase}</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack-direct-dependencies</id>
|
|
<phase>${gatk.unpack.phase}</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>executable-jar-lib</id>
|
|
<phase>${gatk.jar.phase}</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>package-jar</id>
|
|
<phase>${gatk.shade.phase}</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>binary-dist</id>
|
|
<phase>${gatk.shade.phase}</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.pyx4j</groupId>
|
|
<artifactId>maven-junction-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>link-executable-jar</id>
|
|
<phase>${gatk.jar.phase}</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>link-package-jar</id>
|
|
<phase>${gatk.shade.phase}</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>link-git-release</id>
|
|
<phase>${gatk.shade.phase}</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>default-install</id>
|
|
<phase>none</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>install-package</id>
|
|
<phase>install</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>gsadev</id>
|
|
<activation>
|
|
<property>
|
|
<name>gsadev</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<gatk.jar.phase>none</gatk.jar.phase>
|
|
<gatk.unpack.phase>none</gatk.unpack.phase>
|
|
<gatk.shade.phase>none</gatk.shade.phase>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|