Archetype Build Problem - Groovy Dependency
See original GitHub issueExpected Behaviour
Running the following command should create a new AEM SPA project and successfully execute the build:
mvn -B archetype:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=23 -DaemVersion=6.4.8 -DappTitle="My SPA Site" -DappId="spasite" -DgroupId="com.spasite" -DfrontendModule=angular -DincludeExamples=n
Actual Behaviour
During the build process the step “Executing META-INF/archetype-post-generate.groovy post-generation script” hangs for a bit, then the build fails with the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate (default-cli) on project standalone-pom: startup failed:
[ERROR] General error during conversion: Error grabbing Grapes -- [unresolved dependency: org.codehaus.groovy#groovy-all;2.4.8: not found]
[ERROR] java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: org.codehaus.groovy#groovy-all;2.4.8: not found]
Steps to Reproduce
Run the following command in a command window to create a new project:
mvn -B archetype:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=23 -DaemVersion=6.4.8 -DappTitle="My SPA Site" -DappId="spasite" -DgroupId="com.spasite" -DfrontendModule=angular -DincludeExamples=n
Platform and Version
mvn: 3.6.3 AEM: 6.4.8 Java: 1.8
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
this should be fixed in archetype. What kind of archetype is this, if it’s not working initially? it’s useless. delete it or fix it!
This issues doesn’t seem to be related to the archetype , see: https://stackoverflow.com/questions/16871792/groovy-grab-download-failed
So closing this issue for now. Reopen if you think this issue needs to be solved inside the archetype project itself.