Sara
Sara

Reputation: 2505

maven dependencies to a parent project build path in eclipse

I am using m2e. So I have two projects. When I right click on them both have maven enabled. So one of the projects is a parent project so it has many sub packages each sub package is correctly src\target, but not the parent itself. I have pom.xml for parent and all the children.

When I right click on these two projects then maven then update configuration. The maven repository gets added to the simple project but not to the one which is a parent of the rest. So what should I do in this case?

Upvotes: 0

Views: 917

Answers (1)

Pablo Lascano
Pablo Lascano

Reputation: 662

You have to perform a mvn install for the artifacts to get installed in the repository, the "update project configuration" is similar to the mvn eclipse:eclipse goal of the maven eclipse plugin.

Upvotes: 1

Related Questions