apache / apache/maven-archetype

[ARCHETYPE-532] The validationRegex feature on archetypes should work on -B batch mode.

Open
#814 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

**[Nicholas DiPiazza](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ndipiazza_gmail)** opened **[ARCHETYPE-532](https://issues.apache.org/jira/browse/ARCHETYPE-532?redirect=false)** and commented

When i have validation regexes like

```

















```

They don't get validated when running using -B batch mode. But they should.

---

**Affects:** 3.0.1

1 votes, 3 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing archetype validation when the Maven Archetype Plugin runs with -B batch mode, using the supplied requiredProperties and validationRegex example as a reproduction. Done means invalid property values are rejected in batch mode just as they are interactively, with tests covering the behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.