Skip to content

Prepare CQEngine Next 1.0.0 for Maven Central deployment#7

Draft
Copilot wants to merge 5 commits intomasterfrom
copilot/prepare-first-release-1-0-0
Draft

Prepare CQEngine Next 1.0.0 for Maven Central deployment#7
Copilot wants to merge 5 commits intomasterfrom
copilot/prepare-first-release-1-0-0

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 19, 2025

Prepare CQEngine Next 1.0.0 for Maven Central Release

✅ All Steps Completed:

  • Update version from 1.0.0-SNAPSHOT to 1.0.0 in pom.xml
  • Verify all Maven Central requirements are met:
    • POM metadata (name, description, URL, licenses, SCM, developers)
    • GPG signing configuration (release-sign-artifacts profile)
    • Sources JAR generation and attachment ✅
    • Javadoc JAR generation and attachment ✅
    • Distribution management (OSSRH)
  • Update README.md to reflect 1.0.0 release and Maven Central availability
  • Update CHANGELOG.md with 1.0.0 release information and notes
  • Create comprehensive documentation:
    • RELEASE.md - Detailed deployment guide with troubleshooting
    • DEPLOYMENT_CHECKLIST.md - Quick reference checklist
  • Verify build with Java 21 (BUILD SUCCESS)
  • Test release profile build (SUCCESS with gpg.skip=true)
  • Confirm all required artifacts are generated and attached:
    • cqengine-1.0.0.jar (1.1 MB)
    • cqengine-1.0.0-sources.jar (568 KB) - Properly attached
    • cqengine-1.0.0-javadoc.jar (3.7 MB) - Properly attached
    • cqengine-1.0.0-jar-with-dependencies.jar (16 MB)
  • Code review passed (no issues)
  • Security scan passed (no vulnerabilities)

🎯 Project Ready for Maven Central Deployment

The project is fully prepared for its first official release to Maven Central. All requirements are satisfied:

Maven Central Compliance:

  • ✅ Valid POM with all required metadata
  • ✅ Apache License 2.0 specified
  • ✅ SCM information configured
  • ✅ Developer information complete
  • ✅ GPG signing configured
  • ✅ All required JARs generated and properly attached for deployment

Documentation:

  • ✅ RELEASE.md - Complete deployment guide
  • ✅ DEPLOYMENT_CHECKLIST.md - Quick reference
  • ✅ Updated README.md with Maven Central instructions
  • ✅ Updated CHANGELOG.md with release notes

🚀 Next Steps (Manual - Requires OSSRH Account & GPG Key):

  1. Deploy to Maven Central:

    cd code
    mvn clean deploy -Prelease-sign-artifacts -DperformRelease=true
  2. Release from OSSRH Staging:

  3. Create GitHub Release:

    • Tag: v1.0.0
    • Attach generated JAR files

When deployed, Maven Central will receive:

  • Main JAR (cqengine-1.0.0.jar)
  • Sources JAR (cqengine-1.0.0-sources.jar)
  • Javadoc JAR (cqengine-1.0.0-javadoc.jar)
  • POM file (cqengine-1.0.0.pom)
  • GPG signatures for all artifacts

See RELEASE.md for detailed instructions and troubleshooting.

Original prompt

I want to prepare this project to deploy the very first version of it 1.0.0 to maven central


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits December 19, 2025 17:54
- Update pom.xml version from 1.0.0-SNAPSHOT to 1.0.0
- Update README.md with Maven Central availability and version 1.0.0
- Update CHANGELOG.md with 1.0.0 release information
- Add RELEASE.md with comprehensive deployment guide
- Verify build success with all required artifacts (main jar, sources, javadoc)

Co-authored-by: MSaifAsif <6280554+MSaifAsif@users.noreply.github.com>
- Change maven-javadoc-plugin goal from javadoc-no-fork to jar
- Ensures javadoc JAR is properly created during verify phase
- Verified all 4 required artifacts are now generated correctly

Co-authored-by: MSaifAsif <6280554+MSaifAsif@users.noreply.github.com>
- Create DEPLOYMENT_CHECKLIST.md with quick reference guide
- Lists all completed pre-deployment verifications
- Provides step-by-step deployment instructions
- Includes build commands and verification steps

Co-authored-by: MSaifAsif <6280554+MSaifAsif@users.noreply.github.com>
Copilot AI changed the title [WIP] Prepare project for initial deployment to Maven Central Prepare CQEngine Next 1.0.0 for Maven Central deployment Dec 19, 2025
Copilot AI requested a review from MSaifAsif December 19, 2025 17:59
@MSaifAsif
Copy link
Copy Markdown
Owner

@copilot Can you also ensure that javadocs and sources are also going to be published ?

…ment

- Remove explicit phase declarations from maven-source-plugin and maven-javadoc-plugin
- Let plugins run in their default phases to ensure proper artifact attachment
- Verified all artifacts (main, sources, javadoc) are built and installed correctly

Co-authored-by: MSaifAsif <6280554+MSaifAsif@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Dec 19, 2025

@copilot Can you also ensure that javadocs and sources are also going to be published ?

Yes, both javadoc and sources JARs are configured and will be published to Maven Central. I've verified the configuration in commit 5ef7b3b.

The build now properly generates and attaches:

  • cqengine-1.0.0.jar (main)
  • cqengine-1.0.0-sources.jar (sources) ✅
  • cqengine-1.0.0-javadoc.jar (javadoc) ✅
  • cqengine-1.0.0.pom (POM)

All will be deployed to Maven Central when running mvn deploy -Prelease-sign-artifacts -DperformRelease=true.

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