apache / apache/maven-invoker-plugin

[MINVOKER-320] Placeholder basedir is confusing, has different value in filtering and scripts

Open
#555 0 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
22
Forks
35
Avg merge
2d 17h
Merged PRs (30d)
7

Description

**[Slawomir Jaranowski](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=slawekjaranowski)** opened **[MINVOKER-320](https://issues.apache.org/jira/browse/MINVOKER-320?redirect=false)** and commented

When we use `basedir` for project file filtering - it points to the project base directory of the main build

But in scripts it is path to the base directory of the test project.

 

https://maven.apache.org/plugins/maven-invoker-plugin/examples/filtering.html

https://maven.apache.org/plugins/maven-invoker-plugin/examples/post-build-script.html

 

---

**Issue Links:**
- [MINVOKER-270](https://issues.apache.org/jira/browse/MINVOKER-270) Documentation error on postBuildScript explanations

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the filtering and post-build-script examples linked in the issue, focusing on how each explains the basedir placeholder. Update the relevant documentation so the differing values are explicit and unambiguous, then verify that both examples consistently describe the intended behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.