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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:21:21+00:00 2026-05-21T18:21:21+00:00

I’m currently working with a Maven based project (lets call it Core) in Java

  • 0

I’m currently working with a Maven based project (lets call it Core) in Java and we have currently split it out into the following modules:

  • Core
  • Core.Integration

Im currently using IntelliJ as my IDE and they all build and have their own pom files (the Core project also contains the unit tests). Although the only module that has a usable output is the Core one, Core.Integration is only used to integration test Core with other projects so there is no real output from this module.

We have put Core.Integration as its own module rather than using the test folder within core, as it has additional dependencies such as another internal project (lets call it ThirdParty), so to prove that Core works with ThirdParty we have a suite of integration tests. The Core module doesn’t need to know about ThirdParty and the unit tests do not have a need to use this other project, so as there is only 1 test scope within Maven we do not wish to dirty the Core module with this dependency.

SO… now we know why we have got this separate integration testing module, I will get to the main problem…

Lets say that the Core module itself builds fine and all unit tests pass, you then discover however that there is a failing test within the Core.Integration module. Providing you had both of these modules open, you could realise this and not deploy your change until you fixed the failing test. However some of the other IDEs only open one module and you have to manually tell it to include the others, so lets say a developer checks out the project, and then loads up the Core module, but doesn’t bother including the integration test module as he doesn’t need it for the moment, he makes a change it all passes and he deploys. At this point the build is broken and we have to re-visit why and where its all broken.

Within .net you have the idea of a solution and many projects within that, if one of those projects fails, the solution fails. So taking the above approach and applying it to .net (pretending we have a solution called “Core” too). If we were to check out our solution and open it, we would automatically see all child projects, then if we make the same change and build the solution it tells us it has failed as one of the child projects has failed. THIS is what im after, the idea of a parent solution which has many children models that will always be loaded together, then if one fails it all fails, so the feedback on the breaking tests are given before its too late. Whereas at the moment they are just seem as individual modules with no link.

My other problem is also different developers use different IDEs (i.e IntelliJ, Eclipse, Netbeans) so if this sort of project structure is possible using a Maven style pom approach then I need it so different IDEs should recognise this without manual steps of having to include other modules etc…

Sorry for alot of waffle in there, but wanted to give a fuller context to the specific problem and project structure.

  • 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-21T18:21:22+00:00Added an answer on May 21, 2026 at 6:21 pm

    After ages looking around this, seems you cannot really do it without hacking up certain IDEs or project files.

    Ideally I wanted

    MyProject
    | – MyProject.Core
    | – MyProject.IntegrationTests

    So if anything failed MyProject would be classed as a failed build…

    I have instead given in and gone for

    • MyProject.Core
    • MyProject.IntegrationTests

    and if one fails I just use common sense and decide its a failed build…

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

Sidebar

Related Questions

I am currently running into a problem where an element is coming back from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
I want use html5's new tag to play a wav file (currently only supported
I have a JSP page retrieving data and when single or double quotes are
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have just tried to save a simple *.rtf file with some websites and
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
That's pretty much it. I'm using Nokogiri to scrape a web page what has

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.