Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2454

TestNG dependency update from 5.1 to 5.3 + update to coupled maven plugin

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.8
    • Component/s: Build Management
    • Labels:
      None
    • Flags:
      Patch

      Description

      This patch updates the dependency on TestNG from 5.1 to 5.7. This also includes an update to the surefire plugin for maven because versions prior to 2.4 call a method in TestNG which was removed somewhere between 5.1 and 5.7.

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Struts-JDK7-master #553 (See https://builds.apache.org/job/Struts-JDK7-master/553/)
        WW-2454 Upgrades TestNG to latest 5.x version (lukaszlenart: rev 8aba301da08ca056199fa313e419bd4828961c79)

        • (edit) core/pom.xml
        • (edit) pom.xml
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Struts-JDK7-master #553 (See https://builds.apache.org/job/Struts-JDK7-master/553/ ) WW-2454 Upgrades TestNG to latest 5.x version (lukaszlenart: rev 8aba301da08ca056199fa313e419bd4828961c79) (edit) core/pom.xml (edit) pom.xml
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 8aba301da08ca056199fa313e419bd4828961c79 in struts's branch refs/heads/master from Lukasz Lenart
        [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=8aba301 ]

        WW-2454 Upgrades TestNG to latest 5.x version

        Show
        jira-bot ASF subversion and git services added a comment - Commit 8aba301da08ca056199fa313e419bd4828961c79 in struts's branch refs/heads/master from Lukasz Lenart [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=8aba301 ] WW-2454 Upgrades TestNG to latest 5.x version
        Hide
        lukaszlenart Lukasz Lenart added a comment -

        This can be solved when new Portal example will be in place

        Show
        lukaszlenart Lukasz Lenart added a comment - This can be solved when new Portal example will be in place
        Hide
        lukaszlenart Lukasz Lenart added a comment -

        After upgrading to the latest TestNG version, Struts2PortletTest from Portlet app is failing and I have no clue how to solve that :\ Maybe a new Portlet example is needed, anyone?

        Show
        lukaszlenart Lukasz Lenart added a comment - After upgrading to the latest TestNG version, Struts2PortletTest from Portlet app is failing and I have no clue how to solve that :\ Maybe a new Portlet example is needed, anyone?
        Hide
        lukaszlenart Lukasz Lenart added a comment -

        Could someone explain to me how TestNG is launching JUnit tests ? Where is the configuration for that ? I've tried upgrade to 6.3.1 but got some problems with setting parallel option, but I cannot find testng.xml anywhere :/

        Show
        lukaszlenart Lukasz Lenart added a comment - Could someone explain to me how TestNG is launching JUnit tests ? Where is the configuration for that ? I've tried upgrade to 6.3.1 but got some problems with setting parallel option, but I cannot find testng.xml anywhere :/
        Hide
        lukaszlenart Lukasz Lenart added a comment -

        Any progress ? Should postpone ?

        Show
        lukaszlenart Lukasz Lenart added a comment - Any progress ? Should postpone ?
        Hide
        maurizio.cucchiara Maurizio Cucchiara added a comment -

        Today, surfire plugin is at 2.10 version and there is a 6.3.1 version of TestNG.
        I'm going to update these deps.

        Show
        maurizio.cucchiara Maurizio Cucchiara added a comment - Today, surfire plugin is at 2.10 version and there is a 6.3.1 version of TestNG. I'm going to update these deps.
        Hide
        lukaszlenart Lukasz Lenart added a comment -

        It isn't relevant anymore ....

        Show
        lukaszlenart Lukasz Lenart added a comment - It isn't relevant anymore ....
        Hide
        nilsga Nils-Helge Garli added a comment -

        I created an issue for this over at the surefire JIRA: http://jira.codehaus.org/browse/SUREFIRE-459

        Show
        nilsga Nils-Helge Garli added a comment - I created an issue for this over at the surefire JIRA: http://jira.codehaus.org/browse/SUREFIRE-459
        Hide
        mrdon Don Brown added a comment -

        Reopening, as the upgrade to Surefire 2.4 broke portlet tests See WW-2494

        Show
        mrdon Don Brown added a comment - Reopening, as the upgrade to Surefire 2.4 broke portlet tests See WW-2494
        Hide
        mrdon Don Brown added a comment -

        Fixed, thanks for the patch!

        Show
        mrdon Don Brown added a comment - Fixed, thanks for the patch!

          People

          • Assignee:
            lukaszlenart Lukasz Lenart
            Reporter:
            alsutton Al Sutton
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development