apache / apache/maven-archetype

[ARCHETYPE-607] archetype:integration-test: Support preBuildHookScript

Open
#851 0 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
148
Forks
181
Avg merge
1d 20h
Merged PRs (30d)
8

Description

**[Konrad Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** opened **[ARCHETYPE-607](https://issues.apache.org/jira/browse/ARCHETYPE-607?redirect=false)** and commented

Similar to what the m-invoker-plugin provides with such an option should be supported by the mojo `integration-test` as well, e.g. to test that modifying a certain source files after creating a project from the archetype will make the build fail

---

**Affects:** 3.2.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the integration-test mojo and compare its behavior with the m-invoker-plugin's preBuildHookScript option. Confirm how the hook should run after generating an archetype project, then verify completion by testing that modifying a generated source file can make the build fail.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.