Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

feat : Add Fabric8 Maven Plugin deprecation log message before & after goal executions #1833

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

rohanKanojia
Copy link
Member

Description

Related to eclipse-jkube/jkube#1426

Add warning log message to print deprecation message and instruct users
to migrate to Eclipse JKube

Signed-off-by: Rohan Kumar rohaan@redhat.com

@rohanKanojia rohanKanojia force-pushed the pr/issue1426 branch 7 times, most recently from 63f2fb6 to 1147d1b Compare June 3, 2022 06:24
@rohanKanojia rohanKanojia requested a review from manusa June 3, 2022 07:45
@manusa
Copy link
Member

manusa commented Jun 9, 2022

@sunix could you please take a look

@sunix
Copy link

sunix commented Jun 10, 2022

do we want to do this now or in a next release/pr?
eclipse-jkube/jkube#287 (comment)

Maybe what we can do is in the next release:

  • fail when excuting one of the goals.
  • display warnings about the problems with using fmp and provide different resolution options
  • have a flag for user who still wants to use fmp that would reenable the goals.

@sunix
Copy link

sunix commented Jun 10, 2022

@sunix could you please take a look

I cannot add myself as a reviewer

@manusa
Copy link
Member

manusa commented Jun 10, 2022

do we want to do this now or in a next release/pr? eclipse/jkube#287 (comment)

Maybe what we can do is in the next release:

  • fail when excuting one of the goals.
  • display warnings about the problems with using fmp and provide different resolution options
  • have a flag for user who still wants to use fmp that would reenable the goals.

That would be a period (3-6 months) after we release these changes

@manusa
Copy link
Member

manusa commented Jun 10, 2022

@sunix could you please take a look

I cannot add myself as a reviewer

😄 yes, that's why I pinged you in a message. But you should be able to provide a review or comment an LGTM

Copy link

@sunix sunix left a comment

Choose a reason for hiding this comment

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

Naming of the test method looks wrong.
Otherwise looks good to me.

}

@Test
public void logFabric8MavenPluginDeprecation_whenLogDeprecationFalse_shouldLogDeprecationWarning() {
Copy link

Choose a reason for hiding this comment

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

..._shouldLogDeprecationWarning or ..._shouldNotLogDeprecationWarning ?

@@ -2,6 +2,11 @@
[[introduction]]
= Introduction

IMPORTANT: *Fabric8 Maven Plugin is deprecated and is no longer be supported.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
IMPORTANT: *Fabric8 Maven Plugin is deprecated and is no longer be supported.
IMPORTANT: *Fabric8 Maven Plugin is deprecated and is no longer supported.

…r goal executions

Related to eclipse-jkube/jkube#1426

Add warning log message to print deprecation message and instruct users
to migrate to Eclipse JKube

Signed-off-by: Rohan Kumar <rohaan@redhat.com>
@manusa manusa merged commit 77337f5 into fabric8io:master Jun 13, 2022
@rohanKanojia rohanKanojia deleted the pr/issue1426 branch June 22, 2022 10:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants