apache / apache/maven-archetype

[ARCHETYPE-508] Ability to use any context property for module name

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

Description

**[Dejan Ognjenović](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dejano)** opened **[ARCHETYPE-508](https://issues.apache.org/jira/browse/ARCHETYPE-508?redirect=false)** and commented

When generating a new project one cannot use custom variables to generate module names. For example:

```








src/main/java



```

The above code does not replace file name "__module1__-ejb" but leaves it intact. This was supposedly patched already by Brad Szabo as seen here:
https://issues.apache.org/jira/browse/ARCHETYPE-191

---

**Affects:** 2.4

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the XML example from the issue and compare the behavior with the earlier ARCHETYPE-191 report. Trace how the custom module1 context property is applied to the module name and directory. Done means the generated module filename replaces __module1__ with the supplied property value.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
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.