Skip to content

Conversation

@slawekjaranowski
Copy link
Member

Standard mojos and reports have different parent classes, so we need to extract tasks which both will execute.

We cannot use one abstract for both.

Standard mojos and reports have different parent classes, so we need to extract tasks which both will execute. We cannot use one abstract for both.
@slawekjaranowski slawekjaranowski self-assigned this May 22, 2025
@adangel adangel changed the title Introduce service executors for Cpd, Pdm executors Introduce service executors for CPD, PMD executors May 23, 2025
Copy link
Member

@adangel adangel left a comment

Choose a reason for hiding this comment

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

LGTM.

I wonder, whether we could merge CpdExecutor + CpdServiceExecutor and PmdExecutor + PmdServiceExecutor and Executor + ServiceExecutor. Having both an "executor" and a "service executor" sounds unnecessary to me...

Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
@slawekjaranowski
Copy link
Member Author

LGTM.

I wonder, whether we could merge CpdExecutor + CpdServiceExecutor and PmdExecutor + PmdServiceExecutor and Executor + ServiceExecutor. Having both an "executor" and a "service executor" sounds unnecessary to me...

CpdExecutor/PmdExecutor are use in fokr mode with main static method .... but ServiceExecutor I use a constructor for inject needed components.

@slawekjaranowski slawekjaranowski merged commit 6cd4f55 into apache:master May 23, 2025
20 checks passed
@slawekjaranowski slawekjaranowski deleted the service-executor branch May 23, 2025 20:57
@github-actions github-actions bot added this to the 3.26.1 milestone May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants