Intellij doesn't find a Maven plugin with a fixed snapshot version (timestamp)
已回答
IntelliJ doesn't honor a Maven plugin in a fixed snapshot version, coming from a repository declared in a profile:

During Maven reload, I'm getting the following error, preventing IntelliJ from reloading:
Unresolved plugin: 'org.eclipse.transformer:transformer-maven-plugin:0.6.0-20231010.114432-94'
The profile is active (by default) in the Maven pane:

Normal, command-line Maven builds are working fine.
Also, replacing the version with 0.6.0-SNAPSHOT works, but doesn't allow to use a specific version.
I'm using the latest IntelliJ:
IntelliJ IDEA 2023.2.3 (Ultimate Edition)Build #IU-232.10072.27, built on October 11, 2023
Can I adjust some settings or is it a missing functionality / a bug?
请先登录再写评论。
Update: it's not only about plugin repositories declared in profiles. It also doesn't work if the
pluginRepositoryis declared in the main part of the Maven POM.Hello!
Thank you for reporting this!
Can you please check if the issue persists, when using Maven from the Command Prompt (without using IDEA)?
Hello Roman,
the command-line Maven build is working fine.
It seems that IntelliJ just cannot handle Maven plugins in fully-specified (snapshot) versions, independent of where the plugin repository is declared. Using 0.6.0-SNAPSHOT as a version works ok in IntelliJ (but doesn't allow for pinning the dependency).
I apologize for the misunderstanding!
I've managed to reproduce this behavior, it appears that despite the (potentially misleading) error message IDEA still downloads the JAR for specific snapshot version of the plugin.
Can you please try running Goals/Lifecycles that depend on the specific version of the plugin and let me know if they work as intended for you?
At least when the plugin repository is in the (active by default) profle, it looks like this after Maven reload:
It is not possible to execute any goals from the plugin in the IDE.
BTW. Wouldn't this error also prevent IntelliJ reloading any of the other Maven settings?
Thank you for the clarification!
I have confirmed this issue with the developers and created a YouTrack Issue for it: IDEA-335088.
Please make sure to upvote it to raise its' priority for the R&D.