Skip to content

Feat: Pull out maven-executor into its own project#12004

Open
cstamas wants to merge 2 commits into
apache:masterfrom
cstamas:pull-executor-out
Open

Feat: Pull out maven-executor into its own project#12004
cstamas wants to merge 2 commits into
apache:masterfrom
cstamas:pull-executor-out

Conversation

@cstamas
Copy link
Copy Markdown
Member

@cstamas cstamas commented Apr 30, 2026

The main goal of maven-executor is ability to execute Maven 3/4 in "embedded" and "forked" mode, and has nothing to do with Maven release lifecycle itself (and is dependency-less as well).

This PR now makes Maven ITs execute with SNAPSHOT deployed by Jenkins from https://github.com/apache/maven-executor

The main goal of maven-executor is ability to execute Maven 3/4
in "embedded" and "forked" mode, and has nothing to do with Maven
release lifecycle itself (and is dependency-less as well).
@cstamas cstamas self-assigned this Apr 30, 2026
@cstamas cstamas added the enhancement New feature or request label Apr 30, 2026
@cstamas cstamas marked this pull request as ready for review April 30, 2026 10:24
Comment thread .mvn/maven.config
@hboutemy
Copy link
Copy Markdown
Member

hboutemy commented May 8, 2026

question: what about maven-verifier and maven-invoker shared components vs maven-executor https://maven.apache.org/shared/index.html ?
if we have a third shared component, we should a t least make visible about the 3 choices, isn't it?

@cstamas
Copy link
Copy Markdown
Member Author

cstamas commented May 8, 2026

Re site, I did not do anything, and I agree, we need visibility.

Re projects, there were some issues:
apache/maven-verifier#186
apache/maven-invoker#164

@hboutemy
Copy link
Copy Markdown
Member

hboutemy commented May 8, 2026

oh, if maven-executor is expected to be the replacement for maven-invoker and maven-verifier, let's make it a shared component and document it from the start, please

and I suppose there are also related issues or PRs in related plugins https://maven.apache.org/plugins/ like maven-invoker-plugin and/or maven-verifier-plugin?

@cstamas
Copy link
Copy Markdown
Member Author

cstamas commented May 8, 2026

Yes, Maven project was inconsistent (or maybe "organic") in this respect, had wildly different projects meant to perform pretty much same thing, but there were huge differences in capabilities (fork-only vs fork-embedded) and APIs (CLI-like vs fully mimic Maven CLI).

The idea of maven-executor is to remain simple, does not stand in a way (ie. no need to release if new Maven CLI option is added) and offer fork-embed (and even more, see docker based ones) running options, without any need for "client code" to change, is just matter of configuration.

@slawekjaranowski
Copy link
Copy Markdown
Member

😄 my old mail - https://lists.apache.org/thread/20m5llon639s2vvps4o8qm9crpb2hg8n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants