Details

      Description

      Currently plugin sorts artifacts on its own (alphabetic order???) because the order of dependencies that comes from maven is not reliable (random?). This breaks tests that use JBoss Embedded which works under maven surefire plugin because it still puts dependencies that came first at the beginning of the classpath). Apparently not all classpath elements are put in random order. At least I get the first ones listed in dependencies also first in the classpath (can be seen as $

      {surefire.test.class.path}

      and in target/surefire-reports/TEST-TestSuite.xml).

      While there is not much we can do for maven eclipse plugin a solution is on the way: MNG-1412. When maven 2.0.9 is released maven eclipse plugin can revert back to the default classpath order.

      Can we somehow schedule this?

      Another question: is there anyway to put certain dependencies in the first place except for renaming them so that alphabetic order does the job?

      1. ideal.classpath
        1 kB
        Jean-Noel Rouvignac
      2. MECLIPSE-388.patch
        2 kB
        David J. M. Karlsen
      3. MECLIPSE-388.patch
        2 kB
        David J. M. Karlsen
      4. MECLIPSE-388-it-test.patch
        8 kB
        David J. M. Karlsen
      5. Test.zip
        2 kB
        Jean-Noel Rouvignac

        Issue Links

          Activity

          Siarhei Dudzin created issue -
          David J. M. Karlsen made changes -
          Field Original Value New Value
          Attachment MECLIPSE-388.patch [ 36654 ]
          David J. M. Karlsen made changes -
          Attachment MECLIPSE-388.patch [ 36665 ]
          David J. M. Karlsen made changes -
          Attachment MECLIPSE-388-it-test.patch [ 36667 ]
          Benjamin Bentmann made changes -
          Link This issue relates to MECLIPSE-318 [ MECLIPSE-318 ]
          Benjamin Bentmann made changes -
          Link This issue is related to MNG-1412 [ MNG-1412 ]
          Benjamin Bentmann made changes -
          Link This issue is related to MNG-3118 [ MNG-3118 ]
          Barrie Treloar made changes -
          Assignee Barrie Treloar [ baerrach ]
          Barrie Treloar made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Barrie Treloar made changes -
          Fix Version/s 2.9 [ 16240 ]
          Barrie Treloar made changes -
          Link This issue is duplicated by MECLIPSE-665 [ MECLIPSE-665 ]
          Jean-Noel Rouvignac made changes -
          Attachment Test.zip [ 57078 ]
          Jean-Noel Rouvignac made changes -
          Attachment ideal.classpath [ 57130 ]
          Barrie Treloar made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Barrie Treloar made changes -
          Link This issue is related to MECLIPSE-705 [ MECLIPSE-705 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 10:00:37 UTC 2015 [ 1428228037919 ]
          Mark Thomas made changes -
          Workflow jira [ 12720790 ] Default workflow, editable Closed status [ 12750703 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 23:47:18 UTC 2015 [ 1428277638729 ]
          Mark Thomas made changes -
          Workflow jira [ 12958190 ] Default workflow, editable Closed status [ 12995094 ]

            People

            • Assignee:
              Barrie Treloar
              Reporter:
              Siarhei Dudzin
            • Votes:
              11 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development