Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 使用graniteds 3.0.1错误的graniteds教程数据_Apache Flex_Maven_Graniteds - Fatal编程技术网

Apache flex 使用graniteds 3.0.1错误的graniteds教程数据

Apache flex 使用graniteds 3.0.1错误的graniteds教程数据,apache-flex,maven,graniteds,Apache Flex,Maven,Graniteds,我对graniteds 3.0.1 GA github repo中的示例graniteds教程数据运行了以下命令,但得到了本文底部给出的错误跟踪 mvn清洁安装asciidoctor:process asciidoc-Dserver=ejb-Dclient=flex [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.graniteds.tutorials:tuto

我对graniteds 3.0.1 GA github repo中的示例graniteds教程数据运行了以下命令,但得到了本文底部给出的错误跟踪

mvn清洁安装asciidoctor:process asciidoc-Dserver=ejb-Dclient=flex

[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.graniteds.tutorials:tutorial-data-client-flex:1.0-SNAPSHOT (C:\Documents and Settings\463072\FreshSpaceJuno\graniteds-tutorial-data\client-flex\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin org.sonatype.flexmojos:flexmojos-maven-plugin:4.2-beta or one of its dependencies could not be resolved: The following artifacts could not be resolved:
com.adobe.flex.compiler:saxon9:jar:4.5.1.21328, com.adobe.flex.compiler:xalan:jar:4.5.1.21328: Could not transfer artifact com.adobe.flex.compiler:saxon9:jar:4.5.1.21328 from/to flex-mojos-plugin-repository (http://repository.sonatype.org/content/groups/flexgroup/): GET request of: com/adobe/flex/compiler/saxon9/4.5.1.21328/saxon9-4.5.1.21328.jar from flex-mojos-plugin-repository failed: Premature end of Content-Length delimited message body (expected: 5024396; received: 3576621 -> [Help 2]
[ERROR]     Unknown packaging: swf @ line 17, column 16
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
对于如何解决此问题的任何帮助,我们都将不胜感激。我正在尝试使用GraniteDS 2.0.3将我的应用程序移植到最新的3.0.1。另外,是否有使用Graniteds3.0.1的FlexEJB示例

这是我做了你建议的更改后的日志

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.graniteds.tutorials:tutorial-data-server-model:jar:1.0-SNAPSHOT
[WARNING] 'parent.relativePath' points at org.graniteds.tutorials:tutorial-data instead of org.graniteds.tutorials:tutorial-parent, please verify your project structure @ line 28, column 13
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.graniteds.tutorials:tutorial-data-client-flex:swf:1.0-SNAPSHOT
[WARNING] 'parent.relativePath' points at org.graniteds.tutorials:tutorial-data instead of org.graniteds.tutorials:tutorial-parent-client-flex, please verify your project structure @ line 9, column 13
[WARNING] 'build.plugins.plugin.version' for org.sonatype.flexmojos:flexmojos-maven-plugin is missing. @ org.graniteds.tutorials:tutorial-parent-client-flex:3.0.1.GA, C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial-parent-client-flex\3.0.1.GA\tutorial-parent-client-flex-3.0.1.GA.pom, line 67, column 21
[WARNING] 'dependencies.dependency.scope' for com.adobe.flex.framework:spark:swc must be one of [provided, compile, runtime, test, system] but is 'theme'. @ org.graniteds.tutorials:tutorial-parent-client-flex:3.0.1.GA, C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial-parent-client-flex\3.0.1.GA\tutorial-parent-client-flex-3.0.1.GA.pom, line 33, column 20
[WARNING] 'dependencies.dependency.scope' for org.graniteds:granite-client-flex:swc must be one of [provided, compile, runtime, test, system] but is 'internal'. @ org.graniteds.tutorials:tutorial-parent-client-flex:3.0.1.GA, C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial-parent-client-flex\3.0.1.GA\tutorial-parent-client-flex-3.0.1.GA.pom, line 49, column 20
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.graniteds.tutorials:tutorial-data-server-ejb:war:1.0-SNAPSHOT
[WARNING] 'parent.relativePath' points at org.graniteds.tutorials:tutorial-data instead of org.graniteds.tutorials:tutorial-parent-server-ejb, please verify your project structure @ line 28, column 13
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.graniteds.tutorials:tutorial-parent-server-base:3.0.1.GA, C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial-parent-server-base\3.0.1.GA\tutorial-parent-server-base-3.0.1.GA.pom, line 37, column 21
[WARNING] 'build.plugins.plugin.version' for org.wildfly.plugins:wildfly-maven-plugin is missing. @ org.graniteds.tutorials:tutorial-parent-server-base:3.0.1.GA, C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial-parent-server-base\3.0.1.GA\tutorial-parent-server-base-3.0.1.GA.pom, line 84, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ org.graniteds.tutorials:tutorial-parent-server-base:3.0.1.GA, C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial-parent-server-base\3.0.1.GA\tutorial-parent-server-base-3.0.1.GA.pom, line 46, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] GraniteDS Data Tutorial - Server Model
[INFO] GraniteDS Data Tutorial - Flex Client
[INFO] GraniteDS Data Tutorial - EJB Server
[INFO] GraniteDS Data Tutorial

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GraniteDS Data Tutorial - Server Model 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------

.
.
.

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar


[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ tutorial-data-server-model ---

.
.
.
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.9.1/plexus-compiler-manager-1.9.1.jar

[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 3 source files to C:\Documents and Settings\463072\FreshSpaceJuno\graniteds-tutorial-data\server-model\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tutorial-data-server-model ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Documents and Settings\463072\FreshSpaceJuno\graniteds-tutorial-data\server-model\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ tutorial-data-server-model ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ tutorial-data-server-model ---
Downloading: http://repository.sonatype.org/content/groups/flexgroup/org/apache/maven/surefire/surefire-booter/2.12.4/surefire-booter-2.12.4.pom
Downloading: http://dl.bintray.com/graniteds/tutorial-dependencies/org/apache/maven/surefire/surefire-booter/2.12.4/surefire-booter-2.12.4.pom
.
.
[INFO] Installing C:\Documents and Settings\463072\FreshSpaceJuno\graniteds-tutorial-data\server-model\pom.xml to C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial-data-server-model\1.0-SNAPSHOT\tutorial-data-server-model-1.0-SNAPSHOT.pom
[INFO]
[INFO] --- asciidoctor-maven-plugin:0.1.4:process-asciidoc (default-cli) @ tutorial-data-server-model ---
Downloading: http://repository.sonatype.org/content/groups/flexgroup/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom
Downloading: http://dl.bintray.com/graniteds/tutorial-dependencies/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom
.
.
.
Downloaded: http://repo.maven.apache.org/maven2/org/graniteds/granite-client-flex45-advanced/3.0.1.GA/granite-client-flex45-advanced-3.0.1.GA.swc (366 KB at 97.0 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GraniteDS Data Tutorial - Server Model ............ SUCCESS [7:41.452s]
[INFO] GraniteDS Data Tutorial - Flex Client ............. FAILURE [1:18.299s]
[INFO] GraniteDS Data Tutorial - EJB Server .............. SKIPPED
[INFO] GraniteDS Data Tutorial ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9:08.939s
[INFO] Finished at: Thu Jan 23 12:00:48 IST 2014
[INFO] Final Memory: 25M/59M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project tutorial-data-client-flex: Could not resolve dependencies for project org.graniteds.tutorials:tutorial-data-client-flex:swf:1.0-SNAPSHOT: Could not transfer artifact com.adobe.flex.framework:framework:zip:configs:4.5.1.21328 from/to flex-mojos-repository (http://repository.sonatype.org/content/groups/flexgroup/): Checksum validation failed, expected 410a3bcaceb1ea1960b2521818dc7ab9fac35aef but is 5359ccaf2d93e09ff2ec6fffe0648c611f42314b -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :tutorial-data-client-flex
[INFO]正在扫描项目。。。
[警告]
[警告]为org.graniteds构建有效模型时遇到一些问题。教程:教程数据服务器模型:jar:1.0-SNAPSHOT
[警告]“parent.relativePath”指向org.graniteds.tutorials:tutorial data而不是org.graniteds.tutorials:tutorial parent,请在第28行第13列验证您的项目结构
[警告]
[警告]为org.graniteds构建有效模型时遇到一些问题。教程:教程数据客户端flex:swf:1.0-SNAPSHOT
[警告]“parent.relativePath”指向org.graniteds.tutorials:tutorial data而不是org.graniteds.tutorials:tutorial parent client flex,请在第9行第13列验证您的项目结构
[警告]“org.sonatype.flexmojos:flexmojos-maven插件”的“build.plugins.plugin.version”丢失。@org.graniteds.tutorials:tutorial parent client flex:3.0.1.GA,C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial parent client flex\3.0.1.GA\tutorial-parent-client-flex-3.0.1.GA.pom,第67行,第21列
[警告].com.adobe.flex.framework:spark:swc的“dependencies.dependency.scope”必须是[provided、compile、runtime、test、system]之一,但必须是“theme”。@org.graniteds.tutorials:tutorial parent client flex:3.0.1.GA,C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial parent client flex\3.0.1.GA\tutorial-parent-client-flex-3.0.1.GA.pom,第33行,第20列
[警告].graniteds:granite client flex:swc的“dependencies.dependency.scope”必须是[provided、compile、runtime、test、system]之一,但为“internal”。@org.graniteds.tutorials:tutorial parent client flex:3.0.1.GA,C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial parent client flex\3.0.1.GA\tutorial-parent-client-flex-3.0.1.GA.pom,第49行,第20列
[警告]
[警告]为org.graniteds构建有效模型时遇到一些问题。教程:教程数据服务器ejb:war:1.0-SNAPSHOT
[警告]“parent.relativePath”指向org.graniteds.tutorials:tutorial data而不是org.graniteds.tutorials:tutorial parent server ejb,请在第28行第13列验证您的项目结构
[警告]“org.apache.maven.plugins:maven编译器插件”的“build.plugins.plugin.version”丢失。@org.graniteds.tutorials:tutorial parent server base:3.0.1.GA,C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial parent server base\3.0.1.GA.pom,第37行,第21列
[警告]'build.plugins.plugin.version'用于org.wildfly.plugins:wildfly-maven插件丢失。@org.graniteds.tutorials:tutorial parent server base:3.0.1.GA,C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial parent server base\3.0.1.GA.pom,第84行,第21列
[警告]“org.apache.maven.plugins:maven war插件”的“build.plugins.plugin.version”丢失。@org.graniteds.tutorials:tutorial parent server base:3.0.1.GA,C:\Documents and Settings\463072\.m2\repository\org\graniteds\tutorials\tutorial parent server base\3.0.1.GA.pom,第46行,第21列
[警告]
[警告]强烈建议修复这些问题,因为它们会威胁到构建的稳定性。
[警告]
[警告]出于这个原因,未来的Maven版本可能不再支持构建这种格式错误的项目。
[警告]
[信息]------------------------------------------------------------------------
[信息]反应堆建造顺序:
[信息]
[信息]GraniteDS数据教程-服务器型号
[信息]GraniteDS数据教程-Flex客户端
[信息]数据教程-EJB服务器
[信息]GraniteDS数据教程
[信息]
[信息]------------------------------------------------------------------------
[信息]构建GraniteDS数据教程-服务器型号1.0-SNAPSHOT
[信息]------------------------------------------------------------------------
.
.
.
下载:http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
[警告]使用平台编码(实际上是Cp1252)复制过滤后的资源,即构建依赖于平台!
[信息]正在复制1个资源
[信息]
[信息]---maven编译器插件:2.5.1:compile(默认编译)@tutorial data server model---
.
.
.
下载:http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.9.1/plexus-compiler-manager-1.9.1.jar
[警告]尚未使用平台编码Cp1252设置文件编码,即生成依赖于平台!
[信息]正在将3个源文件编译为C:\Documents and Settings\463072\FreshSpaceJuno\graniteds tutorial data\server model\target\classes
[信息]
[信息]---maven资源插件:2.6:testResources(默认testResources)@tutorial数据服务器模型---
[警告]使用平台编码(实际上是Cp1252)复制过滤后的资源,即构建依赖于平台!
[信息]跳过不存在的资源目录C:\Documents and Settings\463072\FreshSpaceJuno\graniteds tutorial data\server model\src\test\resources
[信息]
[信息]---maven编译器插件:2.5.1:testCompile(默认testCompile)@tutorial data server model---
[信息]没有要编译的源
[信息]
[信息]---maven surefire插件:2.12.4:测试(默认测试)@教程数据服务器模型---
下载:http://repository.sonatype.org/conte