Skip to content

Conversation

grablack
Copy link
Contributor

@grablack grablack commented Aug 6, 2025

Description

Screenshots

Testing instructions

grablack and others added 30 commits July 29, 2025 09:44
- Properly implement HTTP request for publishing artifacts to Central Portal API
- Add detailed deployment status checking with proper API call
- Display sync delay note to explain time gap before artifacts appear on Maven Central

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
…blishing

- Add multiple possible POM file locations including CI-specific paths
- Add automatic POM file generation with proper XML tags
- Implement more robust signature file handling with fallbacks
- Add detailed logging for better debugging
- Fix error handling with more informative messages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Replace custom HTTP implementation with official Maven Central plugin
- Add Maven settings and POM configuration
- Fix authentication by using proper Maven settings
- Update GitHub workflows to use the new publishing method
- Add improved error handling and logging

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Fix version expression in POM (changed from variable to hardcoded value)
- Fix unknown packaging type 'aar' (changed to 'jar')
- Fix artifact copying to extract classes.jar from AAR
- Fix autoPublish variable substitution

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Fix YAML formatting issues that caused parsing errors in action.yml
- Fix XML element name tags (<n> to <name>)
- Add sed commands to replace variables properly

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Add maven-gpg-plugin to POM to sign artifacts
- Add GPG profile to Maven settings.xml
- Import GPG key before deployment
- Pass GPG passphrase to Maven

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Remove the status check that was causing errors (not needed)
- Add clear informational messages about the deployment status
- Explain next steps after successful deployment

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Use the proper artifactId 'paypal-messages' instead of 'library'
- Extract artifactId value dynamically from library's build.gradle
- Update JAR filename to match correct artifactId
- Add helpful information about the published artifact

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Dynamically extract the project name from build.gradle
- Use project.ext.pom_name value (PayPal Messages) as the display name
- Update deployment information output to show the project name
- Fix all XML name tags to ensure proper format in POM file

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Check for USE_SNAPSHOT environment variable in the GitHub Action
- Add -SNAPSHOT suffix to version when USE_SNAPSHOT=true
- This ensures snapshot releases use distinct versions from regular releases
- Fix name tags in XML POM template for proper Maven Central standards

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Change project name to 'Messages' in the POM file
- This will make the deployment show as 'Messages' instead of 'Deployment' in the Portal UI
- Set the name directly rather than extracting it from the build file
- Fix all XML name tags to ensure proper format

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Add new "Manual Publishing Approval" section with step-by-step instructions
- Include information about clicking the Publish button in Sonatype Central Portal
- Add link to the deployments page: https://central.sonatype.com/publishing/deployments
- Add common issues section with explanations for "Component already exists" errors
- Improve overall documentation structure and readability

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
… Portal publishing

- Switch from incorrect direct API calls to NMCP plugin aggregation approach
- Use proper Maven Central Portal API through community-supported plugin
- Configure NMCP aggregation at root level with automatic publishing
- This should resolve the 404 API errors and duplicate artifact issues
- Replace sed command that introduced tabs with awk approach using spaces
- Ensures proper YAML indentation for GitHub Actions compatibility
- Change ${version} to + version to avoid YAML template variable conflict
- This prevents the YAML parser from trying to interpret it as a GitHub Actions variable
grablack and others added 22 commits August 4, 2025 09:51
…sed components during snapshot publishing and configure signing for all tasks. Clean project before building to ensure fresh state.
- Force AAR packaging type in POM configuration
- Add dependencies section to POM via withXml
- Configure explicit publishing for library module
- Fix artifactId and packaging in library/pom.xml

These changes fix the build failures in consumer projects by ensuring
the SDK is published with correct Maven metadata.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
…dle for minification

- Introduced a new PROGUARD.md file detailing ProGuard rules for the PayPal Messages Android SDK, including rules for OkHttp, Gson, and Kotlin Coroutines.
- Updated demo/build.gradle to include a debug build variant with minification enabled for testing.
- Enhanced demo/proguard-rules.pro with necessary rules for OkHttp and Gson to ensure proper functionality during minification.
Copy link
Contributor

github-actions bot commented Aug 6, 2025

Code Coverage

File Coverage [0.00%]
library/src/main/java/com/paypal/messages/utils/FragmentDismissHelper.kt 0.00%
Total Project Coverage 54.96%

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.

1 participant