fernando88to opened a new issue, #15350:
URL: https://github.com/apache/grails-core/issues/15350

   ### Expected Behavior
   
   The command grails create-app my-app should successfully create a new Grails 
application using default settings, regardless of whether the forge template is 
explicitly invoked or if specific flags (jdk, gorm, etc.) are provided.
   
   ### Actual Behaviour
   
   The command grails create-app grails7062 hangs for a while and eventually 
fails with the following dependency resolution error:
   
   `| Error [main] INFO 
org.eclipse.aether.internal.impl.DefaultArtifactResolver - Artifact 
org.apache.ant:ant:pom:1.10.15 is present in the local repository, but cached 
from a remote repository ID that is unavailable in current build context, 
verifying that is downloadable from [apacheRepository 
(https://repository.apache.org/content/groups/public, default, 
releases+snapshots), grailsRepo (https://repo.grails.org/grails/restricted, 
default, releases+snapshots), central (https://repo.maven.apache.org/maven2, 
default, releases)]`
   
   
   Interestingly, providing explicit flags and using the forge template works 
perfectly on the same environment:
   
   
   `grails -t forge create-app bookstore \
       --jdk=17 \
       --gorm=hibernate \
       --servlet=tomcat \
       --test=spock
   # Output: Application created at ...`
   
   ### Steps To Reproduce
   
   sdk use grails 7.0.6
   grails create-app grails7062
   
   ### Environment Information
   
   | Grails Version: 7.0.6
   | JVM Version: 17.0.15
   
   
   ### Example Application
   
   _No response_
   
   ### Version
   
   7.0.6


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to