Skip to content

init.#10

Open
Sergei-Kovalev wants to merge 2 commits into
EffectiveMobile:mainfrom
Sergei-Kovalev:dev-kovalev
Open

init.#10
Sergei-Kovalev wants to merge 2 commits into
EffectiveMobile:mainfrom
Sergei-Kovalev:dev-kovalev

Conversation

@Sergei-Kovalev

Copy link
Copy Markdown

No description provided.

public void execute() throws MojoExecutionException, MojoFailureException {
List<Developer> developers = mavenProject.getDevelopers();
if (developers == null || developers.isEmpty()) {
getLog().info("No developers found.");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

лучше warn

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

}

private static String generateDeveloperInfo(Developer developer) {
return String.format(DEVELOPERS_INFO,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

тут тож надо всякие проверки на npe добавить

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

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