天天看點

tuscany 2.0源碼mvn 失敗

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>

具體原因不明 ?

網上有類似錯誤,但是沒有找到解決辦法

繼續閱讀