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-exec.git


The following commit(s) were added to refs/heads/master by this push:
     new 8f3da5d  [EXEC-111 Update Java requirement from Java 7 to 8.
8f3da5d is described below

commit 8f3da5d54d7c23eea8406ae6ea0f92388c285f72
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Aug 8 18:25:07 2020 -0400

    [EXEC-111 Update Java requirement from Java 7 to 8.
    
    Also add and use defaultGoal in POM for CI builds.
---
 .github/workflows/maven.yml |  2 +-
 .travis.yml                 | 65 +++++++++++++++++++++------------------------
 pom.xml                     | 15 ++++++-----
 3 files changed, 41 insertions(+), 41 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index a69864a..858e73f 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -37,4 +37,4 @@ jobs:
       with:
         java-version: ${{ matrix.java }}
     - name: Build with Maven
-      run: mvn -V apache-rat:check spotbugs:check javadoc:javadoc 
-Ddoclint=all package --file pom.xml --no-transfer-progress
+      run: mvn -V -Ddoclint=all --file pom.xml --no-transfer-progress
diff --git a/.travis.yml b/.travis.yml
index 11d3f7d..746c618 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,34 +1,31 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-language: java
-sudo: true
-
-# Required to build with openjdk6 and 7
-dist: trusty
-
-addons:
-  apt:
-    packages:
-      - openjdk-6-jdk
-
-jdk:
-  - openjdk6
-  - openjdk7
-  - openjdk8
-  - openjdk11
-
-after_success:
-  - mvn -V clean cobertura:cobertura coveralls:report --no-transfer-progress
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+language: java
+sudo: true
+
+# Required to build with openjdk7
+dist: trusty
+
+jdk:
+  - openjdk7
+  - openjdk8
+  - openjdk11
+
+script:
+  - mvn -V --no-transfer-progress -Ddoclint=all
+
+after_success:
+  - mvn -V --no-transfer-progress clean cobertura:cobertura coveralls:report
diff --git a/pom.xml b/pom.xml
index 74bc715..c9e9142 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,6 @@
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <name>Apache Commons Exec</name>
-    <groupId>org.apache.commons</groupId>
     <artifactId>commons-exec</artifactId>
     <version>1.4.0-SNAPSHOT</version>
 
@@ -113,6 +112,8 @@
     </dependencies>
 
     <build>
+        <!-- TODO Add checkstyle:check -->
+        <defaultGoal>clean verify apache-rat:check japicmp:cmp 
javadoc:javadoc</defaultGoal>     
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
@@ -262,19 +263,21 @@
 
     <properties>
         <!-- Compiler source and target JVM (see parent pom). Must agree with 
versions in build.xml -->
-        <maven.compiler.source>1.6</maven.compiler.source>
-        <maven.compiler.target>1.6</maven.compiler.target>
-        <test>*Test</test>
+        <maven.compiler.source>1.7</maven.compiler.source>
+        <maven.compiler.target>1.7</maven.compiler.target>
+        <commons.rc.version>RC1</commons.rc.version>
+        <commons.bc.version>1.3</commons.bc.version>
+        <commons.release.version>1.4.0</commons.release.version>
+        <commons.release.isDistModule>true</commons.release.isDistModule>
         <commons.componentid>exec</commons.componentid>
         <commons.module.name>org.apache.commons.exec</commons.module.name>
         <commons.jira.id>EXEC</commons.jira.id>
         <commons.jira.pid>12310814</commons.jira.pid>
-        <commons.release.version>1.4</commons.release.version>
         <!-- The RC version used in the staging repository URL. -->
-        <commons.rc.version>RC1</commons.rc.version>
         <!-- Tell M2 not to use platform specific encodings for copying 
resources -->
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
         
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
+        <test>*Test</test>
     </properties>
 </project>

Reply via email to