Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 555673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:50:21+00:00 2026-05-13T11:50:21+00:00

I have a multi module maven project and the directory structure is hierarchical. Some

  • 0

I have a multi module maven project and the directory structure is hierarchical. Some modules have dependencies on others. I have added the dependent modules to the dependency section of the project’s POM. However, in order to resolve those dependencies, I need to import the parent project, and select Project Properties > Maven and select “Enabled Modules.” Is this normal? Why wouldn’t the project just resolve the dependent project in the workspace?

thanks,
Jeff

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T11:50:21+00:00Added an answer on May 13, 2026 at 11:50 am

    However, in order to resolve those dependencies, I need to import the parent project, and select Project Properties > Maven and select “Enabled Modules.” Is this normal?

    No. When you import your projects, unfold the Advanced part and make sure that Resolve Workspace projects is checked (that should be the default though).
    You can also change this setting at the project level. Just right-click on a project, select Properties > Maven and verify that Resolve dependencies from Workspace projects is checked.

    UPDATE: Answering a question asked in a comment by the OP. From https://docs.sonatype.org/display/M2ECLIPSE/Dependency+Management about Include modules:

    When enabled, dependencies from all nested modules are added to the “Maven Dependencies” container and source folders from nested modules are added to the current project build path when running “Update Sources” action. This option is enabled when you import multiple Maven projects as single Eclipse project, e.g. when “Separate projects for modules” option is turned off in the project import wizards.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using maven 3.0.4 I have a multi-module maven project, with some modules producing war
I have some multi-module project. Some modules are packaged as wars and some as
I have Maven multi-module project with such structure: parent-pom-project -- module1 -- module2 At
I have a multi-module maven project made up of three sub-modules: web , service
I have a multi-module Maven project A. There are two modules: B and C,
I have a multi-module maven project. We intend to version all these modules together.
We have a rather complicated multi-module Maven project. There are Flex modules, GWT modules,
I have a multi-module Maven project with a parent project P and three sub-modules
I have a multi module Maven project, one of its modules has the main
We have a multi-module maven project that uses a profile that defines a buildnumber-maven-plugin

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.