Skip to content

Updates for Summer 2025#499

Merged
DavidWhitlock merged 21 commits intomainfrom
Summer2025-SNAPSHOT
Jun 2, 2025
Merged

Updates for Summer 2025#499
DavidWhitlock merged 21 commits intomainfrom
Summer2025-SNAPSHOT

Conversation

@DavidWhitlock
Copy link
Collaborator

@DavidWhitlock DavidWhitlock commented Apr 20, 2025

Resolve the following issues for the Summer 2025 offering of The Joy of Coding

DavidWhitlock and others added 16 commits April 20, 2025 13:28
…gin. In order to get the tests to pass, <requiredProperties> much be defined for each property that is referenced in the integration tests' archetype.properties files.
…-plugin-3.3.1

Resolve #491 by upgrading to version 3.3.1 of the maven-archetype-plugin.
…ess up loading dependencies from the production artifact repository.
…n-central

Publish artifact SNAPSHOTs to Maven Central
…ncies

Update dependencies for Summer 2025
@DavidWhitlock DavidWhitlock requested a review from Copilot May 24, 2025 12:42
Copy link
Contributor

Copilot AI left a 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 updates the project for the Summer 2025 offering by upgrading Java to version 21, bumping dependency and plugin versions, and switching to the Maven Central Snapshot repository. The changes include removal of legacy archetype.xml files, addition of requiredProperties in archetype-metadata.xml files, and updates in parent and module pom.xml files along with adjustments in the GitHub Actions workflow.

Reviewed Changes

Copilot reviewed 52 out of 52 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
projects-parent/archetypes-parent/apptbook-web-archetype/src/main/resources/META-INF/maven/archetype.xml Removed legacy archetype definition
projects-parent/archetypes-parent/apptbook-web-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml Added requiredProperties for new configuration
projects-parent/archetypes-parent/apptbook-web-archetype/pom.xml Updated parent and artifact versions
projects-parent/archetypes-parent/apptbook-archetype/src/main/resources/archetype-resources/pom.xml Updated dependency versions and parent reference
projects-parent/archetypes-parent/apptbook-archetype/src/main/resources/META-INF/maven/archetype.xml Removed legacy archetype definition
projects-parent/archetypes-parent/apptbook-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml Added requiredProperties for new configuration
projects-parent/archetypes-parent/apptbook-archetype/pom.xml Updated parent and artifact versions
projects-parent/archetypes-parent/airline-web-archetype/src/main/resources/archetype-resources/pom.xml Upgraded dependency versions
projects-parent/archetypes-parent/airline-web-archetype/src/main/resources/META-INF/maven/archetype.xml Removed legacy archetype definition
projects-parent/archetypes-parent/airline-web-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml Added requiredProperties for new configuration
projects-parent/archetypes-parent/airline-web-archetype/pom.xml Updated parent and artifact versions
projects-parent/archetypes-parent/airline-archetype/src/main/resources/archetype-resources/pom.xml Switched snapshot repository URL and updated dependency versions
projects-parent/archetypes-parent/airline-archetype/src/main/resources/META-INF/maven/archetype.xml Removed legacy archetype definition
projects-parent/archetypes-parent/airline-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml Added requiredProperties for new configuration
projects-parent/archetypes-parent/airline-archetype/pom.xml Updated parent, artifact versions, and snapshot repository configuration
pom.xml Upgraded Java version, dependency/plugin versions, and replaced OSSRH staging with central publishing
grader/pom.xml Updated parent and dependency versions
family/pom.xml Updated parent, artifact, and dependency versions
examples/pom.xml Updated parent and dependency versions
.github/workflows/maven.yml Simplified Java version matrix to use Java 21
Comments suppressed due to low confidence (3)

projects-parent/archetypes-parent/apptbook-web-archetype/src/main/resources/META-INF/maven/archetype.xml:1

  • The archetype.xml file has been completely removed. Please ensure that any tooling or processes that depend on this legacy file are updated to use the new archetype-metadata.xml format.
<?xml version="1.0" encoding="UTF-8"?><archetype> ...

projects-parent/archetypes-parent/airline-web-archetype/src/main/resources/META-INF/maven/archetype.xml:1

  • The removal of this archetype.xml file appears intentional; please verify that legacy processes or integrations that expect this file are updated accordingly.
<?xml version="1.0" encoding="UTF-8"?><archetype> ...

projects-parent/archetypes-parent/airline-archetype/src/main/resources/archetype-resources/pom.xml:101

  • The Maven Snapshot repository URL has been updated. It would be good to double-check that this URL is correct and accessible across all modules.
<url>https://central.sonatype.com/repository/maven-snapshots/</url>

strategy:
matrix:
java: [ '17', '22' ]
java: [ '21' ]
Copy link

Copilot AI May 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The workflow matrix now includes only a single Java version. Consider simplifying the workflow configuration if supporting multiple versions is no longer necessary.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you check this again? I re-added a second version of Java.

@DavidWhitlock DavidWhitlock merged commit 40bf243 into main Jun 2, 2025
4 of 8 checks passed
@DavidWhitlock DavidWhitlock deleted the Summer2025-SNAPSHOT branch June 2, 2025 12:39
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.

Migrate to publishing Maven Central from Sonatype URLs Support Java 24 Only support Java 21 and later Upgrade to maven-archetype-plugin 3.3.1

2 participants