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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:32:10+00:00 2026-05-26T04:32:10+00:00

We have a number of modules defined in our parent pom, which are build

  • 0

We have a number of modules defined in our parent pom, which are build regularily. Besides those we also have some other modules, which state our parent pom as their parent, but are not included as modules in the parent pom right now. Some of them are not quite ready yet, others are not intended to be build contiuously and are therefore not included.

Some days ago I found the maven-versions-plugin and I’d like to use it to advance the version number of our parent pom, using the update-child-modules goal, but for this obviously we need to have all modules listed in the parent pom.

So my question is, is there a way to list all modules in the parent pom, but still exclude some of them from being build when I call “mvn install”?

  • 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-26T04:32:10+00:00Added an answer on May 26, 2026 at 4:32 am

    You could use a profile and put in it modules which you do not want to build. Something like this.

    <profiles>
        <profile>
            <id>not-to-be-built</id>
            <modules>
                <module>module1</module>
                <module>module2</module>
            </modules>
        </profile>
    </profiles>
    

    You could run

    mvn versions:update-child-modules -P not-to-be-built
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Python script that uses built-in modules but also imports a number
I have a complex data structure (user-defined type) on which a large number of
I have a parent model defined as : class PurchaseOrder(models.Model): number = models.CharField(max_length=30, unique=True)
I'm going to have to write a number of vba modules for a project
I have a number of classes and they are quite close to each other
I have a number of aliases defined in my .bashrc . E.g: alias ls='ls
I have a Main WPF application and other modules and I am using PRISM
I have a class Shape which should have area defined on all instances. area
I have a number of modules that when they are included I want them
I have defined an XMLList which gets its data from the following XML file:

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.