Files
openide/java/plugin/resources/META-INF/plugin.xml
Nikolay Chashnikov c037841853 [spellchecker] convert intellij.spellchecker to a content module (IJPL-189900)
This is needed to have an explicit dependency on the backend in it (IJPL-188916), and also to convert XML modules it depend on in content modules as well.

The new module is registered in common-ide-modules.xml to include it in all IntelliJ-based IDEs as before.

A plugin alias 'com.intellij.modules.spellchecker' is introduced to allow adding dependency on the new module without using a v2 'dependencies' tag. Existing plugins which depend on intellij.spellchecker are updated to have an explicit dependency. The change shouldn't affect external plugins which use classes from 'intellij.spellchecker' because the new module will be automatically added to their dependencies.

'lucene' and 'ai.grazie.spell.gec.engine.local' libraries which were included in the main classloader of the core plugin before due to this module are temporary included in distribution of intellij.ml.llm, intellij.grazie and intellij.searchEverywhereMl plugins. This will be fixed by converting these libraries to content module in next commits.

GitOrigin-RevId: aa746fea2f6fd044cf0eaabd6589fce89133eee9
2025-06-04 14:41:40 +00:00

71 lines
3.2 KiB
XML

<idea-plugin xmlns:xi="http://www.w3.org/2001/XInclude" allow-bundled-update="true">
<id>com.intellij.java</id>
<name>Java</name>
<description><![CDATA[
Adds support for the Java language, including Java projects, language syntax highlighting, inspections, and all other coding assistance features.
]]></description>
<vendor>JetBrains</vendor>
<category>Languages</category>
<resource-bundle>messages.ActionsBundle</resource-bundle>
<dependencies>
<plugin id="com.intellij.modules.lang"/>
<plugin id="com.intellij.modules.vcs"/>
<plugin id="com.intellij.modules.xdebugger"/>
<plugin id="com.intellij.modules.xml"/>
<plugin id="com.intellij.modules.java-capable"/>
<module name="intellij.platform.vcs.impl.lang"/>
<module name="intellij.spellchecker"/>
<module name="intellij.xml.dom.impl"/>
</dependencies>
<depends optional="true" config-file="java-copyright.xml">com.intellij.copyright</depends>
<xi:include href="/META-INF/JavaPlugin.xml"/>
<!-- todo: these files are present in Java plugin for IDEA Ultimate only, they should be converted to content modules -->
<xi:include href="intellij.java.duplicates.analysis.xml">
<xi:fallback/>
</xi:include>
<xi:include href="intellij.java.duplicatesDetection.xml">
<xi:fallback/>
</xi:include>
<xi:include href="intellij.java.jam.impl.xml">
<xi:fallback/>
</xi:include>
<content>
<module name="intellij.java.structuralSearch"/>
<module name="intellij.java.featuresTrainer"/>
<module name="intellij.java.performancePlugin"/>
<module name="intellij.java.unscramble"/>
<module name="intellij.java.vcs"/>
<module name="intellij.java.terminal"/>
<module name="intellij.jvm.analysis.impl"/>
<module name="intellij.java.debugger.impl.frontend"/>
<module name="intellij.java.debugger.impl.backend"/>
<module name="intellij.java.execution.impl.frontend"/>
<module name="intellij.java.execution.impl.backend"/>
<module name="intellij.java.frontback.psi" loading="embedded"/>
<module name="intellij.java.frontback.psi.impl" loading="embedded"/>
<module name="intellij.java.frontback.impl" loading="embedded"/>
<module name="intellij.java.debugger.impl.shared" loading="embedded"/>
<module name="intellij.java.execution.impl.shared" loading="embedded"/>
<module name="intellij.java.syntax" loading="embedded"/>
<module name="intellij.java.psi.impl" loading="embedded"/>
<module name="intellij.java.psi" loading="embedded"/>
<module name="intellij.debugger.collections.visualizer.jvm"/>
<module name="intellij.profiler.ultimate"/>
<module name="intellij.jvm.dfa.analysis.ui"/>
</content>
<depends optional="true" config-file="intellij.java.remoteServers.impl.xml">com.intellij.modules.remoteServers</depends>
<extensions defaultExtensionNs="com.intellij">
<moduleType id="JAVA_MODULE" classpathProvider="true" implementationClass="com.intellij.openapi.module.JavaModuleType"/>
<moduleType id="GENERAL_MODULE" implementationClass="com.intellij.ide.projectWizard.GeneralModuleTypeForIdea"/>
<newProjectWizard.generator implementation="com.intellij.ide.wizard.language.EmptyProjectGeneratorNewProjectWizard"/>
</extensions>
</idea-plugin>