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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:15:04+00:00 2026-05-16T10:15:04+00:00

I have parent project with: <modules> <module>../module1</module> <module>../module2</module> <module>../module3</module> </modules> and modules with <parent>

  • 0

I have parent project with:

<modules>
    <module>../module1</module>
    <module>../module2</module>
    <module>../module3</module>
</modules>

and modules with

<parent>
    <groupId>com.cc</groupId>
    <artifactId>parent</artifactId>
    <version>0.0.1-SNAPSHOT</version>
</parent>

Can I somehow specify, that if there are no src at ../module2/ load those module from repository instead fail with Caused by: java.io.FileNotFoundException: C:\work\temp\wid7\workspace\module2 (The system cannot find the file specified.)?

  • 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-16T10:15:05+00:00Added an answer on May 16, 2026 at 10:15 am

    It’s possible to resolve problem via profiles.

    <profiles>
        <profile>
            <id>module1</id>
            <activation>
                <file>
                    <exists>../module1/pom.xml</exists>
                </file>
            </activation>
            <modules>
                <module>../module1</module>
            </modules>
        </profile>
    
        <profile>
            <id>module2</id>
            <activation>
                <file>
                    <exists>../module2/pom.xml</exists>
                </file>
            </activation>
            <modules>
                <module>../module2</module>
            </modules>
        </profile>
        ...
    </profiles>
    

    Profiles concatenate modules block to one. So others modules got from repository.

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

Sidebar

Ask A Question

Stats

  • Questions 534k
  • Answers 534k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer In my understanding, you want to sort decreasingly by a,… May 17, 2026 at 12:48 am
  • Editorial Team
    Editorial Team added an answer This is similar question, it might help. import os from… May 17, 2026 at 12:48 am
  • Editorial Team
    Editorial Team added an answer Can you use http://pinvoke.net/default.aspx/user32.EnumDisplayMonitors? Seems like once you get the… May 17, 2026 at 12:48 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have the multi module project this is the parent pom. <?xml version=1.0 encoding=UTF-8?>
I have a maven project with flex-mojos 3.1.0. Can I have a module with
I have the following dependency specified in my project's POM: <dependency> <groupId>org.jboss.client</groupId> <artifactId>jbossall-client</artifactId> <scope>compile</scope>
This is my parent pom.xml (part of it) in a multi-module project: ... <build>
We have a multi-module maven project that uses a profile that defines a buildnumber-maven-plugin
I have a Maven project that consists of several modules. I have a single
I have a parent project with 5 children having also dependencies between each other.
I've been previously managing a 3-module project as 3 seperate maven projects. As this
I have a maven multimodule project when I try to build the site, it
Hi I am trying to create a multi-modules project in eclipse with m2eclipse. I

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.