Skip to content

ci: добавить плагины валидации POM и javadoc-job#5

Merged
nixel2007 merged 2 commits into
masterfrom
claude/release-publication-workflow-0YwSr
May 21, 2026
Merged

ci: добавить плагины валидации POM и javadoc-job#5
nixel2007 merged 2 commits into
masterfrom
claude/release-publication-workflow-0YwSr

Conversation

@nixel2007
Copy link
Copy Markdown
Member

Падение publish-to-maven-central на master было из-за отсутствия обязательного для Maven Central элемента в POM.

build.gradle.kts:

  • io.freefair.maven-central.validate-poms 9.2.0 — валидация POM; validatePomFiles повешен на publishMavenPublicationTo* через PublishToMavenRepository, чтобы валидация шла до деплоя
  • ru.vyarus.pom 3.0.0 — обогащение POM
  • io.freefair.javadoc-links/javadoc-utf-8 9.2.0 — корректные javadoc
  • pom.name явно задан как "BSL Help TOC Parser"
  • tasks.javadoc: links на antlr4-runtime, isFailOnError = false (в сгенерированных ANTLR классах нет javadoc-комментариев)

.github/workflows/javadoc.yml — отдельный check сборки javadoc по образцу bsl-language-server.

Падение publish-to-maven-central на master было из-за отсутствия
обязательного для Maven Central элемента <name> в POM.

build.gradle.kts:
- io.freefair.maven-central.validate-poms 9.2.0 — валидация POM;
  validatePomFiles повешен на publishMavenPublicationTo* через
  PublishToMavenRepository, чтобы валидация шла до деплоя
- ru.vyarus.pom 3.0.0 — обогащение POM
- io.freefair.javadoc-links/javadoc-utf-8 9.2.0 — корректные javadoc
- pom.name явно задан как "BSL Help TOC Parser"
- tasks.javadoc: links на antlr4-runtime, isFailOnError = false
  (в сгенерированных ANTLR классах нет javadoc-комментариев)

.github/workflows/javadoc.yml — отдельный check сборки javadoc
по образцу bsl-language-server.
Copilot AI review requested due to automatic review settings May 21, 2026 16:40
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 21, 2026

Warning

Rate limit exceeded

@nixel2007 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 26 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 23ca6c1e-1caf-4146-8175-d705cd02facc

📥 Commits

Reviewing files that changed from the base of the PR and between e0e87bb and 501e056.

⛔ Files ignored due to path filters (1)
  • .github/workflows/javadoc.yml is excluded by !**/*.yml
📒 Files selected for processing (1)
  • build.gradle.kts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/release-publication-workflow-0YwSr

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Обновление Gradle/CI-конфигурации, чтобы предотвратить повторение падения публикации в Maven Central из‑за некорректного/неполного POM и добавить отдельную проверку сборки Javadoc в GitHub Actions.

Changes:

  • Подключены Gradle-плагины для валидации POM (перед publish), обогащения POM и улучшения генерации Javadoc.
  • Добавлена настройка tasks.javadoc (javadoc links + отключение fail-on-error) и явное pom.name.
  • Добавлен GitHub Actions workflow для проверки сборки Javadoc на push/PR.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
build.gradle.kts Добавляет плагины для валидации/обогащения POM и настройки Javadoc, включает проверку POM перед публикацией, задаёт pom.name.
.github/workflows/javadoc.yml Добавляет отдельный CI job для проверки сборки Javadoc на JDK 21.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

В репозитории нет веток translations_*, фильтр пришёл из шаблона
bsl-language-server и здесь лишний.
@nixel2007 nixel2007 merged commit 73fcef7 into master May 21, 2026
3 checks passed
@nixel2007 nixel2007 deleted the claude/release-publication-workflow-0YwSr branch May 21, 2026 16:47
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.

3 participants