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

New project build failed #22

Open
the-dugi opened this issue Nov 5, 2020 · 0 comments
Open

New project build failed #22

the-dugi opened this issue Nov 5, 2020 · 0 comments

Comments

@the-dugi
Copy link

the-dugi commented Nov 5, 2020

Hi
I can not create a new project via percli.

$ percli create project testproject

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:3.2.0:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:3.2.0:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:3.2.0:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Batch mode
[WARNING] Specified archetype not found.
Downloading: file:///usr/lib/node_modules/percli/maven/repo/com/peregrine-cms/peregrine-project-archetype/1.0/peregrine-project-archetype-1.0.pom
[WARNING] The POM for com.peregrine-cms:peregrine-project-archetype:jar:1.0 is missing, no dependency information available
Downloading: file:///usr/lib/node_modules/percli/maven/repo/com/peregrine-cms/peregrine-project-archetype/1.0/peregrine-project-archetype-1.0.jar
Downloading: https://repo.maven.apache.org/maven2/com/peregrine-cms/peregrine-project-archetype/1.0/peregrine-project-archetype-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.802 s
[INFO] Finished at: 2020-11-05T21:58:54+01:00
[INFO] Final Memory: 21M/467M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.0:generate (default-cli) on project standalone-pom: The desired archetype does not exist (com.peregrine-cms:peregrine-project-archetype:1.0) -> [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/MojoFailureException
(node:16890) UnhandledPromiseRejectionWarning: #
(node:16890) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:16890) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Using
Ubuntu 16.04
NPM 6.14.6
Maven 3.3.9
Java 1.8

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

1 participant