apache / apache/maven-archetype

Release Maven Archetype with Java 26 support

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

Description

### Affected version

3.4.1

### Bug description

Currently, maven-archetype 3.4.1 is not usable when Maven is run on Java 26.

During archetype integration tests, the build fails with:

java.lang.IllegalArgumentException: Unsupported class file major version 70

The exception originates from Groovy during archetype generation.

This appears to be similar to previous Java compatibility issues addressed for newer JDK releases (e.g. #942 and #265).

I think this has already been fixed by commit 81557ff. If that is correct, would it be possible to publish a new Maven Archetype release containing this change so that Java 26 users can use the plugin without requiring custom snapshots or local builds?

Affected version: 3.4.1

Java version: 26

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing commit 81557ff and the related compatibility issues #942 and #265. Run the archetype integration tests with Java 26 to confirm the failure and verify that the commit addresses it. Done means a Maven Archetype release containing the fix is published for Java 26 users.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
build-system, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.