This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ed0f2b  Define and use a default goal for Maven builds.
2ed0f2b is described below

commit 2ed0f2bdc537fafba18f27e26422f3d24aae7716
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Dec 26 12:11:38 2020 -0500

    Define and use a default goal for Maven builds.
---
 .travis.yml | 10 +++++-----
 pom.xml     |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 4cd5727..f83e2c4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,8 +36,8 @@ matrix:
       install: |
         sudo ln -s /usr/include/x86_64-linux-gnu /usr/include/i386-linux-gnu
         mvn -version
-        mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
-        mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Plinux32
+        mvn -DskipTests=true -Dmaven.javadoc.skip=true -B -V
+        mvn -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Plinux32
 
     # Job tests win32,win64 builds. But cannot test execution.
     - name: "win32,win64 / Ubuntu 14.04 / Java 8 / OpenSSL 1.0.x"
@@ -56,8 +56,8 @@ matrix:
       install: |
         sudo ln -s /usr/include/x86_64-linux-gnu/openssl/opensslconf.h 
/usr/include/openssl/opensslconf.h
         mvn -version
-        mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pwin64
-        mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pwin32
+        mvn -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pwin64
+        mvn -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pwin32
       script: echo DONE
       after_success: echo DONE
 
@@ -132,7 +132,7 @@ before_install:
     sudo unzip -j -o /tmp/policy.zip *.jar -d $JAVA_HOME/jre/lib/security
     rm /tmp/policy.zip
   - openssl version -a
-install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true 
-Denforcer.skip=true -B -V
+install: mvn -DskipTests=true -Dmaven.javadoc.skip=true -Denforcer.skip=true 
-B -V
 script: mvn test jacoco:report coveralls:report -Denforcer.skip=true -B -V
 after_success: mvn site -Denforcer.skip=true -B -V
 
diff --git a/pom.xml b/pom.xml
index 13b38da..68407c0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -434,6 +434,7 @@ The following provides more details on the included 
cryptographic software:
   </profiles>
 
   <build>
+    <defaultGoal>clean apache-rat:check install japicmp:cmp spotbugs:check 
javadoc:javadoc</defaultGoal>
     <resources>
       <resource>
         <directory>src/main/resources/</directory>

Reply via email to