settings.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  5. <localRepository>D:\repository</localRepository>
  6. <pluginGroups>
  7. <pluginGroup>org.mortbay.jetty</pluginGroup>
  8. </pluginGroups>
  9. <proxies>
  10. </proxies>
  11. <servers>
  12. <server>
  13. <id>echo2-group</id>
  14. <username>admin</username>
  15. <password>admin123</password>
  16. </server>
  17. <server>
  18. <id>Snapshots</id>
  19. <username>ali</username>
  20. <password>ali</password>
  21. </server>
  22. </servers>
  23. <mirrors>
  24. <mirror>
  25. <!--This sends everything else to /public -->
  26. <id>echo2-group</id>
  27. <mirrorOf>*</mirrorOf>
  28. <url>https://nexus.ok6.cc/repository/echo2-group/</url>
  29. </mirror>
  30. <!-- 20250514 lxx -->
  31. <mirror>
  32. <id>alimaven</id>
  33. <name>aliyun maven</name>
  34. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  35. <mirrorOf>central</mirrorOf>
  36. </mirror>
  37. <mirror>
  38. <!--This is used to direct the public snapshots repo in the
  39. profile below over to a different nexus group -->
  40. <id>nexus-public-snapshots</id>
  41. <mirrorOf>public-snapshots</mirrorOf>
  42. <url>http://maven.aliyun.com/nexus/content/repositories/snapshots/</url>
  43. </mirror>
  44. </mirrors>
  45. <profiles>
  46. <profile>
  47. <id>development</id>
  48. <repositories>
  49. <repository>
  50. <id>central</id>
  51. <url>http://central</url>
  52. <releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases>
  53. <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
  54. </repository>
  55. </repositories>
  56. <pluginRepositories>
  57. <pluginRepository>
  58. <id>central</id>
  59. <url>http://central</url>
  60. <releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases>
  61. <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
  62. </pluginRepository>
  63. </pluginRepositories>
  64. </profile>
  65. <profile>
  66. <!--this profile will allow snapshots to be searched when activated-->
  67. <id>public-snapshots</id>
  68. <repositories>
  69. <repository>
  70. <id>public-snapshots</id>
  71. <url>http://public-snapshots</url>
  72. <releases><enabled>false</enabled></releases>
  73. <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
  74. </repository>
  75. </repositories>
  76. <pluginRepositories>
  77. <pluginRepository>
  78. <id>public-snapshots</id>
  79. <url>http://public-snapshots</url>
  80. <releases><enabled>false</enabled></releases>
  81. <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
  82. </pluginRepository>
  83. </pluginRepositories>
  84. </profile>
  85. </profiles>
  86. <activeProfiles>
  87. <activeProfile>development</activeProfile>
  88. <activeProfile>public-snapshots</activeProfile>
  89. </activeProfiles>
  90. </settings>