question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Improvement] Introduce Maven Modernizer plugin to Pulsar

See original GitHub issue

As discussed in dev mail list: https://lists.apache.org/thread.html/re99b342765b2cfb26f3da0eedfb78e7312de158bf6c7ed0085d32781%40<dev.pulsar.apache.org> We want to introduce Maven Modernizer plugin to Pulsar. This plugin helps detecting uses of legacy APIs which can be replaced with modern APIs that are often more performant, safer, and idiomatic than the legacy equivalents. We’ll break down the task by sub-module so anyone interested can work on a sub-module independently. We’ll start with checking violation with Java 8. Acceptance criteria will be passing existing CI. Help are welcome, please reply with module you want to work on so there won’t be conflict. And if change for single module is too big, please break down pr to reasonable size, say < 100 change so it’s easier to review. Please don’t close the master issue via comment.

<plugin>
    <groupId>org.gaul</groupId>
    <artifactId>modernizer-maven-plugin</artifactId>
    <configuration>
        <failOnViolations>true</failOnViolations>
        <javaVersion>8</javaVersion>
    </configuration>
    <executions>
        <execution>
            <id>modernizer</id>
            <goals>
                <goal>modernizer</goal>
            </goals>
        </execution>
    </executions>
</plugin>
  • managed-ledger
  • pulsar-common
  • pulsar-broker-common
  • pulsar-broker-auth-athenz
  • pulsar-broker-auth-sasl
  • pulsar-broker
  • pulsar-client-api
  • pulsar-client
  • pulsar-client-admin-api
  • pulsar-client-admin
  • pulsar-client-tools
  • pulsar-client-tools-test
  • pulsar-client-auth-athenz
  • pulsar-client-auth-sasl
  • pulsar-websocket
  • pulsar-proxy
  • pulsar-discovery-service
  • pulsar-zookeeper-utils
  • pulsar-testclient
  • pulsar-config-validation
  • pulsar-transaction
  • pulsar-functions
  • pulsar-metadata
  • pulsar-package-management

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tisonkuncommented, Sep 5, 2022

Concretely, we turn on the plugin for pulsar-broker, but ignore several patterns now for gradually handling them. I think @youzipi is actively working on this. We can help with reviewing.

Flaky tests hurt a lot 😦

0reactions
tisonkuncommented, Oct 13, 2022

@MarvinCai @codelipenghui @nodece should be closed by #17968.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Re: [PROPOSAL] Introduce Maven Modernizer plugin to Pulsar
Hi Pulsar Community, > > I'd like to propose that we introduce Maven Modernizer[1] plugin into > Pulsar project. > This plugin helps...
Read more >
modernizer-maven-plugin Joda Instant - java - Stack Overflow
But the project I am working on uses the modernizer-maven-plugin and there is a violation on Prefer java.time.Instant.
Read more >
Untitled
Catra from clicker heroes, Piclens addon, Amc prime las vegas, Entree clothing kid ... Film art an introduction 9th edition free, Win7 orb...
Read more >
Untitled
Perroquet qui chante gangnam, Simple tips to improve your tennis game, ... Major league baseball top plays, Lesscss-maven-plugin repository, ...
Read more >
https://raw.githubusercontent.com/codeverland/book...
tagged/maven-plugin.md), [java](. ... This talk gives an introduction to monitoring with Prometheus, ... Fluent assertions that improve readability.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found