aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/catalyst/pom.xml28
-rw-r--r--streaming/pom.xml8
2 files changed, 18 insertions, 18 deletions
diff --git a/sql/catalyst/pom.xml b/sql/catalyst/pom.xml
index 58d44e7923..830711a46a 100644
--- a/sql/catalyst/pom.xml
+++ b/sql/catalyst/pom.xml
@@ -77,28 +77,28 @@
<!--
This plugin forces the generation of jar containing catalyst test classes,
so that the tests classes of external modules can use them. The two execution profiles
- are necessary - first one for 'mvn package', second one for 'mvn compile'. Ideally,
+ are necessary - first one for 'mvn package', second one for 'mvn test-compile'. Ideally,
'mvn compile' should not compile test classes and therefore should not need this.
However, an open Maven bug (http://jira.codehaus.org/browse/MNG-3559)
causes the compilation to fail if catalyst test-jar is not generated. Hence, the
- second execution profile for 'mvn compile'.
+ second execution profile for 'mvn test-compile'.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- <execution>
- <id>test-jar-on-compile</id>
- <phase>compile</phase>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>test-jar-on-test-compile</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
</executions>
</plugin>
</plugins>
diff --git a/streaming/pom.xml b/streaming/pom.xml
index 1072f74aea..ce35520a28 100644
--- a/streaming/pom.xml
+++ b/streaming/pom.xml
@@ -81,11 +81,11 @@
<!--
This plugin forces the generation of jar containing streaming test classes,
so that the tests classes of external modules can use them. The two execution profiles
- are necessary - first one for 'mvn package', second one for 'mvn compile'. Ideally,
+ are necessary - first one for 'mvn package', second one for 'mvn test-compile'. Ideally,
'mvn compile' should not compile test classes and therefore should not need this.
However, an open Maven bug (http://jira.codehaus.org/browse/MNG-3559)
causes the compilation to fail if streaming test-jar is not generated. Hence, the
- second execution profile for 'mvn compile'.
+ second execution profile for 'mvn test-compile'.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -97,8 +97,8 @@
</goals>
</execution>
<execution>
- <id>test-jar-on-compile</id>
- <phase>compile</phase>
+ <id>test-jar-on-test-compile</id>
+ <phase>test-compile</phase>
<goals>
<goal>test-jar</goal>
</goals>