Is there a way to tell maven where to place the artifacts?

后端 未结 2 1584
野的像风
野的像风 2021-02-09 21:26

I am running both maven inside the m2eclipse plugin, windows command line and my cygwin command line.

cygwin\'s bash shell dumps artifacts into the cygwin /home/me/.m2 d

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-09 21:43

    Sure, several ways. The most typical is to specify this in your settings.xml file:

    • http://maven.apache.org/settings.html
    
      /my/secret/repository
    
    

提交回复
热议问题