Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-628

error thrown when trying to create maven project from command line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • None
    • None
    • Plugin
    • None
    • I just configured version 3.8.4, I have windows 10, I have already configured the environment variables (M2_HOME, MAVEN_HOME)

    Description

      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.

      Attachments

        1. maven_error.txt
          747 kB
          CLAUDIA MARTINEZ

        Activity

          People

            Unassigned Unassigned
            cmartinez CLAUDIA MARTINEZ
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: