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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:54:30+00:00 2026-05-23T13:54:30+00:00

I have a multi project in maven like this: paren-project -> plugin-project -> testbed-project

  • 0

I have a multi project in maven like this:

paren-project
  -> plugin-project
  -> testbed-project

The plugin project generates a JAR, which is manually copied to a specific subdirectory of testbed (using whatever embedded script like groovy or ant). The important point: I don’t want the plugin JAR to be in the classpath of testbed.

But I cannot found the solution to force the plugin project to be build BEFORE the testbed project. If I set the plugin project as dependency of the testbed project, it is added in the classpath.

Any solution, or do I have to switch to a build system like gradle, ivy or ant ?

  • 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-23T13:54:31+00:00Added an answer on May 23, 2026 at 1:54 pm

    As it is mentioned at the http://maven.apache.org/guides/mini/guide-multiple-modules.html

    Reactor Sorting

    Because modules within a multi-module build can depend on each other, 
    it is important that The reactor sorts all the projects in a way that 
    guarantees any project is built before it is required.
    
    The following relationships are honoured when sorting projects:
    
    1. project dependency on another module in the build
    2. plugin declaration where the plugin is another modules in the build
    3. plugin dependency on another module in the build
    4. build extension declaration on another module in the build
    5. the order declared in the modules element (if no other rule applies)

    Note that only “instantiated” references are used – dependencyManagement
    and pluginManagement elements will not cause a change to the reactor sort order

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

Sidebar

Related Questions

I have a multi module maven project and I would like to use versions
I have a multi-module Maven project, and I would like to assemble together artifacts
I have a multi-module maven project with an installer sub-project. The installer will be
I have a multi-module maven project (several levels of nesting). Normally, when I execute
I have a big multi-module Maven project with thousands of tests. Each test loads
I have a multi module Spring project that I set up using Maven: my-root
I have a multi-table query, similar to this (simplified version) SELECT columns, count(table2.rev_id) As
I have a multi-threaded C++ app which does 3D rendering with the OpenSceneGraph library.
I have a multi-threaded Windows application that occasionally deadlocks. Inevitably this happens on a
This is my parent pom.xml (part of it) in a multi-module project: ... <build>

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.