Enable to reuse mojo without full maven stack #34
Replies: 4 comments 4 replies
-
@rmannibucau can you add some more information to this one? |
Beta Was this translation helpful? Give feedback.
-
side note: it can enable #11 use case which is not use module-info to drive the build - I assume it will use some kind of directives like comments or annotations to complete what's missing from the pom to be functional. since it breaks the single key feature of maven: static descriptor without any build - to let project be opened in the ide without having a functional build which was one of the biggest pitfall of gradle and advantage of maven. |
Beta Was this translation helpful? Give feedback.
-
What do you mean "full maven stack" ? A mojo is usually injected with a session, project, all kind of things which do not make sense without maven. The Maven 4 API is nearly usable without maven full stack. See https://github.com/apache/maven/blob/master/maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java |
Beta Was this translation helpful? Give feedback.
-
@gnodet goal is to drop most of transitive deps which are not o.a.m from this code (assume it moved to a "main"). Long story short idea is to reuse maven owned code but not depend on conflicting or hard to manage 3rd parties - from plexus to guice. |
Beta Was this translation helpful? Give feedback.
-
Maven being a constraint and dependency resolution simplicity getting broken with jpms support it will be neat to enable easier pipelines writing and likely to only rely on dep resolution then let integrator to do the pipeline run instead of maven phase based execution graph whichbis suboptimal in all cases
Beta Was this translation helpful? Give feedback.
All reactions