Hi All,

As promoted on the documentation of sisu here
<https://eclipse-sisu.github.io/sisu-project/plexus/index.html#custombinding>,
we allow the definition of custom bindings via Guice modules.
However since the Guice API is not exported from the core classloader, see
here <https://maven.apache.org/ref/3.9.0/maven-core/core-extensions.html>,
this is not possible unless we explicitly export the Guice API to all
plugins/extensions.
If understand we don't want to do that cause it may cause conflicts and
break things in maven.
So I think this solution is a bit contradictory. Plus not very practical,
since any plugin that needs a custom binding, will require a core extension
as well that exports the guice API, possibly the project using that plugin
as well.

I would like to discuss what other solution we can implement to allow the
usage of custom bindings in plugins.
We have created a Jira <https://issues.apache.org/jira/browse/MNG-7921> where
we propose a configuration file, similar to the
/META-INF/maven/extension.xml, but specific to the plugin's classworld.

WDYT ?

Cheers 🖖
Özgün

Reply via email to