Fixed scope for test-jar depedencies.

This commit is contained in:
Khalid Shakir 2014-02-15 16:46:44 +08:00
parent a567a4d42c
commit 70ecce2a0f
3 changed files with 14 additions and 0 deletions

View File

@ -57,6 +57,7 @@
<artifactId>gatk-framework</artifactId> <artifactId>gatk-framework</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<type>test-jar</type> <type>test-jar</type>
<scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -61,6 +61,14 @@
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<!--
NOTE: Because exec-maven-plugin is used, this aggregator dependency
will cause mvn compile to not work. Use mvn test-compile for now.
See:
http://stackoverflow.com/questions/4786881/why-is-test-jar-dependency-required-for-mvn-compile
http://jira.codehaus.org/browse/MEXEC-91
-->
<dependency> <dependency>
<groupId>${project.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>gatk-framework</artifactId> <artifactId>gatk-framework</artifactId>
@ -78,6 +86,9 @@
<build> <build>
<plugins> <plugins>
<!--
See note above about exec plugin breaking mvn compile
-->
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>

View File

@ -88,6 +88,7 @@
<artifactId>queue-framework</artifactId> <artifactId>queue-framework</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<type>test-jar</type> <type>test-jar</type>
<scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
@ -95,6 +96,7 @@
<artifactId>gatk-framework</artifactId> <artifactId>gatk-framework</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<type>test-jar</type> <type>test-jar</type>
<scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>