Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-9691

Boldify names of executed mojos for Freestyle and Maven2/3 jobs using Maven3 in console output

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      With Maven2 the name and goal of an executed mojo will be printed in bold letters to the console. However Maven 3 changed the console output during start of executed mojos, so the old regex does not work anymore for freestyle jobs. Moreover Maven2/3 jobs use the ExecutionEventLogger to print names to the console.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          changelog.html
          core/src/main/java/hudson/tasks/_maven/Maven3MojoNote.java
          core/src/main/java/hudson/tasks/_maven/MavenConsoleAnnotator.java
          core/src/test/java/hudson/tasks/_maven/Maven3MojoNoteTest.java
          maven-plugin/src/main/java/hudson/maven/util/ExecutionEventLogger.java
          http://jenkins-ci.org/commit/jenkins/1fbf02aed964328f3e9243bfbffcd4687e2683d1
          Log:
          Merge pull request #125 from mfriedenhagen/master

          [FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and Maven2/3 jobs using Maven3 in console output.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: changelog.html core/src/main/java/hudson/tasks/_maven/Maven3MojoNote.java core/src/main/java/hudson/tasks/_maven/MavenConsoleAnnotator.java core/src/test/java/hudson/tasks/_maven/Maven3MojoNoteTest.java maven-plugin/src/main/java/hudson/maven/util/ExecutionEventLogger.java http://jenkins-ci.org/commit/jenkins/1fbf02aed964328f3e9243bfbffcd4687e2683d1 Log: Merge pull request #125 from mfriedenhagen/master [FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and Maven2/3 jobs using Maven3 in console output.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Mirko Friedenhagen
          Path:
          changelog.html
          core/src/main/java/hudson/tasks/_maven/Maven3MojoNote.java
          core/src/main/java/hudson/tasks/_maven/MavenConsoleAnnotator.java
          core/src/test/java/hudson/tasks/_maven/Maven3MojoNoteTest.java
          maven-plugin/src/main/java/hudson/maven/util/ExecutionEventLogger.java
          http://jenkins-ci.org/commit/jenkins/6ae77ed34a29fb9200371a57603dc95d8df1ffb9
          Log:
          [FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and
          Maven2/3 jobs using Maven3 in console output.
          With Maven3 the output format for mojos has changed:

          • Add a new Maven3MojoNote and use it in MavenConsoleAnnotator.
          • This is sufficient for Freestyle jobs running Maven2 or 3 and Maven2/3
            jobs running Maven 2.
          • Maven2/3 jobs running Maven 3 are using ExecutionEventLogger for
            printing start of mojo execution to console.
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mirko Friedenhagen Path: changelog.html core/src/main/java/hudson/tasks/_maven/Maven3MojoNote.java core/src/main/java/hudson/tasks/_maven/MavenConsoleAnnotator.java core/src/test/java/hudson/tasks/_maven/Maven3MojoNoteTest.java maven-plugin/src/main/java/hudson/maven/util/ExecutionEventLogger.java http://jenkins-ci.org/commit/jenkins/6ae77ed34a29fb9200371a57603dc95d8df1ffb9 Log: [FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and Maven2/3 jobs using Maven3 in console output. With Maven3 the output format for mojos has changed: Add a new Maven3MojoNote and use it in MavenConsoleAnnotator. This is sufficient for Freestyle jobs running Maven2 or 3 and Maven2/3 jobs running Maven 2. Maven2/3 jobs running Maven 3 are using ExecutionEventLogger for printing start of mojo execution to console.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          changelog.html
          core/src/main/java/hudson/tasks/_maven/Maven3MojoNote.java
          core/src/main/java/hudson/tasks/_maven/MavenConsoleAnnotator.java
          core/src/test/java/hudson/tasks/_maven/Maven3MojoNoteTest.java
          maven-plugin/src/main/java/hudson/maven/util/ExecutionEventLogger.java
          http://jenkins-ci.org/commit/jenkins/1fbf02aed964328f3e9243bfbffcd4687e2683d1
          Log:
          Merge pull request #125 from mfriedenhagen/master

          [FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and Maven2/3 jobs using Maven3 in console output.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: changelog.html core/src/main/java/hudson/tasks/_maven/Maven3MojoNote.java core/src/main/java/hudson/tasks/_maven/MavenConsoleAnnotator.java core/src/test/java/hudson/tasks/_maven/Maven3MojoNoteTest.java maven-plugin/src/main/java/hudson/maven/util/ExecutionEventLogger.java http://jenkins-ci.org/commit/jenkins/1fbf02aed964328f3e9243bfbffcd4687e2683d1 Log: Merge pull request #125 from mfriedenhagen/master [FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and Maven2/3 jobs using Maven3 in console output.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Mirko Friedenhagen
          Path:
          src/main/java/hudson/maven/util/ExecutionEventLogger.java
          http://jenkins-ci.org/commit/maven-plugin/88d0df2f04f6d3a79cc9acd8d5d1cb6d9f19e6ff
          Log:
          [FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and
          Maven2/3 jobs using Maven3 in console output.
          With Maven3 the output format for mojos has changed:

          • Add a new Maven3MojoNote and use it in MavenConsoleAnnotator.
          • This is sufficient for Freestyle jobs running Maven2 or 3 and Maven2/3
            jobs running Maven 2.
          • Maven2/3 jobs running Maven 3 are using ExecutionEventLogger for
            printing start of mojo execution to console.

          Originally-Committed-As: 6ae77ed34a29fb9200371a57603dc95d8df1ffb9

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mirko Friedenhagen Path: src/main/java/hudson/maven/util/ExecutionEventLogger.java http://jenkins-ci.org/commit/maven-plugin/88d0df2f04f6d3a79cc9acd8d5d1cb6d9f19e6ff Log: [FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and Maven2/3 jobs using Maven3 in console output. With Maven3 the output format for mojos has changed: Add a new Maven3MojoNote and use it in MavenConsoleAnnotator. This is sufficient for Freestyle jobs running Maven2 or 3 and Maven2/3 jobs running Maven 2. Maven2/3 jobs running Maven 3 are using ExecutionEventLogger for printing start of mojo execution to console. Originally-Committed-As: 6ae77ed34a29fb9200371a57603dc95d8df1ffb9
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          src/main/java/hudson/maven/util/ExecutionEventLogger.java
          http://jenkins-ci.org/commit/maven-plugin/7c5590b64b51f779f8d57e48d4daf44ed2307918
          Log:
          Merge pull request #125 from mfriedenhagen/master

          [FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and Maven2/3 jobs using Maven3 in console output.
          Originally-Committed-As: 1fbf02aed964328f3e9243bfbffcd4687e2683d1

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/hudson/maven/util/ExecutionEventLogger.java http://jenkins-ci.org/commit/maven-plugin/7c5590b64b51f779f8d57e48d4daf44ed2307918 Log: Merge pull request #125 from mfriedenhagen/master [FIXED JENKINS-9691] Boldify names of executed mojos for Freestyle and Maven2/3 jobs using Maven3 in console output. Originally-Committed-As: 1fbf02aed964328f3e9243bfbffcd4687e2683d1

            People

            Assignee:
            mfriedenhagen Mirko Friedenhagen
            Reporter:
            mfriedenhagen Mirko Friedenhagen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: