Cannot run tests in IntelliJ IDEA with plugin parent POM 2.30

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Specifically seems to be maven-hpi-plugin 2.0 that's causing this, with the JENKINS-24064 fix. Now we get an error like

      java.lang.AssertionError: jenkins.war is not in the classpath. If you are running this from the core workspace, run 'mvn install' to create the war image in war/target/jenkins
      

      whenever trying to run tests. jglick says this is due to Intellij not honoring https://github.com/jenkinsci/maven-hpi-plugin/blob/137e435d0770f78edbbd2ed54d91809b7e7be5aa/src/main/resources/META-INF/plexus/components.xml#L134, so we need to figure out how to, like, get it to honor that.

        1. sad panda2.png
          71 kB
          Stephen Connolly
        2. Screen Shot 2017-09-15 at 17.41.01.png
          346 kB
          Stephen Connolly

            Assignee:
            Jesse Glick
            Reporter:
            Andrew Bayer
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: