Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve Publishing to Maven Central and Documentation Deployment Issues #3

Merged
merged 8 commits into from
Nov 20, 2023

Conversation

teogor
Copy link
Owner

@teogor teogor commented Nov 20, 2023

This pull request addresses the encountered errors while publishing the project to Maven Central and deploying the documentation. The specific issues tackled include:

  1. Missing License in POM: The project's POM file lacked a license declaration, which is mandatory for Maven Central publication. A valid license declaration has been added to comply with Maven Central's guidelines.

  2. Incomplete POM License Declaration: The initial license declaration in the POM file was incomplete, missing the license URL. The license declaration has been updated to include the complete license name and URL.

  3. Erroneous Documentation Deployment Path: The documentation deployment process was using an incorrect path, leading to deployment failures. The deployment path has been corrected to ensure proper documentation placement.

  4. Missing Gradle Properties for Maven Central Credentials: The Gradle properties file lacked the required credentials (mavenCentralUsername and mavenCentralPassword) for accessing Maven Central. These credentials have been added to the properties file to enable artifact publication.

  5. Unused pom Closure: The pom closure within the mavenPublishing block was not being invoked for the Android library, preventing POM configuration. The mavenPublishing block has been updated to use the android-maven-publish plugin instead, which properly handles POM configuration for Android libraries.

@teogor teogor self-assigned this Nov 20, 2023
@teogor teogor merged commit ff798bb into main Nov 20, 2023
7 of 8 checks passed
@zeobot zeobot bot deleted the fix/actions branch November 20, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

1 participant