Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28985

Wrong packaging when converting to a maven project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 4.30.x
    • 4.27.0.Final
    • maven
    • None
    • ---

      Description of problem:

      When running Configurator tests in https://github.com/lgrossma/jbosstools-integration-tests/blob/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java via maven, converting created web project to a maven project results in wrong packaging which makes tests fail

      Workaround: Go through each test method 1 by 1 (Comment all methods except 1, run via mvn -> do the same for each method)

      Steps to Reproduce

      1. If you don't want to start all tests, comment out everything except Configurator tests from https://github.com/lgrossma/jbosstools-integration-tests/blob/maven/tests/org.jboss.tools.maven.ui.bot.test/src/org/jboss/tools/maven/ui/bot/test/MavenAllBotTests.java

      2. Get to the

      jbosstools-integration-tests/tests/org.jboss.tools.maven.ui.bot.test
      

      3. run

      mvn clean verify -U -PITests -Pdownload-jbt -DskipTests=false
      

       
      4. Test fails because packaging is wrong

            stephane.bouchet Stephane Bouchet
            rhn-support-lgrossma Lukáš Grossmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: