adobe / adobe/aem-project-archetype

Archetype version 39 states it's compatible with 6.5.7.0+ but will not accept later service pack release.

Open
#1,032 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
596
Forks
431
Avg merge
10d 6h
Merged PRs (30d)
1

Description

### Expected Behaviour
When typing 6.5.8 for the aemVersion property, expect it to accept the value.

### Actual Behaviour
It only accepts the following specific values: 6.4.8.4; 6.5.7; or cloud

### Reproduce Scenario (including but not limited to)
Run Maven archetype generate command and choose No (N) to enter each availably property individually.

#### Steps to Reproduce
Run mvn archetype:generate -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=39 -DgroupId=(YOUR-GROUPID) -DartifactId=(ARTIFACTID) -DappId=(APPID)

At the "Conform properties configuration" prompt,
Select "N" to choose value of each available property.

For the aemVersion property, type 6.5.8

#### Platform and Version
AEM Project Archetype v.39

#### Sample Code that illustrates the problem

Define value for property 'aemVersion' (should match expression '^(6\.4\.8\.4|6\.5\.7|cloud)$') cloud: : 6.5.8
Value does not match the expression, please try again cloud: :

#### Logs taken while reproducing problem
N/A

Contributor guide

Open the contributing guide

Research direction

Start by running the Maven archetype:generate command from the issue and inspect where the aemVersion validation expression is defined for archetype version 39. Update the accepted values so 6.5.8 is accepted, then rerun the interactive property prompt to verify the value passes validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.