错误:版本字符串'$ {noSnapshotVersion}'无效

霍拉普

我下面杰夫波茨的教程中,我坚持上时,我特林开始回购项目来测试新的共享方面和类型的命令(第二部分在这里

mvn integration-test -Pamp-to-war

这是输出:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building content-tutorial-repo AMP project
[INFO] task-segment: [integration-test]
[INFO] ------------------------------------------------------------------------
[INFO] [alfresco:set-version {execution: default-set-version}]
[INFO] Removed -SNAPSHOT suffix from version - 1.0
[INFO] Added timestamp to version - 1.0.1406090928
[INFO] [build-helper:add-test-resource {execution: add-env-test-properties}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/mattia/workspace/AlfrescoTutorial/content-tutorial-repo/src/main/resources
[INFO] Copying 10 resources to ../content-tutorial-repo
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO] [resources:copy-resources {execution: prepare-amp-testing-classpath}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [dependency:unpack {execution: unpack-alfresco}]
[INFO] Configured Artifact: org.alfresco:alfresco:4.2.e:war
[INFO] alfresco-4.2.e.war already unpacked.
[INFO] [resources:copy-resources {execution: copy-alfresco-test-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/xxx/workspace/AlfrescoTutorial/content-tutorial-repo/src/test/webapp
[INFO] Copying 7 resources to WEB-INF/classes
[INFO] Copying 1 resource to WEB-INF/classes
[INFO] [resources:copy-resources {execution: copy-tomcat-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to WEB-INF
[INFO] [alfresco:amp {execution: default-amp}]
[INFO] Building jar: /home/mattia/workspace/AlfrescoTutorial/content-tutorial-    repo/target/content-tutorial-repo/lib/content-tutorial-repo.jar
[INFO] Adding directory to AMP package [ '/home/mattia/workspace/AlfrescoTutorial/content-tutorial-repo/target/content-tutorial-repo' '']
[INFO] Building amp: /home/mattia/workspace/AlfrescoTutorial/content-tutorial-repo/target/content-tutorial-repo.amp
[INFO] [alfresco:install {execution: amps-to-war-overlay}]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] 05090000 The version string '${noSnapshotVersion}' is invalid.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.alfresco.error.AlfrescoRuntimeException: 05090000 The version string  
'${noSnapshotVersion}' is invalid.
at org.alfresco.util.VersionNumber.(VersionNumber.java:80)
at org.alfresco.repo.module.ModuleDetailsImpl.(ModuleDetailsImpl.java:137)
at org.alfresco.repo.module.tool.ModuleDetailsHelper.
    createModuleDetailsFromPropertiesStream(ModuleDetailsHelper.java:53)
at  org.alfresco.repo.module.tool.ModuleDetailsHelper.
    createModuleDetailsFromPropertyLocation(ModuleDetailsHelper.java:83)
at org.alfresco.repo.module.tool.ModuleManagementTool.
    installModule(ModuleManagementTool.java:227)
at org.alfresco.maven.plugin.InstallMojo.execute(InstallMojo.java:110)
at org.apache.maven.plugin.DefaultPluginManager.
    executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.
    executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.
    executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.
    executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.
    executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.
    executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.
    execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Mon Jun 09 09:28:22 CEST 2014
[INFO] Final Memory: 63M/713M
[INFO] ------------------------------------------------------------------------

请您给我任何有关如何使其工作的提示吗?

道格拉斯

检查您的Maven版本。

我遇到了问题,并将其更新为最新版本。

当时,我正在使用Ubuntu pa

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Composer AWS无效版本字符串^ 5.3

来自分类Dev

无法解析版本约束〜xx:无效的版本字符串“〜xx”

来自分类Dev

UnexpectedValueException无法解析版本约束mybranch:无效的版本字符串“ mybranch”

来自分类Dev

创建可启动USB记忆棒时,版本字符串'GNU / Linux'无效

来自分类Dev

从字符串中替换歧义/无效的文本字符

来自分类Dev

从字符串中替换歧义/无效的文本字符

来自分类Dev

从基本字符串到 int 类型的无效转换

来自分类Dev

.jsp文件中的Spring MVC项目“文本字符串中使用了无效字符”错误

来自分类Dev

作曲者:无效的版本约束/字符串“ / Program”

来自分类Dev

Elixir无效字符串

来自分类Dev

无效的JSON字符串

来自分类Dev

JSON 字符串无效

来自分类Dev

Azure Blob存储无效帐户字符串错误

来自分类Dev

Firestore错误消息:运算符字符串“ in”无效

来自分类Dev

错误:从字符串“”到类型“ Double”的转换无效

来自分类Dev

Gulp运行序列“'taskname'是无效的任务字符串”错误

来自分类Dev

Rapidjson 解析错误:字符串中的编码无效 (207)

来自分类Dev

Read.table()无效的多字节字符串错误:查找导致错误的字符串

来自分类Dev

错误:无效使用无效

来自分类Dev

flutter unitTest:无效的参数(字符串):包含无效字符

来自分类Dev

将字符串拆分为字符串向量时发生无效的转换错误

来自分类Dev

从字符到字符串的无效转换

来自分类Dev

从字符串中删除无效字符

来自分类Dev

二进制表达式的无效操作数(字符串到字符串(又名基本字符串))

来自分类Dev

Solr:无效的日期字符串:'1996'

来自分类Dev

Solr“无效的日期字符串”异常

来自分类Dev

字符串到整数。无效的int

来自分类Dev

GCC无效的常量字符串布局

来自分类Dev

ItemArray格式的字符串无效

Related 相关文章

  1. 1

    Composer AWS无效版本字符串^ 5.3

  2. 2

    无法解析版本约束〜xx:无效的版本字符串“〜xx”

  3. 3

    UnexpectedValueException无法解析版本约束mybranch:无效的版本字符串“ mybranch”

  4. 4

    创建可启动USB记忆棒时,版本字符串'GNU / Linux'无效

  5. 5

    从字符串中替换歧义/无效的文本字符

  6. 6

    从字符串中替换歧义/无效的文本字符

  7. 7

    从基本字符串到 int 类型的无效转换

  8. 8

    .jsp文件中的Spring MVC项目“文本字符串中使用了无效字符”错误

  9. 9

    作曲者:无效的版本约束/字符串“ / Program”

  10. 10

    Elixir无效字符串

  11. 11

    无效的JSON字符串

  12. 12

    JSON 字符串无效

  13. 13

    Azure Blob存储无效帐户字符串错误

  14. 14

    Firestore错误消息:运算符字符串“ in”无效

  15. 15

    错误:从字符串“”到类型“ Double”的转换无效

  16. 16

    Gulp运行序列“'taskname'是无效的任务字符串”错误

  17. 17

    Rapidjson 解析错误:字符串中的编码无效 (207)

  18. 18

    Read.table()无效的多字节字符串错误:查找导致错误的字符串

  19. 19

    错误:无效使用无效

  20. 20

    flutter unitTest:无效的参数(字符串):包含无效字符

  21. 21

    将字符串拆分为字符串向量时发生无效的转换错误

  22. 22

    从字符到字符串的无效转换

  23. 23

    从字符串中删除无效字符

  24. 24

    二进制表达式的无效操作数(字符串到字符串(又名基本字符串))

  25. 25

    Solr:无效的日期字符串:'1996'

  26. 26

    Solr“无效的日期字符串”异常

  27. 27

    字符串到整数。无效的int

  28. 28

    GCC无效的常量字符串布局

  29. 29

    ItemArray格式的字符串无效

热门标签

归档