Skip to content

Fix issue 367#372

Open
cstamas wants to merge 1 commit into
masterfrom
issue-367
Open

Fix issue 367#372
cstamas wants to merge 1 commit into
masterfrom
issue-367

Conversation

@cstamas

@cstamas cstamas commented Jun 9, 2026

Copy link
Copy Markdown
Member

Sadly, I did not see #369

These two should be merged/melded into one PR, as the other PR adds nice UT.

Fixes apache/maven#12181

@cstamas cstamas requested a review from slawekjaranowski June 9, 2026 21:14

// used deprecated methods - FIXME in DescribeMojo
if (mavenVersion.startsWith('4.') || mavenVersion.startsWith('3.10.')) {
if (mavenVersion.startsWith('4.')) {

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.

interesting how without it #369 will pass ...

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.

I see no 3.10 on GH 😄

@slawekjaranowski

Copy link
Copy Markdown
Member

so maybe merge this first, and next rebase and merg unit test from #369

if (lifecycle.getDefaultLifecyclePhases().get(key) != null) {
descriptionBuffer
.append(lifecycle.getDefaultPhases().get(key))
.append(lifecycle.getDefaultLifecyclePhases().get(key))

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is IMO not good, is this tested? Should not the phase.goal be unraveled here as well?

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.

Describe deprecated methods in org.apache.maven.lifecycle

2 participants