Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin verifier report duplicate plugin descriptors when combined JAR is used #1673

Closed
jansorg opened this issue Jul 1, 2024 · 2 comments
Closed
Assignees
Labels
Milestone

Comments

@jansorg
Copy link

jansorg commented Jul 1, 2024

What happened?

With the new pluginModule(implementation(project(":plugin-java"))) syntax, the plugin verifier reports an error about duplicate jars.

Relevant log output or stack trace

The configuration file 'appmap-java.xml' for optional dependency 'com.intellij.java' failed to be resolved: Found multiple plugin descriptors 'appmap-java.xml' from 'intellij-appmap-0.67.0.jar' and 'appmap-java.xml' from 'plugin-java-base.jar'.

Steps to reproduce

Add the dependency listed above.
Further discussion at https://jetbrains-platform.slack.com/archives/C05C80200LS/p1719326254555919

Gradle IntelliJ Plugin version

2.0.0.beta7

Gradle version

8.6

Operating System

Linux

Link to build, i.e. failing GitHub Action job

No response

@jansorg jansorg added the bug label Jul 1, 2024
@YannCebron YannCebron added this to the 2.0 milestone Jul 1, 2024
@jansorg
Copy link
Author

jansorg commented Jul 2, 2024

I'm not sure if the plugin verifier is the culprit here.
The plugin.zip contains the compose jar and also all the sub-module jars, which were already merged into the composed jar.

@hsz
Copy link
Member

hsz commented Jul 16, 2024

Fixed with 640e356

@hsz hsz closed this as completed Jul 16, 2024
@hsz hsz assigned hsz and unassigned novotnyr Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants