Skip to content

Upgrade maven-ejb-plugin when upgrading jakarta.ejb-api in EE9 #1154

Description

@evie-lau

What problem are you trying to solve?

In EE9 migration, when javax.ejb-api gets upgraded to jakarta.ejb-api:4.0.x, a corresponding maven-ejb-plugin plugin that uses it needs to be upgraded as well.

maven-ejb-plugin requires 3.2.1 or higher for EE9 (current release 3.3.0)

Additionally, it's <ejbVersion> configuration needs to be updated to 4.0.

Describe the situation after applying the recipe

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-ejb-plugin</artifactId>
	<version>3.2.1</version>
	<configuration>
		<ejbVersion>4.0</ejbVersion>
	</configuration>
</plugin>

Metadata

Metadata

Assignees

Labels

recipeRecipe requested

Type

No type
No fields configured for issues without a type.

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions