kenwood
kenwood

Reputation: 27

Setup dependent Maven Java projects so changes are pickedup right away without run maven install

I have two Maven Java projects in Eclipse. I added Project B is a dependency in Project A's pom.xml file. Each time a code change is made to Project B, I have to do 'run maven install' on B, and then do a 'maven update project' on A, in order for the changes to appear in A. Is there a better/faster yet proper way to manage this?

I have tried to remove the maven dependency in A's pom.xml and use Eclipse's the project dependency, that result in class not found error when I try to run A.

Upvotes: 1

Views: 45

Answers (1)

AlexGera
AlexGera

Reputation: 783

You can add "Refresh Resources" -> Entire Workspace after completion in your Maven Run Configuration

Upvotes: 1

Related Questions