From eb0272414b923feeaeacc5f1262be3b439acdf28 Mon Sep 17 00:00:00 2001 From: Hiranya Jayathilaka Date: Thu, 20 Apr 2017 16:56:16 -0700 Subject: [PATCH] Removing redundant lines from POM; Implemented a mechanism to skip integration tests during release:perform (they are executed once in release:prepare) --- .github/CONTRIBUTING.md | 2 +- pom.xml | 24 +++++++++--------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 314bd3b79..eff8d8690 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -128,7 +128,7 @@ The above command invokes both unit and integration test suites. To execute only tests, run the command as follows: ``` -mvn verify -Dfirebase.it.certificate=path/to/your/serviceAccount.json -Dskip.surefire.tests=true +mvn verify -Dfirebase.it.certificate=path/to/your/serviceAccount.json -DskipUTs ``` ### Generating API Docs diff --git a/pom.xml b/pom.xml index 98ccccde4..158e937bc 100644 --- a/pom.xml +++ b/pom.xml @@ -42,14 +42,15 @@ UTF-8 UTF-8 + ${skipTests} scm:git:https://github.com/firebase/firebase-admin-java.git scm:git:ssh://git@github.com/firebase/firebase-admin-java.git http://github.com/firebase/firebase-admin-java - HEAD - + HEAD + @@ -80,7 +81,6 @@ - org.apache.maven.plugins maven-javadoc-plugin @@ -137,11 +137,13 @@ release + + + true + - - org.apache.maven.plugins maven-javadoc-plugin @@ -167,11 +169,11 @@ - org.apache.maven.plugins maven-source-plugin 2.2.1 + com/** @@ -185,7 +187,6 @@ - org.apache.maven.plugins maven-gpg-plugin 1.5 @@ -243,17 +244,12 @@ maven-surefire-plugin 2.19.1 - ${skip.surefire.tests} + ${skipUTs} maven-failsafe-plugin 2.19.1 - - - **/*IT.java - - @@ -264,12 +260,10 @@ - org.apache.maven.plugins maven-javadoc-plugin 2.10.4 - org.apache.maven.plugins maven-release-plugin 2.5.3