openrewrite / openrewrite/rewrite

The package name 'core' is reserved

Open
#2,706 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
3.7k
Forks
570
Avg merge
13h 12m
Merged PRs (30d)
261

Description

[ERROR] Failed to execute goal org.openrewrite.maven:rewrite-maven-plugin:4.38.1:run (default-cli) on project ***: Execution default-cli of goal org.openrewrite.maven:rewrite-maven-plugin:4.38.1:run failed: The package name 'core' is reserved. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.openrewrite.maven:rewrite-maven-plugin:4.38.1:run (default-cli) on project ***: Execution default-cli of goal org.openrewrite.maven:rewrite-maven-plugin:4.38.1:run failed: The package name 'core' is reserved.

Yes we do have packages in our project like nl.**.core.** This worked fine in version 4.34.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the rewrite-maven-plugin:4.38.1 goal with a project containing packages such as nl..core., then compare the result with version 4.34.0. Done means the package is accepted without the reserved-name error while the Maven rewrite goal still runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.