GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Feat: Pull out maven-executor into its own project by cstamas · Pull Request #12004 · apache/maven

Conversation

@cstamas

@cstamas cstamas commented Apr 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

The main goal of maven-executor is ability to execute Maven 3/4 in "embedded" and "forked" mode, and has not related with Maven release lifecycle itself (and is dependency-less as well). So, let's move it out into own project.

https://github.com/apache/maven-executor

The new library executes Maven in:

  • forked or embedded mode, but introduces other providers as well
  • supports Maven 3 and 4
  • the main maven-executor module is Java 8, dependency-less library (is MR-JAR, and on 9+ is modular and provides ToolProvider SPI integration as well)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cstamas
Feat: Pull out maven-executor into its own project
0a163ba
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 requested review from gnodet, rmannibucau and slawekjaranowski April 30, 2026 09:46
@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
olamy
olamy reviewed Apr 30, 2026
View reviewed changes
Comment thread .mvn/maven.config Resolved

Uh oh!

There was an error while loading. Please reload this page.

olamy
olamy approved these changes Apr 30, 2026
View reviewed changes
@cstamas
Apply latest changes
0c2ecf3
gnodet
gnodet approved these changes Apr 30, 2026
View reviewed changes
rmannibucau
rmannibucau approved these changes Apr 30, 2026
View reviewed changes
slachiewicz
slachiewicz approved these changes May 1, 2026
View reviewed changes
@hboutemy

hboutemy commented May 8, 2026

Copy link
Copy Markdown
Member

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?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cstamas

cstamas commented May 8, 2026

Copy link
Copy Markdown
Member Author

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hboutemy hboutemy mentioned this pull request May 8, 2026
integrate maven-executor Maven global view apache/maven-executor#4
Closed
@hboutemy

hboutemy commented May 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cstamas

cstamas commented May 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@slawekjaranowski

slawekjaranowski commented May 8, 2026

Copy link
Copy Markdown
Member

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

hboutemy reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cstamas added 2 commits May 29, 2026 17:40
@cstamas
Merge remote-tracking branch 'origin/master' into pull-executor-out
bd9bc1c
@cstamas
Adapt to latest changes
58d6bd2
@cstamas

cstamas commented May 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

maven-executor is now Java 8 baseline with MR-JAR version (9) for module-info and ToolProvider SPI support

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cstamas
cstamas merged commit 15d19f2 into apache:master May 29, 2026
41 of 42 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@cstamas
cstamas deleted the pull-executor-out branch May 29, 2026 19:50
@github-actions github-actions Bot added this to the 4.1.0 milestone May 29, 2026
cstamas added a commit that referenced this pull request May 29, 2026
@cstamas
Feat: Pull out maven-executor into its own project (#12004) (#12186)
7fdad49
The main goal of `maven-executor` is ability to execute Maven 3/4 in "embedded" and "forked" mode, and has not related with Maven release lifecycle itself (and is dependency-less as well). So, let's move it out into own project.

https://github.com/apache/maven-executor

The new library executes Maven in:
* forked or embedded mode, but introduces other providers as well
* supports Maven 3 and 4
* the main `maven-executor` module is Java 8, dependency-less library (is MR-JAR, and on 9+ is modular and provides ToolProvider SPI integration as well)

Backport from master: 15d19f2
@gnodet gnodet mentioned this pull request Jun 1, 2026
Fix MAVEN_ARGS parsing to handle quoted strings with spaces #11824
Closed
1 of 2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@olamy olamy olamy approved these changes
@gnodet gnodet gnodet approved these changes
@rmannibucau rmannibucau rmannibucau approved these changes
@slachiewicz slachiewicz slachiewicz approved these changes
@slawekjaranowski slawekjaranowski Awaiting requested review from slawekjaranowski

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@cstamas cstamas

Labels

enhancement New feature or request

Projects

None yet

Milestone

4.2.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@cstamas @hboutemy @slawekjaranowski @olamy @gnodet @rmannibucau @slachiewicz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.