5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-08 07:29:09 +08:00

SQOOP-2426: Sqoop2: Precommit: Provide maven profile that will run all tests for precomit hook at once

(Jarek Jarcec Cecho via Abraham Elmahrek)
This commit is contained in:
Abraham Elmahrek 2015-07-23 14:02:40 -07:00
parent ec2d2619ee
commit cb40f5c679

26
pom.xml
View File

@ -138,8 +138,8 @@ limitations under the License.
</dependencies>
<!-- Profiles for various supported Hadoop distributions -->
<profiles>
<!-- Integration tests related profiles -->
<profile>
<id>fast</id>
@ -202,6 +202,30 @@ limitations under the License.
</build>
</profile>
<!-- Run all groups that should run as part of precommit hook. That currently means ALL tests -->
<profile>
<id>precommit</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- Sign profile for releasing artifacts to Nexus repository -->
<profile>
<id>sign</id>