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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:46:22+00:00 2026-05-26T19:46:22+00:00

I am currently trying to extend an existing project. Unfortunately I am completely new

  • 0

I am currently trying to extend an existing project. Unfortunately I am completely new to plexus. I am greatly Spring biassed, so please tell me if the approach is completely wrong.

Let me describe what I want to do:

In the existing project there is a component with role “A” (Implementation DefaultA) that has a requirement “propertyB” of role “B”. In the same components.xml there is a component of role “B” (Implementation DefaultB). This is usually automatically injected into the propertyB property of DefaultA. So far so good.

Now I would like to create a component of role “B” (Implementation SpecialB) provided by a separate jar and make that override the default implementation of “DefaultB”.

Is this possible and if yes … how is it done?

What I am actually trying to do, is to create a ModelValidator as part of the flexmojos maven plugin, which should override the DefaulModelValidator implementation of Maven 3.

Chris

  • 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-26T19:46:23+00:00Added an answer on May 26, 2026 at 7:46 pm

    Ok … so the solution is actually quite easy.
    If you define a component extending the same interface with the same role-definition and simply place a jar with that component in the MAVEN_HOME/lib/ext directory, your component will be used instead of the default.

    Documented this and uploaded a sample maven-project in my companies confluence:
    https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+in+Continuous+Integration+Builds

    Chris

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

Sidebar

Related Questions

I'm currently trying to extend the KnockoutJS shopping cart example to preload existing rows
I'm new to an existing Cake project where we are trying to use a
I am currently trying to extend our already existing (and working) pre commit batch
I'm currently trying out Aptana Studio 3 for PHP development (I'm pretty new to
I am trying to add three new table to my existing sqlite db and
I'm currently trying to extend the BaseAuthenticate class within CakepPHP (in the cake\lib\Cake\Controller\Component\Auth folder)
I'm new to both django and python and currently trying to build a form
Hello, I'm currently trying to apply the most efficient way to store an extend
I'm currently trying to extend a friend's OCaml program. It's a huge collection of
Background: I am currently trying to extend standard C formatting with support for handling

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.