maven generating pom file

前端 未结 8 1719
情深已故
情深已故 2020-12-02 14:33

I use maven 3.0.3 and have tried to generate pom for third-party jar like this:

mvn install:install-file -Dfile=cobra.jar -DgroupId=com.cobra -Darti

8条回答
  •  春和景丽
    2020-12-02 15:23

    I had that error when I was using maven in Windows, what worked for me was opening the cmd and not the PowerShell. Apparently certain errors appear when you don't do it with the cmd. I hope it works.

提交回复
热议问题