Skip to content

Conversation

@Lunkle
Copy link
Member

@Lunkle Lunkle commented Feb 21, 2025

Update the project to publish to both GitHub Packages and Maven Central on new release creation.

  • GitHub Actions Workflow:

    • Update .github/workflows/publish.yml to include steps for publishing to Maven Central.
    • Add a new job to publish to Maven Central on release creation.
    • Use the maven-publish action to publish to Maven Central.
    • Add environment variables for Maven Central credentials.
  • POM Configuration:

    • Add the Maven Central repository to the <distributionManagement> section in pom.xml.
    • Add necessary plugins and configuration for publishing to Maven Central.
  • Settings Configuration:

    • Add the Maven Central server configuration in settings.xml.
    • Use environment variables for Maven Central credentials.
  • Documentation:

    • Update README.md to mention automatic deployment to both GitHub Packages and Maven Central.

For more details, open the Copilot Workspace session.

Update the project to publish to both GitHub Packages and Maven Central on new release creation.

* **GitHub Actions Workflow**:
  - Update `.github/workflows/publish.yml` to include steps for publishing to Maven Central.
  - Add a new job to publish to Maven Central on release creation.
  - Use the `maven-publish` action to publish to Maven Central.
  - Add environment variables for Maven Central credentials.

* **POM Configuration**:
  - Add the Maven Central repository to the `<distributionManagement>` section in `pom.xml`.
  - Add necessary plugins and configuration for publishing to Maven Central.

* **Settings Configuration**:
  - Add the Maven Central server configuration in `settings.xml`.
  - Use environment variables for Maven Central credentials.

* **Documentation**:
  - Update `README.md` to mention automatic deployment to both GitHub Packages and Maven Central.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/virtual-cardboard/nengen?shareId=XXXX-XXXX-XXXX-XXXX).
@Lunkle Lunkle closed this Feb 21, 2025
@Lunkle Lunkle deleted the Lunkle/publish-maven-central branch February 21, 2025 23:52
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