Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single
- (foo-services-zip) on project foo-ear: Failed to create assembly:
- Error creating assembly archive foo-services-dist: There is more
- than one file in input.
- <project>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.vegicorp.foo</groupId>
- <artifactId>foo-parent</artifactId>
- <version>1.0.0</version>
- <relativePath>..</relativePath>
- </parent>
- <artifactId>foo-ear</artifactId>
- <packaging>ear</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-ear-plugin</artifactId>
- <version>2.10.1</version>
- [...]
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>build-foo-zip</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/foo-zip.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- [...]
- </dependencies>
- </project>
- <assembly>
- <id>foo-zip</id>
- <formats>
- <format>gzip</format>
- </formats>
- <includeBaseDirectory>true</includeBaseDirectory>
- <fileSets>
- <fileSet>
- <directory>src/dist-files</directory>
- <outputDirectory></outputDirectory>
- </fileSet>
- </fileSets>
- <moduleSets>
- <moduleSet>
- <useAllReactorProjects>true</useAllReactorProjects>
- <includes>
- <include>com.vegicorp.foo:foo-ear</include>
- </includes>
- <binaries>
- <includeDependencies>false</includeDependencies>
- <outputDirectory>data/ear-dir</outputDirectory>
- <unpack>true</unpack>
- </binaries>
- </moduleSet>
- </moduleSets>
- </assembly>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement