Questions tagged [plexus]

Plexus is a software framework for building modular applications using dependency injection.

[Plexus][1] provides a number of pre-built modules for achieving common tasks such as i18n and interacting with frameworks such as Hibernate and Velocity.

The aims of the project are similar to that of Spring. It supports the following [features][5]:

  • Component lifecycles
  • Component instantiation strategies
  • Nested containers
  • Component configuration
  • Auto-wiring
  • Component dependencies
  • Various dependency injection techniques including constructor injection, setter injection, and private field injection.

Plexus is perhaps most widely known because of its use in [Maven][2].

Useful Links

  • [An example][3] showing how dependencies are wired together with Plexus
  • [The Plexus FAQ][4]
  • [Plexus – Plexus Feature Comparison][5] [1]: https://codehaus-plexus.github.io/ [2]: http://maven.apache.org/ [3]: http://www.sonatype.com/people/2009/05/plexus-container-five-minute-tutorial/ [4]: https://codehaus-plexus.github.io/faq.html [5]: https://codehaus-plexus.github.io/ref/feature-comparison.html
49 questions
0
votes
1 answer

Overriding a plexus component declared in another plugin

I'm currently writing a Maven plugin with automates releasing of modules by detecting if a module has changes which should be released releasing all modules using the maven-release-plugin adjusting dependencies in all affected projects I'm trying…
Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278
0
votes
2 answers

NoClassDefFoundError PlexusIoResourceCollection / Jenkins + Maven 3

i'm trying to migrate some of my jenkins jobs to maven 3 and i'm facing some troubles with maven plugins. for instance, i have a job building pretty well under maven 2, which fires the following exception when i move to maven 3 WARNING: Error…
mab
  • 176
  • 2
  • 13
0
votes
1 answer

Compiling a java class with plexus-compiler-eclipse and running it as a JUnit test

I am currently trying to generate code on the fly, compile it then run it as a JUnit4 test. I am quite close to the goal, but I have an issue which might be either with plexus-compiler-eclipse or how I load the compiled class. Let me explain: I…
johnmartel
  • 673
  • 6
  • 19
-1
votes
1 answer

SonarQube Plugin Extension Using Plexus / IoC

I am attempting to write an extension to the SonarQube checkstyle plugin. I would like to use dependency injection to wire required dependencies. From what I can see (documentation seems to be lacking) SonarQube uses plexus as its IoC container. In…
M. Jessup
  • 8,153
  • 1
  • 29
  • 29
1 2 3
4