Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyrille-leclerc/maven-extension-test
https://github.com/cyrille-leclerc/maven-extension-test
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cyrille-leclerc/maven-extension-test
- Owner: cyrille-leclerc
- License: apache-2.0
- Created: 2024-05-21T08:37:36.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T21:50:08.000Z (5 months ago)
- Last Synced: 2024-11-09T07:53:46.611Z (2 months ago)
- Language: Java
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Maven Extension Test
Test the differences of behavior of Maven Extension APIs between Plexus and JSR-330/Sisu
Maven Extension APIMaven EventExtension loading mechanism
${maven.home}/lib/extmvn -Dmaven.ext.class.path=pom.xml's <extensions>.mvn/extensions.xml
JSR330AbstractExecutionListener 🔴 🔴 🔴 🔴
JSR330AbstractMavenLifecycleParticipant#afterSessionStart 🟢 🟢 🔴 🟢
JSR330AbstractMavenLifecycleParticipant#afterProjectsRead 🟢 🟢 🟢 🟢
JSR330AbstractMavenLifecycleParticipant#afterSessionEnd 🟢 🟢 🟢 🟢
JSR330AbstractEventSpy#init 🟢 🟢 🔴 🟢
JSR330AbstractEventSpy#onEvent 🟢 🟢 🔴 🟢
JSR330AbstractEventSpy#close 🟢 🟢 🔴 🟢
PlexusAbstractExecutionListener 🔴 🔴 🔴 🔴
PlexusAbstractMavenLifecycleParticipant#afterSessionStart 🟢 🟢 🔴 🟢
PlexusAbstractMavenLifecycleParticipant#afterProjectsRead 🟢 🟢 🟢 🟢
PlexusAbstractMavenLifecycleParticipant#afterSessionEnd 🟢 🟢 🟢 🟢
PlexusAbstractEventSpy#init 🟢 🟢 🔴 🟢
PlexusAbstractEventSpy#onEvent 🟢 🟢 🔴 🟢
PlexusAbstractEventSpy#close 🟢 🟢 🔴 🟢
* Documentation
* https://maven.apache.org/maven-jsr330.html
* https://github.com/eclipse/sisu.plexus/wiki/Plexus-to-JSR330
* The maven-sisu-plugin with `@Named` and `@Inject` just generates `META-INF/sisu/javax.inject.Named`
* When in the past, the `plexus-component-metadata:generate-metadata` did generate `META-INF/plexus/components.xml`
* Don't forget to update `META-INF/maven/extension.xml`, see https://maven.apache.org/ref/3.9.6/maven-core/extension.html