adobe / adobe/aem-project-archetype
Interactive Mode with frontendModule="decoupled" not working
- Dominant language
- JavaScript
- Stars
- 596
- Forks
- 431
- Avg merge
- 10d 6h
- Merged PRs (30d)
- 1
Description
### Expected Behaviour
Interactive Mode with frontendModule="decoupled" is not working. It's working fine when passing `-D frontendModule="decoupled"` option
### Actual Behaviour
With interactive mode, message
`Define value for property 'frontendModule' (should match expression '^(none|general|angular|react)$') general`
is prompted but with no decoupled option.
### Reproduce Scenario (including but not limited to)
#### Steps to Reproduce
1.) `mvn org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=41 -D appTitle="my site" -D appId="mysite" -D groupId="com.mysite"`
2.) When beeing asked for `Confirm properties configuration` reply with `n`
3.) Use default properties apart from frontendModule
Contributor guide
Research direction
Start by reproducing the issue with the Maven archetype-plugin:3.2.1:generate command and compare interactive property handling with the -D frontendModule="decoupled" path. Trace where the frontendModule choices are defined and verify that interactive mode offers decoupled and accepts it while generating the project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100