adobe / adobe/aem-project-archetype

Getting Error Maven must be executed with a Java 11 JRE or higher.

Open
#1,196 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

Forms users usually copy the changes from the newly created archetype into their existing project. On such instances if they copy the changes for requriedVersion = 11 and do not copy the .cloudmanager directory then the build in Cloud Service fails with below error

[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
Maven must be executed with a Java 11 JRE or higher.

### Expected Behaviour
Should specify in the README that post release 48, the cloud service only supports Java 11 and in case they face any issue then they should update the .cloudmanager directory.

### Actual Behaviour

### Reproduce Scenario (including but not limited to)

#### Steps to Reproduce

#### Platform and Version

#### Sample Code that illustrates the problem

#### Logs taken while reproducing problem

Contributor guide

Open the contributing guide

Research direction

Start by reading the README and comparing the generated .cloudmanager directory with the existing-project guidance described in the issue. Document that Cloud Service supports Java 11 or higher after release 48 and explain when users need to update .cloudmanager; done means the README covers both points clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.