apache / apache/maven-archetype

[ARCHETYPE-608] archetype:integration-test: Allow to test for a build failure

Open
#859 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-608](https://issues.apache.org/jira/browse/ARCHETYPE-608?redirect=false)** and commented

Currently all Maven executions not ending with exit code 0 lead to an IT failure. In some edge cases ITs test, that a build is not successful. An option similar to what invoker provides should be supported: https://maven.apache.org/plugins/maven-invoker-plugin/faq.html#question
Optionally also a check on the error output.

---

**Affects:** 3.2.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the Maven Invoker Plugin FAQ linked in the issue and locating how this project runs Maven executions for integration tests. Compare the requested option with the existing execution behavior. Done means an integration test can explicitly expect a nonzero build exit code, with an optional check of the error output.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.