Guest User

Untitled

a guest
Jan 17th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  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.  
  6. <localRepository>C:Devm2</localRepository>
  7.  
  8.  
  9. <proxies>
  10. <proxy>
  11. <id>1</id>
  12. <active>true</active>
  13. <protocol>http</protocol>
  14. <username>user</username>
  15. <password>pass</password>
  16. <host>host</host>
  17. <port>port</port>
  18. <nonProxyHosts>127.0.0.1|localhost|maven</nonProxyHosts>
  19. </proxy>
  20.  
  21. <proxy>
  22. <id>1</id>
  23. <active>true</active>
  24. <protocol>https</protocol>
  25. <username>user</username>
  26. <password>pass</password>
  27. <host>host</host>
  28. <port>port</port>
  29. <nonProxyHosts>127.0.0.1|localhost|maven</nonProxyHosts>
  30. </proxy>
  31. </proxies>
  32.  
  33.  
  34. <profiles>
  35. <profile>
  36. <id>default</id>
  37. <repositories>
  38. <repository>
  39. <id>nexus1</id>
  40. <url>http://company-nexus.com</url>
  41. </repository>
  42. <repository>
  43. <id>nexus2</id>
  44. <url>http://company-deploy-nexus.com</url>
  45. </repository>
  46. </repositories>
  47. <pluginRepositories>
  48. <pluginRepository>
  49. <id>nexus1</id>
  50. <url>http://company-nexus.com</url>
  51. </pluginRepository>
  52. </pluginRepositories>
  53. </profile>
  54. </profiles>
  55.  
  56. <activeProfiles>
  57. <activeProfile>default</activeProfile>
  58. </activeProfiles>
  59.  
  60. <pluginGroups>
  61. <pluginGroup>com.atlassian.maven.plugins</pluginGroup>
  62. </pluginGroups>
  63.  
  64. </settings>
  65.  
  66. <repository>
  67. <id>maven-central</id>
  68. <url>http://repo1.maven.org/maven2</url>
  69. <releases>
  70. <enabled>true</enabled>
  71. </releases>
  72. <snapshots>
  73. <enabled>true</enabled>
  74. </snapshots>
  75. </repository>
  76.  
  77. [ERROR] Failed to execute goal on project someproject: Could not resolve dependencies for project groupId:artifactId:jar:1.0-SNAPSHOT:
  78. Failed to collect dependencies at junit:junit:jar:4.12: Failed to read artifact descriptor for junit:junit:jar:4.12:
  79. Could not transfer artifact junit:junit:pom:4.12 from/to central (http://company-nexus.com):
  80. Access denied to: http://company-nexus.com/nexus/content/groups/public/junit/junit/4.12/junit-4.12.pom, ReasonPhrase: URLBlocked. -> [Help 1]
Add Comment
Please, Sign In to add comment