You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/05/21 10:47:53 UTC

[maven] branch MNG-6364 updated (90415fd -> 4312052)

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

hboutemy pushed a change to branch MNG-6364
in repository https://gitbox.apache.org/repos/asf/maven.git.


 discard 90415fd  [MNG-6364] - Enhanced Jenkinsfile to Build Core with JDK 9
     add fef1462  [MNG-6362] - Adding CONTRIBUTING, README.md pull_request_template for GitHub.
     add 0dbdda8  Add .factorypath from m2e to .gitignore
     add ef41c0e  updated model version to latest 1.1.0
     add 9c118d3  [MNG-6363] - Remove secret thread configuration property from code
     add 97e8a2b  because it is so more convenient to have this quick guide here when you are using a console to build maven and do not want to open some web link
     add 5beb347  Fix missing/improper use of @link
     add 8e0efaa  [MNG-6386] ${project.baseUri} is not a valid URI (according to RFC 3986)
     add 9abfc88  [MNG-5756] Java home output in mvn -v is misleading
     add 14365ba  [MNG-6403] Artifact#VERSION_FILE_PATTERN does not escape period between date and time
     add 9021d66  Move ArtifactUtilsTest and friends from maven-compat to maven-artifact
     add 3c3a590  [MNG-6382][MNG-6372] upgraded Jansi to 1.17.1
     add 454a4e7  [MNG-6411] Improve readability of project list returned when --resume-from option value is invalid
     add 39fdaad  added "Run ITs" prefix to IT stage names
     add 864d180  [MNG-6410] Add groupId to --resume-from suggestion if artifactId is not unique in reactor
     add 03b3c11  build with Java 8 to avoid TLS 1.2 failure on license download
     new 4312052  [MNG-6364] Enhanced Jenkinsfile to test Core with JDK 9

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (90415fd)
            \
             N -- N -- N   refs/heads/MNG-6364 (4312052)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/pull_request_template.md                   | 30 +++++++
 CONTRIBUTING.md                                    | 92 +++++++++++++++++++++
 Jenkinsfile                                        | 10 +--
 README.md                                          | 93 +++++++++++++++++++---
 .../java/org/apache/maven/artifact/Artifact.java   |  2 +-
 .../apache/maven/artifact/ArtifactUtilsTest.java   |  2 +
 .../apache/maven/artifact/DefaultArtifactTest.java |  0
 .../artifact/handler/ArtifactHandlerMock.java      |  0
 .../AbstractStringBasedModelInterpolator.java      |  2 +-
 .../apache/maven/graph/DefaultGraphBuilder.java    | 19 ++++-
 .../org/apache/maven/project/MavenProject.java     |  6 +-
 .../apache/maven/project/PomConstructionTest.java  | 81 +++++++++++--------
 .../pom.xml                                        |  0
 .../org/apache/maven/cli/CLIReportingUtils.java    |  7 +-
 .../main/java/org/apache/maven/cli/MavenCli.java   | 38 +++++++--
 .../AbstractStringBasedModelInterpolator.java      |  4 +-
 maven-settings/src/main/mdo/settings.mdo           |  4 -
 maven-settings/src/site/apt/index.apt              |  2 +-
 pom.xml                                            |  2 +-
 19 files changed, 318 insertions(+), 76 deletions(-)
 create mode 100644 .github/pull_request_template.md
 create mode 100644 CONTRIBUTING.md
 rename {maven-compat => maven-artifact}/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java (93%)
 rename {maven-compat => maven-artifact}/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java (100%)
 rename {maven-compat => maven-artifact}/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerMock.java (100%)
 rename maven-core/src/test/resources-project-builder/{baseurl-interpolation => baseuri-interpolation}/pom.xml (100%)

-- 
To stop receiving notification emails like this one, please contact
hboutemy@apache.org.

[maven] 01/01: [MNG-6364] Enhanced Jenkinsfile to test Core with JDK 9

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch MNG-6364
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 4312052974cf4f28864ffbc6a56db86e181b610f
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sun Feb 18 15:15:47 2018 +0100

    [MNG-6364] Enhanced Jenkinsfile to test Core with JDK 9
---
 Jenkinsfile | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 2564cc8..6e99928 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -98,6 +98,25 @@ parallel linuxJava7:{
                 }
             }
         }
+    },linuxJava9: {
+        node(jenkinsEnv.labelForOS('linux')) {
+            stage ('Linux Java 9') {
+                String jdkName = jenkinsEnv.jdkFromVersion('linux', '9')
+                String mvnName = jenkinsEnv.mvnFromVersion('linux', buildMvn)
+                dir('test') {
+                    def WORK_DIR=pwd()
+                    checkout tests
+                    sh "rm -rvf $WORK_DIR/apache-maven-dist.zip $WORK_DIR/it-local-repo"
+                    unstash 'dist'
+                    withMaven(jdk: jdkName, maven: mvnName, mavenLocalRepo:"${WORK_DIR}/it-local-repo", options:[
+                        junitPublisher(ignoreAttachments: false)
+                    ]) {
+                        sh "mvn clean install -P$CORE_IT_PROFILES -B -U -V -Dmaven.test.failure.ignore=true -DmavenDistro=$WORK_DIR/apache-maven-dist.zip"
+                    }
+                    deleteDir() // clean up after ourselves to reduce disk space
+                }
+            }
+        }
     }, winJava7: {
         node(jenkinsEnv.labelForOS('windows')) {
             stage ('Run ITs Windows Java 7') {
@@ -146,6 +165,30 @@ parallel linuxJava7:{
                 }
             }
         }
+    }, winJava9: {
+        node(jenkinsEnv.labelForOS('windows')) {
+            stage ('Windows Java 9') {
+                String jdkName = jenkinsEnv.jdkFromVersion('windows', '9')
+                String mvnName = jenkinsEnv.mvnFromVersion('windows', buildMvn)
+
+                // need a short path or we hit 256 character limit for paths
+                // using EXECUTOR_NUMBER guarantees that concurrent builds on same agent
+                // will not trample each other
+                dir("/mvn-it-${EXECUTOR_NUMBER}.tmp") {
+                    def WORK_DIR=pwd()
+                    checkout tests
+                    bat "if exist it-local-repo rmdir /s /q it-local-repo"
+                    bat "if exist apache-maven-dist.zip del /q apache-maven-dist.zip"
+                    unstash 'dist'
+                    withMaven(jdk: jdkName, maven: mvnName, mavenLocalRepo:"${WORK_DIR}/it-local-repo", options:[
+                        junitPublisher(ignoreAttachments: false)
+                    ]) {
+                        bat "mvn clean install -P$CORE_IT_PROFILES -B -U -V -Dmaven.test.failure.ignore=true -DmavenDistro=$WORK_DIR/apache-maven-dist.zip"
+                    }
+                    deleteDir() // clean up after ourselves to reduce disk space
+                }
+            }
+        }
     }
 
 // JENKINS-34376 seems to make it hard to detect the aborted builds

-- 
To stop receiving notification emails like this one, please contact
hboutemy@apache.org.