Sitelet https://github.com/apache/maven-plugin-tools/pull/1209
Skip to content

switch from 4.0.0-beta-4 to 3.17.0 - #1209

Open
hboutemy wants to merge 1 commit into
masterfrom
master-4-to-3.17
Open

hboutemy wants to merge 1 commit into
masterfrom
master-4-to-3.17

Conversation

@hboutemy

Copy link
Copy Markdown
Member

see apache/maven-sources#57 (comment)

let's maintain only master that produces a Maven 3 plugin being able to generate both Maven 3 plugin descriptors and Maven 4 plugin descriptors

this acts also dropping maven-script and old-Maven 2-style javadoc annotations

@hboutemy

hboutemy commented Sep 23, 2026 •

Copy link
Copy Markdown
Member Author

need to check/clarify Maven 3 plugin.xml generation = https://maven.apache.org/ref/3.9.16/maven-plugin-api/plugin.html
vs Maven 4 one = https://maven.apache.org/ref/4.0.0-rc-6/api/maven-api-plugin/plugin.html
see also apache/maven#13253

key difference is not only the new fields in Maven 4 plugin descriptor, but renamings:

@slawekjaranowski

Copy link
Copy Markdown
Member

this acts also dropping maven-script and old-Maven 2-style javadoc annotations

so it will be a braking change

@slawekjaranowski

Copy link
Copy Markdown
Member

I have checked plugin descriptor generated on a few plugins 3.x - build used plugin-tools 3.9.16 and 4.0.0-beta-3
looks the same

@slawekjaranowski slawekjaranowski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We can try here it will be one less branch to maintain

@slawekjaranowski

Copy link
Copy Markdown
Member

Of course we need check commits to cherry-pick, one I remember:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants