Guest User

Untitled

a guest
Nov 21st, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. [INFO]
  2. [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ core ---
  3. [INFO] ------------------------------------------------------------------------
  4. [INFO] BUILD FAILURE
  5. [INFO] ------------------------------------------------------------------------
  6. [INFO] Total time: 3.296 s
  7. [INFO] Finished at: 2014-11-26T17:05:00+02:00
  8. [INFO] Final Memory: 13M/244M
  9. [INFO] ------------------------------------------------------------------------
  10. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:
  11. deploy (default-deploy) on project core: Deployment failed: repository element w
  12. as not specified in the POM inside distributionManagement element or in -DaltDep
  13. loymentRepository=id::layout::url parameter -> [Help 1]
  14. [ERROR]
  15. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
  16. ch.
  17. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  18. [ERROR]
  19. [ERROR] For more information about the errors and possible solutions, please rea
  20. d the following articles:
  21. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
  22. xception
  23.  
  24. <build>
  25. <plugins>
  26. <plugin>
  27. <groupId>org.apache.maven.plugins</groupId>
  28. <artifactId>maven-compiler-plugin</artifactId>
  29. <version>2.3.2</version>
  30. <configuration>
  31. <source>1.7</source>
  32. <target>1.7</target>
  33. </configuration>
  34. </plugin>
  35. </plugins>
  36. </build>
  37.  
  38. <repositories>
  39. <repository>
  40. <id>repository.springframework.maven.release</id>
  41. <name>Spring Framework Maven Release Repository</name>
  42. <url>http://maven.springframework.org/release</url>
  43. </repository>
  44. <repository>
  45. <id>Appid</id>
  46. <name>AppName</name>
  47. <url>http://IPaddress/nexus/content/repositories/Myapps/</url>
  48. </repository>
  49. </repositories>
  50.  
  51. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  52. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  53. ...
  54. <distributionManagement>
  55. <repository>
  56. <uniqueVersion>false</uniqueVersion>
  57. <id>corp1</id>
  58. <name>Corporate Repository</name>
  59. <url>scp://repo/maven2</url>
  60. <layout>default</layout>
  61. </repository>
  62. ...
  63. </distributionManagement>
  64. ...
  65. </project>
  66.  
  67. <distributionManagement>
  68. <repository>
  69. <id>internal.repo</id>
  70. <name>Internal repo</name>
  71. <url>file:///home/thara/testesb/in</url>
  72. </repository>
  73. </distributionManagement>
  74.  
  75. mvn deploy -DaltDeploymentRepository=internal.repo::default::file:///home/thara/testesb/in
  76.  
  77. <distributionManagement>
  78. <repository>
  79. <id>releases</id>
  80. <url>http://domain:port/content/repositories/releases</url>
  81. </repository>
  82. <snapshotRepository>
  83. <id>snapshots</id>
  84. <url>http://domain:port/content/repositories/snapshots</url>
  85. </snapshotRepository>
  86. </distributionManagement>
Add Comment
Please, Sign In to add comment