From 667fa3e4b3e58d6a4678e0eb37e174f7f171c8d8 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Fri, 28 May 2021 09:10:54 +0200 Subject: [PATCH] fix test data - `package` attribute is not needed anymore GitOrigin-RevId: 6a84f369831022fa5bac0bc9ba2b8e2ae240e38b --- docs/out/plugin-model.svg | 35 ++++++++++--------- docs/plugin-model.puml | 2 +- .../mainModule/META-INF/plugin.xml | 4 +-- .../mainModule/META-INF/plugin.xml | 4 +-- .../mainModule/META-INF/plugin.xml | 2 +- .../mainModule/META-INF/plugin.xml | 2 +- .../mainModule/META-INF/plugin.xml | 2 +- .../mainModule/META-INF/plugin.xml | 4 +-- 8 files changed, 28 insertions(+), 27 deletions(-) diff --git a/docs/out/plugin-model.svg b/docs/out/plugin-model.svg index cadcc55160ad..091fb7828a9c 100644 --- a/docs/out/plugin-model.svg +++ b/docs/out/plugin-model.svg @@ -1,3 +1,4 @@ + - + @@ -26,59 +27,59 @@ - + content - + dependencies - + dependencies - + module name="…" 0…N - + module name="…" N - + content is not allowed and is not supported for module. - + Module dependency is always optional. If the module depends on an unavailable plugin, it will not be loaded. - + module name="…" 0…N - + plugin id="…" 0…N - + The dependency is specified in a module descriptor itself in a new model, not where the module is referenced. - + module name="…" 0…N - + plugin id="…" 0…N - - + + plugin - + Every plugin is a module, but not every module is a plugin. A plugin is a group of related modules and for now, it is the only way to distribute modules. - + Same as for module diff --git a/docs/plugin-model.puml b/docs/plugin-model.puml index af1ac8f5887a..28b76fdafe15 100644 --- a/docs/plugin-model.puml +++ b/docs/plugin-model.puml @@ -3,7 +3,7 @@ ' https://www.augmentedmind.de/2021/01/17/plantuml-layout-tutorial-styles/ -component "[[https://github.com/JetBrains/intellij-community/blob/master/platform/core-impl/src/com/intellij/ide/plugins/readme.md plugin]]" as P +component "[[https://github.com/JetBrains/intellij-community/blob/master/docs/plugin.md plugin]]" as P folder content as PluginContent { [module name="…" 0…N] as M diff --git a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorDuplicatedHighlighting/mainModule/META-INF/plugin.xml b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorDuplicatedHighlighting/mainModule/META-INF/plugin.xml index 94984ac8948d..b7ba4649e5a4 100644 --- a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorDuplicatedHighlighting/mainModule/META-INF/plugin.xml +++ b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorDuplicatedHighlighting/mainModule/META-INF/plugin.xml @@ -4,8 +4,8 @@ 1.0 - anotherModule" package="mypackage.subpackage"/> - anotherModule" package="mypackage.subpackage"/> + anotherModule"/> + anotherModule"/> \ No newline at end of file diff --git a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorHighlighting/mainModule/META-INF/plugin.xml b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorHighlighting/mainModule/META-INF/plugin.xml index 4fad7e3ee3fd..cb7cf9b7bdef 100644 --- a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorHighlighting/mainModule/META-INF/plugin.xml +++ b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorHighlighting/mainModule/META-INF/plugin.xml @@ -4,9 +4,9 @@ 1.0 - + - invalidModuleName" package="mypackage"/> + invalidModuleName"/> \ No newline at end of file diff --git a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorNoModuleDescriptorFileHighlighting/mainModule/META-INF/plugin.xml b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorNoModuleDescriptorFileHighlighting/mainModule/META-INF/plugin.xml index 35aa83a1d654..fedb68b8096e 100644 --- a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorNoModuleDescriptorFileHighlighting/mainModule/META-INF/plugin.xml +++ b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorNoModuleDescriptorFileHighlighting/mainModule/META-INF/plugin.xml @@ -4,7 +4,7 @@ 1.0 - anotherModule" package="mypackage.subpackage"/> + anotherModule"/> \ No newline at end of file diff --git a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorNoPackageInMainHighlighting/mainModule/META-INF/plugin.xml b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorNoPackageInMainHighlighting/mainModule/META-INF/plugin.xml index 87b5f0070532..79e007a0f88c 100644 --- a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorNoPackageInMainHighlighting/mainModule/META-INF/plugin.xml +++ b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorNoPackageInMainHighlighting/mainModule/META-INF/plugin.xml @@ -4,7 +4,7 @@ 1.0 - + diff --git a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorPackageMismatchHighlighting/mainModule/META-INF/plugin.xml b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorPackageMismatchHighlighting/mainModule/META-INF/plugin.xml index 13d1bc37ea61..23e292a64329 100644 --- a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorPackageMismatchHighlighting/mainModule/META-INF/plugin.xml +++ b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/contentDescriptorPackageMismatchHighlighting/mainModule/META-INF/plugin.xml @@ -4,7 +4,7 @@ 1.0 - mypackage.mismatch"/> + \ No newline at end of file diff --git a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/dependencyDescriptorHighlighting/mainModule/META-INF/plugin.xml b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/dependencyDescriptorHighlighting/mainModule/META-INF/plugin.xml index cb6543473954..02c8fabddf39 100644 --- a/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/dependencyDescriptorHighlighting/mainModule/META-INF/plugin.xml +++ b/plugins/devkit/devkit-java-tests/testData/codeInsight/contentDependencyDescriptor/dependencyDescriptorHighlighting/mainModule/META-INF/plugin.xml @@ -4,8 +4,8 @@ 1.0 - - invalid.module" package="mypackage.subpackage"/> + + invalid.module"/> invalid.plugin.id"/>