Skip to content

Fix profile resolution in grails-shell-cli #14689

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

Merged
merged 6 commits into from
May 2, 2025

Conversation

jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented May 1, 2025

This PR takes the code back to a single repository, instead of trying to use two. It uses apache when grailsVersion is a SNAPSHOT

This PR gives you a grails-shell-cli distribution that will download the profiles based on grails-bom, including SNAPSHOTS, and generate a functioning web profile application.

@jamesfredley jamesfredley changed the title Simplify back to a single maven repository Fix profile resolution in grails-shell-cli May 1, 2025
@jdaugherty
Copy link
Contributor

#14691 will fix the invalid pom. FYI: if you want to generate a valid pom, you must adhere to the correct maven scopes, so I've mapped profile api => runtime, and profile runtime => compile.

@jdaugherty
Copy link
Contributor

I believe this is obsoleted by #14691

@jamesfredley jamesfredley self-assigned this May 2, 2025
@jamesfredley jamesfredley moved this to In Progress in Apache Grails 7.0.x May 2, 2025
@jamesfredley jamesfredley added this to the grails:7.0.0-M4 milestone May 2, 2025
@jamesfredley jamesfredley requested a review from jdaugherty May 2, 2025 21:27
@@ -17,13 +17,11 @@ skeleton:
executable: ["**/gradlew*", "**/grailsw*"]
binaryExtensions: ['png','gif','jpg','jpeg','ico','icns','pdf','zip','jar','class']
repositories:
- "https://repo1.maven.org/maven2"
- "https://repository.apache.org/content/groups/snapshots"
- "https://repository.apache.org/content/groups/public"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

#14706 - issue to adjust this on non SNAPSHOT builds

@jamesfredley jamesfredley merged commit cf0cc75 into 7.0.x May 2, 2025
34 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache Grails 7.0.x May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Update grails-shell-cli to correctly handle mavenCentral and Apache Snapshot Repo
2 participants