Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify gettingstarted - since 2025.1.2, maven archetype requires Java… #387

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/main/markdown/gettingstarted-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ mvn archetype:generate \
-DarchetypeArtifactId=modular-webapp
```

If you are using a Java version earlier than 17, consider using a previous Maven archetype. The recent upgrade of Jetty to version 12
requires Java 17 or newer.

```shell
mvn archetype:generate \
-DarchetypeGroupId=net.ltgt.gwt.archetypes \
-DarchetypeVersion=2024.11.13 \
-DarchetypeArtifactId=modular-webapp
```

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.

may be mentioning, that the new version can be used and the Java version can be updated manually inside the pom and a hint that future versions of GWT will require Java 17. So, it is a good idea doing a fresh start with a new project and Java 17.

The archetype will request values for:

* **groupId**: com.mycompany.mywebapp
Expand Down