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 — Handle `%modulepath` token by pzygielo · Pull Request #532 · mojohaus/exec-maven-plugin

Conversation

@pzygielo

@pzygielo pzygielo commented Jul 22, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Currently build.log (from new IT) contains:

[DEBUG] Executing command line: [.../bin/java, -p, %modulepath, -m, mcli.boot/org.mojohaus.mcli.Main]

i.e. directly with raw %modulepath string.

The second commit replaces the said token.


This is advertised in

exec-maven-plugin/src/site/apt/examples/example-exec-for-java-programs.apt.vm

Line 33 in 0566fdd

* If <<<commandlineArgs>>> is specified, it will be used as is, except for replacing %classpath and %modulepath with their matching path using dependencies

exec-maven-plugin/src/site/apt/examples/example-exec-for-java-programs.apt.vm

Lines 40 to 43 in 0566fdd

* Command line
If specified as part of the <<<exec.args>>> argument, the special string <<<%classpath>>>
will be replaced by the project classpath as computed by Maven. Same couunts for <<<%modulepath>>>

Sorry, something went wrong.

Uh oh!

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

All reactions
pzygielo added 2 commits July 22, 2026 12:27
@pzygielo
IT for handling %modulepath token
8670023
Currently build.log contains:
```
[DEBUG] Executing command line: [.../bin/java, -p, %modulepath, -m, mcli.boot/org.mojohaus.mcli.Main]
```
i.e. directly with raw `%modulepath` string.
@pzygielo
Handle %modulepath token
a0e9719
@pzygielo
pzygielo marked this pull request as ready for review July 22, 2026 11:00
@pzygielo

This comment was marked as outdated.

Sign in to view
5 similar comments
@pzygielo

This comment was marked as outdated.

Sign in to view
@pzygielo

This comment was marked as outdated.

Sign in to view
@pzygielo

This comment was marked as outdated.

Sign in to view
@pzygielo

This comment was marked as outdated.

Sign in to view
@pzygielo

pzygielo commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

May I ask for review, please?

slawekjaranowski reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@slawekjaranowski
slawekjaranowski self-requested a review September 14, 2026 08:00
@slawekjaranowski slawekjaranowski added the bug Something isn't working label Sep 14, 2026
slawekjaranowski
slawekjaranowski approved these changes Sep 14, 2026
View reviewed changes
@slawekjaranowski
slawekjaranowski merged commit c7ae370 into mojohaus:master Sep 14, 2026
17 checks passed

Uh oh!

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

@pzygielo
pzygielo deleted the modulepath-token branch September 14, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@slawekjaranowski slawekjaranowski slawekjaranowski approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

bug Something isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

2 participants

@pzygielo @slawekjaranowski
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.