Skip to content
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

mvn命令构建web项目时报错 #564

Open
qq1021253810 opened this issue Nov 18, 2024 · 1 comment
Open

mvn命令构建web项目时报错 #564

qq1021253810 opened this issue Nov 18, 2024 · 1 comment

Comments

@qq1021253810
Copy link

1731942356421

[INFO] cola-dummy-aggregation-parent dummy-SNAPSHOT ....... FAILURE [ 0.555 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.188 s
[INFO] Finished at: 2024-11-18T23:03:06+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.3.1:generate (default-cli) on project cola-dummy-aggregation-parent: The desired archetype does not exist (com:cola-framework-archetype-web:5) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :cola-dummy-aggregation-parent

@KinMan-ZHR
Copy link

in windows platform, you need command like this:
mvn archetype:generate "-DgroupId=com.alibaba.cola.demo.web" -DartifactId=demo-web "-Dversion=1.0.0-SNAPSHOT" "-Dpackage=com.alibaba.demo" -DarchetypeArtifactId=cola-framework-archetype-web "-DarchetypeGroupId=com.alibaba.cola" "-DarchetypeVersion=5.0.0"

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

No branches or pull requests

2 participants