settings.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. <mirrors>
  6. <mirror>
  7. <id>nexus</id>
  8. <mirrorOf>central</mirrorOf>
  9. <url>http://mvn2.evbj.easou.com/repository/public-repositories/</url>
  10. </mirror>
  11. </mirrors>
  12. <servers>
  13. <server>
  14. <id>releases</id>
  15. <username>alex</username>
  16. <password>alex2011</password>
  17. </server>
  18. <server>
  19. <id>Snapshots</id>
  20. <username>alex</username>
  21. <password>alex2011</password>
  22. </server>
  23. <server>
  24. <id>nexus</id>
  25. <username>alex</username>
  26. <password>alex2011</password>
  27. </server>
  28. </servers>
  29. <profiles>
  30. <profile>
  31. <id>nexus</id>
  32. <!--Enable snapshots for the built in central repo to direct -->
  33. <!--all requests to nexus via the mirror -->
  34. <repositories>
  35. <repository>
  36. <id>central</id>
  37. <url>http://mvn2.evbj.easou.com/repository/public-repositories</url>
  38. <releases>
  39. <enabled>true</enabled>
  40. </releases>
  41. <snapshots>
  42. <enabled>true</enabled>
  43. </snapshots>
  44. </repository>
  45. </repositories>
  46. <pluginRepositories>
  47. <pluginRepository>
  48. <id>centralplugin</id>
  49. <url>http://mvn2.evbj.easou.com/repository/public-repositories</url>
  50. <releases>
  51. <enabled>true</enabled>
  52. </releases>
  53. <snapshots>
  54. <enabled>true</enabled>
  55. </snapshots>
  56. </pluginRepository>
  57. </pluginRepositories>
  58. </profile>
  59. </profiles>
  60. <activeProfiles>
  61. <!--make the profile active all the time -->
  62. <activeProfile>nexus</activeProfile>
  63. </activeProfiles>
  64. </settings>