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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:29:40+00:00 2026-06-12T06:29:40+00:00

I have a couple of projects, all using the same plugins in the build

  • 0

I have a couple of projects, all using the same plugins in the build section.
Is it possible to specify which plugins to run inside the build section in a central place?

I know you can put the plugin configuration in a parent poms pluginManagement section, but then you still have to list all plugins in the build section.

For example I want something like:

parent.pom

<pluginManagement>
  <plugins>
    <plugin>
      <artifactId>plugin1</artifactId>
      ...
    </plugin>
    <plugin>
      <artifactId>plugin2</artifactId>
      ...
    </plugin>
  </plugins>
</pluginManagement>

child.pom

<build>
    <include-plugins-from-parent-without-listing-plugin1-and-plugin2/>
</build>

Also, I would like to do the same thing with reports. Define in a single file which reports to run and include this in every other project.

Update: any other way of synchronizing the same build settings between multiple projects is fine too. I just do not want to copy&paste the same stuff in all POM files.

  • 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-12T06:29:41+00:00Added an answer on June 12, 2026 at 6:29 am

    Inside parent.pom declare the plugins inside <build>\<plugins> instead of <pluginManagement>:

    <build>
      <plugins>
        <plugin>
          <artifactId>plugin1</artifactId>
          ...
        </plugin>
     </plugins>
    </build>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a project with couple others. We all have local copies of
I have a couple of projects with different release cycles sitting in my SVN
I have a couple of projects hosted on Codeplex. Since I didn't really have
I have a worked on a couple different projects and I have seen two
I'm considering using Grails for my current project. I have a couple of requirements
I have a couple of projects in Django and alternate between one and another
Using TFS 2010 I need to build a solution that depends on a couple
I have a project (#1) with a couple apps in it using a mysql
Since a couple of weeks, I've been using XCode 4.2 with projects created with
I have to build an Eclipse-plugin with a Maven/Tycho which has dependencies to other

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.