idea安装

2023-12-20 17:53:08

mac安装路径
/Users/xxx/Library/Application Support/JetBrains/IntelliJIdeaxxx版本
将路径内文件直接复制到新版本即可, 注意如果为破解版idea.vmoptions配置中的内容是否添加或删除

maven配置如果使用idea, 需要在应用程序IntelliJ IDEA.app中显示包内容, /Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/conf/settings.xml注释掉以下内容, 避免无法下载jar包内容

<!-- mirror
     | Specifies a repository mirror site to use instead of a given repository. The repository that
     | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
     | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
     |
    <mirror>
      <id>mirrorId</id>
      <mirrorOf>repositoryId</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
      <url>http://my.repository.com/repo/path</url>
    </mirror>
     
    <mirror>
      <id>maven-default-http-blocker</id>
      <mirrorOf>external:http:*</mirrorOf>
      <name>Pseudo repository to mirror external repositories initially using HTTP.</name>
      <url>http://0.0.0.0/</url>
      <blocked>true</blocked>
    </mirror>-->

文章来源:https://blog.csdn.net/leave417/article/details/135112561
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。