Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5400

Custom Platform Integration test fail if non converging maven artefacts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.2
    • None
    • platform - Other
    • None

    Description

      Hi, I found an issue on the /harness/nbjunit/src/org/netbeans/junit/NbModuleSuite.java.

      I don't know if this is a common use case but if you have two module with Maven-Class-Path entry in their manifest you will have an issue during the test preparation.

      I have created the following showcase: https://github.com/ebarboni/nbappmaventest

      wrapper 2 incorporate lucene 3.6.2 and wrapper 1 lucene 5.5.5.

      It build and run but cannot be tested.

      java.io.IOException: no match for org.apache.lucene:lucene-core:3.6.2 found
      
      at org.netbeans.junit.NbModuleSuite$S.rewrite(NbModuleSuite.java:1129)
       at org.netbeans.junit.NbModuleSuite$S.turnClassPathModules(NbModuleSuite.java:1094)
      

       

      I have no PR yet because I don't know to handle that.

      If possible may I have feedback from jtulach or sdedic.

      Attachments

        Activity

          People

            Unassigned Unassigned
            skygo Eric Barboni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: