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

Maven phase 'process-test-classes' is not invoked in m2 job

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      A new lifecycle phase 'process-test-classes' was introduced in maven-2.0.5, but hudson doesn't trigger
      the plugin goals associated with the phase, even when it is running on newer version of maven.
      I attached the test-harness pom.xml and it outputs 'process-test-classes phase was invoked.' on stand-
      alone maven, while it doesn't show up in hudson log.
      I believe it is caused by the fact that Hudson embeds maven-2.0.4, and components.xml used to inject
      interceptors remained old and doesn't contain the newly added phase.
      What is the strategy when Hudson needs to handle different version of maven with different
      components.xml definitions?
      Confirmed with build 1.218.

        Attachments

          Issue Links

            Activity

            k2nakamura k2nakamura created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-2226 [ JENKINS-2226 ]
            abayer Andrew Bayer made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            abayer Andrew Bayer made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            ircbot Jenkins IRC Bot made changes -
            Component/s maven-plugin [ 16033 ]
            Component/s maven2 [ 15487 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 131895 ] JNJira + In-Review [ 201013 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              k2nakamura k2nakamura
              Votes:
              3 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: