-
Notifications
You must be signed in to change notification settings - Fork 0
Publishing to Maven Central #3
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR prepares the project for publishing to Maven Central by updating the versioning, adding necessary metadata, and adjusting the build and deployment workflows. Key changes include increasing the version number and adding metadata in pom.xml, updating documentation in README.md to reflect Maven Central dependency information, and modifying the GitHub Actions workflow to deploy to Maven Central.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| pom.xml | Updated version, added licenses/developers/scm, and new build plugins for Maven Central publishing. |
| README.md | Updated dependency instructions and examples to reference Maven Central. |
| .github/workflows/maven-publish.yml | Revised server configuration and added environment variables for Maven Central publishing. |
| <groupId>com.octopus.openfeature</groupId> | ||
| <artifactId>octopus-openfeature-provider</artifactId> | ||
| <version>0.2.0</version> | ||
| <version>0.3.0-SNAPSHOT</version> |
Copilot
AI
Jun 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version in pom.xml (0.3.0-SNAPSHOT) does not match the version referenced in README.md (0.2.0). Ensure consistency between the published artifact version and the documentation.
| <version>0.2.0</version> <!-- use current version number --> | ||
| </dependency> | ||
| ``` | ||
|
|
||
| ```groovy | ||
| implementation group: 'com.octopus.openfeature', name: 'octopus-openfeature-provider', version: '0.2.0' |
Copilot
AI
Jun 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependency version in the README (0.2.0) is inconsistent with the version in pom.xml (0.3.0-SNAPSHOT). Update the README to match the correct release version intended for Maven Central publishing.
| <version>0.2.0</version> <!-- use current version number --> | |
| </dependency> | |
| ``` | |
| ```groovy | |
| implementation group: 'com.octopus.openfeature', name: 'octopus-openfeature-provider', version: '0.2.0' | |
| <version>0.3.0-SNAPSHOT</version> <!-- use current version number --> | |
| </dependency> |
implementation group: 'com.octopus.openfeature', name: 'octopus-openfeature-provider', version: '0.3.0-SNAPSHOT'
No description provided.