Questions about Maven projects tab

Hi all,

I thought it was possible to link the Maven configuration to IntelliJ, just like Maven Reloaded. I have, however, some questions about the plugin.

For example: when I update (and save) a dependency in my pom, nothing happens. I would expect it to update IntelliJ's classpath settings. Currently it doesn't.
A second thing which caught my attention was a button called 'attach plugin'. What does it do?
Third one is probably a bug, but in the Maven projects window, there is a node called org.apache.maven.plugins:maven-site:null, which has a red curly underline.

Any answers would be quite helpful!

Greetings,
Erik

5 comments
Comment actions Permalink

i can answer for the "when I update (and save) a dependency in my pom, nothing happens. I would expect it to update IntelliJ's classpath settings"

You need to trigger the "update" action on the maven projects pane

0
Comment actions Permalink

Is it possible to update a specific m2 module? I can't update 90 modules when only 1 dependency changed for a pretty isolated sub-project.

0
Comment actions Permalink

Hi, thanks for the answer. With 'update', Do you refer to 'Synchrozine with Maven projects', or is there an option somewhere else?

0
Comment actions Permalink

"Attach plugin" action adds this plugin's goals to the list of goals under the pom file's node in the Maven Projects tree. Having done that you can execute a goal from a plugin which is not mentioned in "plugins" section of your pom.xml.

The problem with underlined maven-site node should go away in the next EAP (7096)

Regarding the "synchronize" button: yes, you need to click it if you want IDEA's classspath updated after you have edited "dependencies" section in pom.xml. This will resync all modules, because there is no easy method to determine which modules could have beed affected by such change.

0
Comment actions Permalink

Thanks for the answer!

Considering the remark about the easy way to see the changes: I think what Maven Reloaded does, it to download all dependencies again after a change has been made to the Pom. Maybe a similair way is possible for the integrated plugin?

0

Please sign in to leave a comment.