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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:37:11+00:00 2026-06-04T05:37:11+00:00

Background one trunk and one branch in a standard svn layout, /trunk and /branches/prod

  • 0

Background

  1. one trunk and one branch in a standard svn layout, /trunk and /branches/prod
  2. about 20 modules in the maven project
  3. when i want to compile trunk, just type cd trunk; mvn clean package. but it will compile each of modules. something similar when the production need to be build.
  4. a center maven repo

Problem

  1. if it’s possible to compile the updated module only? actually i want to compile the modified source files only if possible. i know it’s a simple thing by ant or make. however, maven compile always make it from scratch.
  2. should pom.xml in trunk and prod keep the same artifactId and version? the same artifactId and version cannot work with maven:deploy because trunk and prod will overwrite each others deployed packages.
  • 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-04T05:37:12+00:00Added an answer on June 4, 2026 at 5:37 am

    You can try to use the mvn -am -pl option which will limit the operation to a given module.

    +-- root (pom.xml)
         +-- client (pom.xml) dep: core
         +-- server (pom.xml) dep: client
         +-- core (pom.xml) 
         +-- cli (pom.xml) dep:core
    

    If you do a

    mvn -am -pl server LifeCycle
    

    only the server module and the modules which are used by the server will be run through the appropriate lifecycle.

    mvn -am -pl cli LifeCycle
    

    Only the cli module and the core module in this case will be run throught the given lifecycle.

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

Sidebar

Related Questions

I want to display a lengthy rotated string in the background of one of
I want to change the background screens of one of my Blackberry app and
I am new to android development. I want to make one background application, so
I have an app where I want to have one background view (view controller
I want to create a site with a background one color and the centered
I have one background I want constant to all views; it shouldn't animate out
I want to have my page to have two background images: one at the
I want to ask if is it possible to declare more than one background
Is transparentize border, background one by one is the only way? Any other method?
I need to change the background of one of my Views based on a

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.