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 8530387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:14:28+00:00 2026-06-11T09:14:28+00:00

I just started to play around with spring roo for the first time, first

  • 0

I just started to play around with spring roo for the first time, first impression was quite exciting. Currently I’m struggling to create multi-module project hope you guys can help me out.

Lets say I have parent POM and 2 Jar projects and 1 war projects. Lets name them as follows.

  1. parent (POM)
  2. Service API (jar)
  3. Service IMPL (jar)
  4. Web (war)

All jars and war file I need them to arrange at peer level inside parent project. So all three projects should have a single parent which is the main POM.

Dependencies should be – Web depends on >> Services Impl depends on >> Services API

I don’t know much about how spring roo multi-module functionality can help me to achieve this. Waiting for your expertise. cheers.

  • 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-06-11T09:14:28+00:00Added an answer on June 11, 2026 at 9:14 am

    Spring Roo supports multi-module Maven projects since version 1.2.0, check out Spring Roo – Reference Documentation.

    In command prompt, you can simply run:

    roo script multimodule.roo

    This creates a sample multi-module project, which has the following directory structure:

    my-project/
      pom.xml -- <packaging>pom</packaging>
      core/
        pom.xml -- <packaging>jar</packaging>
        src/
      ui/
        pom.xml -- <packaging>pom</packaging>
        mvc/
          pom.xml -- <packaging>war</packaging>
          src/
    

    The sub-module mvc project has sub-module core as dependency in its pom.xml. Once you create this sample project, you can work on it and manually change its structure for your purpose, before attaching it to an IDE like Eclipse.

    Spring Roo also provide some built-in commands help you create new sub-module project and manage inter-dependency, check out the features and limitations in reference documentation.

    Hope this helps.

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

Sidebar

Related Questions

I just started to play around with Eclipse M2T JET2 . Now I noticed
Just started to play around with node.js, have some past experience with JavaScript but
This might sound very basic, but I have just started to play around with
I just started to play around with MongoDB (C#) and tried to port a
I just started to play around with Linq to entities and ran into an
I'm using a QTMovie to play audio tracks. I've just started playing around with
I've just started to play around with nodejs and came across jslint, so I
I just started using dojo and just started to play around with it. Basically
I've just started to play with CodeIgniter 1.7.2 and imendialtly noticed that there is
I have just started to play with Play framework (2.0) and 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.