258 lines
9.9 KiB
XML
258 lines
9.9 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.sting</groupId>
|
|
<artifactId>sting-aggregator</artifactId>
|
|
<version>2.6-SNAPSHOT</version>
|
|
<relativePath>../..</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>queue-framework</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Queue Framework</name>
|
|
|
|
<properties>
|
|
<sting.basedir>${project.basedir}/../..</sting.basedir>
|
|
<gatk.extensions.sources>${project.build.directory}/generated-sources/gatk-extensions</gatk.extensions.sources>
|
|
<sting.generate-gatk-extensions.skipped>false</sting.generate-gatk-extensions.skipped>
|
|
<sting.packagetests.artifactId>queue-package</sting.packagetests.artifactId>
|
|
<sting.test-utils-jar.phase>${sting.jar.phase}</sting.test-utils-jar.phase>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-framework</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.scala-lang</groupId>
|
|
<artifactId>scala-compiler</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sf.jgrapht</groupId>
|
|
<artifactId>jgrapht</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-email</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.mail</groupId>
|
|
<artifactId>mail</artifactId>
|
|
</dependency>
|
|
<!--
|
|
extgen dependency only applies to the exec:exec,
|
|
not the artifact, but don't know another way to include
|
|
the artifact *only* in the <classpath/> of exec.
|
|
See https://jira.codehaus.org/browse/MEXEC-111
|
|
|
|
Perhaps extgen should be wrapped in a maven plugin?
|
|
-->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-queue-extgen</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-framework</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>test-utils</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-gatk-extensions</id>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<skip>${sting.generate-gatk-extensions.skipped}</skip>
|
|
<executable>java</executable>
|
|
<arguments>
|
|
<argument>-classpath</argument>
|
|
<classpath />
|
|
<argument>org.broadinstitute.sting.queue.extensions.gatk.GATKExtensionsGenerator</argument>
|
|
<argument>-l</argument>
|
|
<argument>WARN</argument>
|
|
<argument>-outDir</argument>
|
|
<argument>${gatk.extensions.sources}</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>add-gatk-extensions</id>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<sources>
|
|
<source>${gatk.extensions.sources}</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>example-resources</id>
|
|
<phase>generate-resources</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.scala-tools</groupId>
|
|
<artifactId>maven-scala-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.pyx4j</groupId>
|
|
<artifactId>maven-junction-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>link-public-qscript</id>
|
|
<phase>process-test-resources</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>unlink-public-qscript</id>
|
|
<phase>clean</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-resource-bundle-log4j</id>
|
|
<phase>prepare-package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>extract-resource-bundle</id>
|
|
<phase>prepare-package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-invoker-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>package-unittests</id>
|
|
</execution>
|
|
<execution>
|
|
<id>package-integrationtests</id>
|
|
</execution>
|
|
<execution>
|
|
<id>package-largescaletests</id>
|
|
</execution>
|
|
<execution>
|
|
<id>package-pipelinetests</id>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>protected</id>
|
|
<activation>
|
|
<file>
|
|
<exists>${basedir}/../../protected/gatk-protected/pom.xml</exists>
|
|
</file>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-protected</artifactId>
|
|
<version>${project.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>private</id>
|
|
<activation>
|
|
<file>
|
|
<exists>${basedir}/../../private/gatk-private/pom.xml</exists>
|
|
</file>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>gatk-private</artifactId>
|
|
<version>${project.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<!-- TODO: All tests require access to private. For now. -->
|
|
<plugin>
|
|
<groupId>com.pyx4j</groupId>
|
|
<artifactId>maven-junction-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>link-private-testdata</id>
|
|
<phase>process-test-resources</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>unlink-private-testdata</id>
|
|
<phase>clean</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>link-private-qscript</id>
|
|
<phase>process-test-resources</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>unlink-private-qscript</id>
|
|
<phase>clean</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|