Idea 2019.3.2 confused by Jenkins main jar
已回答
All,
I'm using Idea 2019.3.2 on Windows 10. I'm doing some Jenkins plugin development for the first time. The main Jenkins jar file has these Maven coordinates:
<dependency>
<groupId>org.jenkins-ci.main</groupId>
<artifactId>jenkins-core</artifactId>
<version>2.164.1</version>
</dependency>
Idea seems to be confused about the contents of the jar. Specifically, it doesn't see the class hudson.model.queue.Tasks (or any other classes in that package.) In the project browser, it shows a package called hudson.model.Queue (capital Q) with several non-class files. There is no such package, though there is a class called hudson.model.Queue. The real jar contains quite a few class files in the queue package, some properties files, and a sub-package.
Both Maven and 7zip have no problem with the jar.
thanks
请先登录再写评论。
Please try version from https://www.jetbrains.com/idea/download/ - there were related improvements. If problem remains, please provide a sample isolated project to reproduce. Thank you.