apache / apache/maven-invoker-plugin

[MINVOKER-125] Global variable about the target directory into the groovy scripts

Closed
#485 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:minor
Dominant language
Java
Stars
22
Forks
35
Avg merge
3d 4h
Merged PRs (30d)
6

Description

**[Karl Heinz Marbaise](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=khmarbaise)** opened **[MINVOKER-125](https://issues.apache.org/jira/browse/MINVOKER-125?redirect=false)** and commented

Often (may be everytime) groovy scripts (post-build) which are doing work in relationship with integration-tests must access the **target** directory to check results etc. But currently i have to hard code the directory "target" by contrast in the pom.xml there already exists a good replacement for that ${project.build.directory} so it would be very helpful to have an context information like "target" which represents the target directory.

---

**Affects:** 1.5

**Issue Links:**
- [MINVOKER-141](https://issues.apache.org/jira/browse/MINVOKER-141) passing own properties to all scripts

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how post-build Groovy scripts receive context and how the existing ${project.build.directory} value is represented in the Maven configuration. The issue is done when integration-test scripts can access the target directory through context instead of hard-coding "target"; review MINVOKER-141 for related property-passing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.