【问题标题】:Boundless Suite Geotools Documentation BUILD FAILUREBoundless Suite Geotools 文档构建失败
【发布时间】:2017-08-04 13:53:12
【问题描述】:

我正在尝试构建 Boundless Suite (https://boundlessgeo.com):

https://github.com/boundlessgeo/suite

我已经安装了所有必需的基础软件包和必需的附加软件包。-

以下:

  1. 克隆存储库:

    % git clone git://github.com/boundlessgeo/suite.git 套件
    % cd 套件

  2. 初始化子模块依赖:

    % git submodule update --init --recursive

  3. 做一个完整的构建:

    %蚂蚁

我已删除 Composer 和 Docs。但我仍然无法构建:

     [exec] [INFO] GeoTools Documentation ............................ FAILURE [4.507s]
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] BUILD FAILURE
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Total time: 5:51.778s
     [exec] [INFO] Finished at: Fri Aug 04 10:19:26 ART 2017
     [exec] [INFO] Final Memory: 94M/225M
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [WARNING] The requested profile "ysld" could not be activated because it does not exist.
     [exec] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (compile) on project docs: An Ant BuildException has occured: The following error occurred while executing this line:
     [exec] [ERROR] /home/klaus/suite/geoserver/geotools/geotools/docs/build.xml:45: The following error occurred while executing this line:
     [exec] [ERROR] /home/klaus/suite/geoserver/geotools/geotools/docs/build.xml:76: exec returned: 1
     [exec] [ERROR] -> [Help 1]
     [exec] [ERROR] 
     [exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
     [exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
     [exec] [ERROR] 
     [exec] [ERROR] For more information about the errors and possible solutions, please read the following articles:
     [exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
     [exec] [ERROR] 
     [exec] [ERROR] After correcting the problems, you can resume the build with the command
     [exec] [ERROR]   mvn <goals> -rf :docs

BUILD FAILED /home/klaus/suite/build.xml:15:
The following error occurred while executing this line:
/home/klaus/suite/build.xml:17:
The following error occurred while executing this line:
/home/klaus/suite/geoserver/build.xml:15:
The following error occurred while executing this line: 
/home/klaus/suite/geoserver/build.xml:17:
The following error occurred while executing this line: 
/home/klaus/suite/geoserver/geotools/build.xml:16:
The following error occurred while executing this line: 
/home/klaus/suite/build/common.xml:291: exec returned: 1

我做错了什么?提前致谢

【问题讨论】:

    标签: git ant build geoserver geotools


    【解决方案1】:

    看起来 Boundless 在某处弄乱了构建标志。

    获取GeoTools 文档的最简单方法是从official site 下载它们或从GeoTools repository 的克隆构建它们并运行mvn clean install -DskipTests,然后转到文档目录并运行@ 987654325@再次。然后,文档将在您的 target 目录中。

    【讨论】:

      猜你喜欢
      • 2015-09-21
      • 1970-01-01
      • 2019-02-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-05-15
      • 1970-01-01
      相关资源
      最近更新 更多