Repository: sqoop Updated Branches: refs/heads/sqoop2 ec2d2619e -> cb40f5c67
SQOOP-2426: Sqoop2: Precommit: Provide maven profile that will run all tests for precomit hook at once (Jarek Jarcec Cecho via Abraham Elmahrek) Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/cb40f5c6 Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/cb40f5c6 Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/cb40f5c6 Branch: refs/heads/sqoop2 Commit: cb40f5c6797890f542ff610bd83ee1817f49d8a9 Parents: ec2d261 Author: Abraham Elmahrek <[email protected]> Authored: Thu Jul 23 14:02:40 2015 -0700 Committer: Abraham Elmahrek <[email protected]> Committed: Thu Jul 23 14:02:40 2015 -0700 ---------------------------------------------------------------------- pom.xml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sqoop/blob/cb40f5c6/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 387ee19..73a7cb8 100644 --- a/pom.xml +++ b/pom.xml @@ -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>
