You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "CLAUDIA MARTINEZ (Jira)" <ji...@apache.org> on 2022/03/12 00:16:00 UTC

[jira] [Created] (ARCHETYPE-628) error thrown when trying to create maven project from command line

CLAUDIA MARTINEZ created ARCHETYPE-628:
------------------------------------------

             Summary: error thrown when trying to create maven project from command line
                 Key: ARCHETYPE-628
                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-628
             Project: Maven Archetype
          Issue Type: Bug
          Components: Plugin
         Environment: I just configured version 3.8.4, I have windows 10, I have already configured the environment variables (M2_HOME, MAVEN_HOME)
            Reporter: CLAUDIA MARTINEZ
         Attachments: maven_error.txt

I just configured version 3.8.4, I have windows 10, I have already configured the environment variables (M2_HOME, MAVEN_HOME), and I am trying to create a maven project from the console with the following line:

mvn archetype:generate

or I have also tried with the sentence that they suggest in the maven site:

mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false

But it always throws me the same error (see attached txt file), that the plugin for the "Archetype" prefix was not found.

I already googled the error, and it seems that everything works very well for everyone, but it has not allowed me to create the project from the command line.

I hope you can help me.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)