Selena Maven Synchronization Issue

Hi Guys,

I'm a newly converted IntelliJ user. I just need to raise an issue I'm having with synchronization between two seperate Mavenized projects.

I have two IntelliJ projects, both are mavenized. Project 2 has a dependancy on Project 1. The problem happens when I make a change in Project 1 and run the Maven Install task. In Project 2 it doesn't see the changes to the Project 1 API. When I run the Maven Install task on Project 2 it compiles and builds just fine. It's only the IntelliJ IDE that complains about errors in the Project tree and file editor.

So basically I'm trying to get IntelliJ to refresh it's references to the API of the dependant libraries (Project 1 in this case) and for some reason it still retains the old API for Project 1 and not the latest.

Any idea on what i can do to force IntelliJ to reload it's reference to the API of Project 1 from scratch. I've tried deleting it from the library tree and running the synchronization command but that doesn't seem to work.

Thanks in advance
J

Message was edited by:
Johnny A

3 comments
Comment actions Permalink

did you try to refresh your dependent project using the maven project view ?

0
Comment actions Permalink

Hi Thibaut,

Just how do I do that?

Thanks
J

0
Comment actions Permalink

the "refresh" feature I'm thinking about it the one under the cursor in the attached screenshot.



Attachment(s):
Clipboard01.jpg
0

Please sign in to leave a comment.