Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single
  2. (foo-services-zip) on project foo-ear: Failed to create assembly:
  3. Error creating assembly archive foo-services-dist: There is more
  4. than one file in input.
  5.  
  6. <project>
  7. <modelVersion>4.0.0</modelVersion>
  8.  
  9. <parent>
  10. <groupId>com.vegicorp.foo</groupId>
  11. <artifactId>foo-parent</artifactId>
  12. <version>1.0.0</version>
  13. <relativePath>..</relativePath>
  14. </parent>
  15. <artifactId>foo-ear</artifactId>
  16. <packaging>ear</packaging>
  17. <build>
  18. <plugins>
  19. <plugin>
  20. <groupId>org.apache.maven.plugins</groupId>
  21. <artifactId>maven-ear-plugin</artifactId>
  22. <version>2.10.1</version>
  23. [...]
  24. </plugin>
  25. <plugin>
  26. <groupId>org.apache.maven.plugins</groupId>
  27. <artifactId>maven-assembly-plugin</artifactId>
  28. <executions>
  29. <execution>
  30. <id>build-foo-zip</id>
  31. <phase>package</phase>
  32. <goals>
  33. <goal>single</goal>
  34. </goals>
  35. <configuration>
  36. <descriptors>
  37. <descriptor>src/assembly/foo-zip.xml</descriptor>
  38. </descriptors>
  39. </configuration>
  40. </execution>
  41. </executions>
  42. </plugin>
  43. </plugins>
  44. </build>
  45. <dependencies>
  46. [...]
  47. </dependencies>
  48. </project>
  49.  
  50. <assembly>
  51. <id>foo-zip</id>
  52. <formats>
  53. <format>gzip</format>
  54. </formats>
  55. <includeBaseDirectory>true</includeBaseDirectory>
  56. <fileSets>
  57. <fileSet>
  58. <directory>src/dist-files</directory>
  59. <outputDirectory></outputDirectory>
  60. </fileSet>
  61. </fileSets>
  62. <moduleSets>
  63. <moduleSet>
  64. <useAllReactorProjects>true</useAllReactorProjects>
  65. <includes>
  66. <include>com.vegicorp.foo:foo-ear</include>
  67. </includes>
  68. <binaries>
  69. <includeDependencies>false</includeDependencies>
  70. <outputDirectory>data/ear-dir</outputDirectory>
  71. <unpack>true</unpack>
  72. </binaries>
  73. </moduleSet>
  74. </moduleSets>
  75. </assembly>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement