Maven in 5 Minutes issue

前端 未结 6 1430
夕颜
夕颜 2021-02-14 04:17

I\'m following Maven in 5 Minutes manual with the following:

mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-a         


        
6条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-14 04:54

    I am not sure that you are running "mvn compile" from POM directory and that is why it is asking for POM.

    If so, simply go to directory where pom is located and then fire "mvn install" or any other Maven commands.

提交回复
热议问题