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

  • Home
  • SEARCH
  • 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 6627365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:00:19+00:00 2026-05-25T22:00:19+00:00

I am working on existing Maven Project Which has got 5 modules like <modules>

  • 0

I am working on existing Maven Project
Which has got 5 modules like

 <modules>
    <module>sideware</module>
    <module>xmlmodule</module>
    <module>business</module>
    <module>service</module>
    <module>helper</module>
</modules>

Each Module has got a one POM.xml file as well as

and one main Pom.xml

I am using Eclipse to run the POM.xml files as Maven install

Please tell me do i need to run the Each POM.xml indivudally ??

Or can i run the Parent POM.xml file once ??

Thank you

  • 1 1 Answer
  • 0 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-25T22:00:20+00:00Added an answer on May 25, 2026 at 10:00 pm

    I think it is sufficient to run the parent POM. See the question What is the "reactor" in Maven? about the plugin that implements that for Maven. So you have the following options (at least):

    • Build the parent POM, which will build all modules as well.
    • Build a module individually, and it will build its dependencies automatically.

    Here is a small experiment I have done on my own:

    1. Build automatically == false.
      enter image description here

    2. Build a multi-module Maven project, and add there 2 modules.enter image description here

    3. Insert some code into the modules. enter image description here

    4. Run mvn install inside eclipse enter image description here

    As a result, I get the following output in the console:

    [INFO] Scanning for projects...
    [INFO] Reactor build order: 
    [INFO]   MultiModuleExample
    [INFO]   Unnamed - com.tsi.mli:sideware:jar:0.0.1-SNAPSHOT
    [INFO]   Unnamed - com.tsi.mli:business:jar:0.0.1-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    [INFO] Building MultiModuleExample
    [INFO]    task-segment: [install]
    [INFO] ------------------------------------------------------------------------
    [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
    [INFO] [install:install {execution: default-install}]
    [INFO] Installing C:\projekte\setools-work\build\example-build-projekte\indigo-full\ws\multi-module-example\pom.xml to C:\Users\mliebelt\.m2\repository\com\tsi\mli\multi-module-example\0.0.1-SNAPSHOT\multi-module-example-0.0.1-SNAPSHOT.pom
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Unnamed - com.tsi.mli:sideware:jar:0.0.1-SNAPSHOT
    [INFO]    task-segment: [install]
    ...
    

    The directory structure I have got is:

    multi-module-example/
      business/
        src/
        target/
        .classpath
        .project
        pom.xml
      sideware/
        ...
      src/
      .project
      pom.xml
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with an existing XML document which has a structure (in part) like
I'm working on an existing Java EE project with various maven modules that are
While working on an existing project I suddenly got the following error when trying
I am working on existing project.Getting records something like this: $this->courses = Doctrine_Core::getTable('Course')->findByUserId($this->userId); Now
I am working on an existing project that has two areas that can be
I am working an existing project which is base do Excel class to copy
I'm working on a large existing java project using maven to manage our builds
I am working on an existing project in Flex, and got tripped up for
I am working on existing project. At some points it has some poor implementation.
I am working on an existing project, setup by another coder. I'm having some

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.