Maven: Fast import clears artifact settings

已回答

Hi,

if "Fast import" is enabled for Maven, the settings in "Project Structure > Artifacts" (eg. "Include in project build" or "Unpack nested archives") will be cleared on every "Reload All Maven Projects". This means the setting "Unpack nested archives" cannot be used because it requires a reload, which clears the setting.
This is not the case if I disable fast import.

Is this an intended behaviour or is this a bug?

Greetings
Michael Eberlein

0

Thank you for the information but then I run into some kind of "chicken-egg-problem". The documentation for the option "Unpack nested archives" says I need to do a re-import:
https://www.jetbrains.com/help/idea/2023.1/maven-tab.html

But the re-import with "Fast import" enabled clears the flag for "Unpack nested archives" which in fact means I cannot use unpack with fast import. Am I right?

0

Hello, Michael!

This appears to be a bug, I have created a YouTrack Issue IDEA-334703 for it.

Make sure to upvote it raise its' priority for the developers!

0

请先登录再写评论。