现在的位置: 首页 > 综合 > 正文

tuscany 2.0源码mvn 失败

2014年06月11日 ⁄ 综合 ⁄ 共 1390字 ⁄ 字号 评论关闭

Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-3:single (distribution-package)
on project tuscany-distribution-all: Failed to create assembly: Error creating assembly archive : Failed to retrieve numeric file attributes using: '/bin/sh -c ls -1nlaR /Users/zhang/Documents/workspace_tuscany/2.0/distribution/all/../..'
-> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :tuscany-distribution-all


编译的目录在distribution/all/pom.xml,在

<plugin>

<artifactId>maven-assenbly-plugin</artifactId>

<version>2.2-beta-3</version>

<configuration>

                                     <descriptors>

                                         <descriptor>src/main/assembly/bin-default.xml</descriptor>

                                     </descriptors>

                                     <tarLongFileMode>gnu</tarLongFileMode>

                                     <finalName>apache-tuscany-sca-all-${project.version}</finalName>

                                     <appendAssemblyId>true</appendAssemblyId>

                                     <ignoreDirFormatExtensions>false</ignoreDirFormatExtensions>

                                 </configuration>

</plugin>


具体原因不明 ?

网上有类似错误,但是没有找到解决办法

抱歉!评论已关闭.