Boundless Suite Geotools文档构建失败

时间:2017-08-04 13:53:13

标签: git ant build geoserver geotools

我正在尝试构建无边套件(https://boundlessgeo.com):

https://github.com/boundlessgeo/suite

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

下列的程序:

  1. 克隆存储库:

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

  2. 初始化的子模块依赖项:

    %git submodule update --init --recursive

  3. 完整构建:

    %ant

  4. 我已删除了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
    

    我做错了什么?提前致谢

1 个答案:

答案 0 :(得分:0)

看起来像Boundless搞砸了某处的构建标志。

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