[ https://issues.apache.org/jira/browse/IGNITE-10682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721384#comment-16721384 ]
Andrew Mashenkov edited comment on IGNITE-10682 at 12/17/18 9:51 AM: --------------------------------------------------------------------- [~Mmuzaf], With your patch Inspections task fails with {noformat} [ 4416] ERROR - llij.ide.plugins.PluginManager - Problems found loading plugins:<p/>Plugin "Guice" was not loaded: required plugin "Properties Support" is disabled.<p/>Plugin "Java EE: Web Services (JAX-WS)" was not loaded: required plugin "Java EE: EJB, JPA, Servlets" is disabled.<p/>Plugin "Spring Batch" was not loaded: required plugin "Spring Support" is disabled.<p/><br><a href="disable">Disable not loaded plugins</a><p/><a href="enable">Enable all necessary plugins</a><p/><a href="edit">Open plugin manager</a> {noformat} I've found that : * Guice plugin should be disabled with "com.intellij.guice" * Seems, Jax-ws should be disable with it's full name "Java EE: Web Services (JAX-WS)" as there is no plugin id in it's config. * Inspection unable to start with disabled maven plugins as we use maven: "Unable to open project ....". * Maven plugin depends on Properties plugin. So, I was able to start inspection with next changes: +Java EE: Web Services (JAX-WS) +com.intellij.guice +com.intellij.spring.batch -org.jetbrains.idea.maven -com.intellij.properties +com.android.tools.idea.smali +org.jetbrains.kotlin was (Author: amashenkov): [~Mmuzaf], With your patch Inspections task fails with {noformat} [ 4416] ERROR - llij.ide.plugins.PluginManager - Problems found loading plugins:<p/>Plugin "Guice" was not loaded: required plugin "Properties Support" is disabled.<p/>Plugin "Java EE: Web Services (JAX-WS)" was not loaded: required plugin "Java EE: EJB, JPA, Servlets" is disabled.<p/>Plugin "Spring Batch" was not loaded: required plugin "Spring Support" is disabled.<p/><br><a href="disable">Disable not loaded plugins</a><p/><a href="enable">Enable all necessary plugins</a><p/><a href="edit">Open plugin manager</a> {noformat} I've found that : * Guice plugin should be disabled with "com.intellij.guice" * Seems, Jax-ws should be disable with it's full name "Java EE: Web Services (JAX-WS)" as there is no plugin id in it's config. * Inspection unable to start with disabled maven plugins as we use maven: "Unable to open project ....". * Maven plugin depends on Properties plugin. So, I was able to start inspection with next changes: +Java EE: Web Services (JAX-WS) +com.intellij.guice +com.intellij.spring.batch -org.jetbrains.idea.maven -com.intellij.properties > Disable unnecessary loaded plugins for the Inspection test suite > ---------------------------------------------------------------- > > Key: IGNITE-10682 > URL: https://issues.apache.org/jira/browse/IGNITE-10682 > Project: Ignite > Issue Type: Task > Reporter: Maxim Muzafarov > Assignee: Maxim Muzafarov > Priority: Major > Labels: inspections > Fix For: 2.8 > > > As part of discussion [1] we've faced with the problem: the set of > unnecessary plugins are loaded during the Inspection test suite run. This > leads to unnecessary checking inspection rules which are not used in the > Apache Ignite project and wasting agent CPU resources. > The log can be found at [2] execution suite results. > {code} > > 46 plugins initialized in 1031 ms > > 2018-12-13 10:55:24,875 [ 1342] INFO - llij.ide.plugins.PluginManager - > > Loaded bundled plugins: Android Support (10.2.3), Ant Support (1.0), CSS > > Support (172.4574.11), Database Tools and SQL (172.4574.11), Eclipse > > Integration (3.0), FreeMarker support (1.0), GWT Support (1.0), Gradle > > (172.4574.11), Groovy (9.0), Guice (8.0), HTML Tools (2.0), Hibernate > > Support (1.0), I18n for Java (172.4574.11), > > IntelliLang (8.0), JBoss Seam Support (1.0), JUnit (1.0), Java EE: Bean > > Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), > > Java EE: EJB, JPA, Servlets (1.0), Java EE: Java Server Faces (2.2.X.), > > Java EE: Web Services (JAX-WS) (1.9), Java Server Pages (JSP) Integration > > (1.0), JavaScript Support (1.0), Kotlin (1.1.4-release-IJ2017.2-3), Maven > > Integration (172.4574.11), Persistence Frameworks Support (1.0), Plugin > > DevKit (1.0), Properties Support (172.4574.11), QuirksMode (172.4574.11), > > Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Data (1.0), Spring > > Integration Patterns (1.0), Spring Security (1.0), Spring Support (1.0), > > Spring Web Flow (1.0), Spring Web Services (1.0), Struts 1.x (2.0), Struts > > 2 (1.0), TestNG-J (8.0), UI Designer (172.4574.11), Velocity support (1.0), > > W3C Validators (2.0), WebLogic Integration (1.0), XPathView + XSLT Support > > (4) > {code} > We need to disable these loaded plugins as they don't need for checking core > inspection rules. > [1] > http://apache-ignite-developers.2346864.n4.nabble.com/Code-inspection-tp27709p39471.html > [2] > https://ci.ignite.apache.org/viewLog.html?buildId=2538111&buildTypeId=IgniteTests24Java8_ExcludedInspections2&tab=artifacts -- This message was sent by Atlassian JIRA (v7.6.3#76005)