首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >CMU Sphinx4无法构建项目

CMU Sphinx4无法构建项目
EN

Stack Overflow用户
提问于 2014-12-31 16:45:50
回答 1查看 623关注 0票数 0

在尝试构建Sphinx4核心项目时

我收到错误/警告

代码语言:javascript
复制
100 errors
100 warnings
MavenReportException: Error while creating archive: 
Exit code: 1 - C:\Users\Shivam Tiwari\Documents\NetBeansProjects\sphinx4\sphinx4-core\src\main\java\edu\cmu\sphinx\alignment\DecisionTree.java:43: error: bad use of '>'
 * <li>>- the feature is greater than the value
       ^
C:\Users\Shivam Tiwari\Documents\NetBeansProjects\sphinx4\sphinx4-

core\src\main\java\edu\cmu\sphinx\alignment\DecisionTree.java:53: error: bad use of '>'
     * For &lt; and >, this CART coerces the value and feature to float's. For =,
                    ^
.
.
.
Many more such errors

pom.xml是

代码语言:javascript
复制
    <project
  xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>edu.cmu.sphinx</groupId>
    <artifactId>sphinx4-parent</artifactId>
    <version>1.0-SNAPSHOT</version>
  </parent>

  <artifactId>sphinx4-core</artifactId>
  <packaging>jar</packaging>

  <name>Sphinx4 core</name>

  <dependencies>

    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-math3</artifactId>
      <version>3.2</version>
    </dependency>

    <dependency>
      <groupId>edu.cmu.sphinx</groupId>
      <artifactId>sphinx4-data</artifactId>
      <version>1.0-SNAPSHOT</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <repositories>
    <repository>
      <id>forplay-legacy</id>
      <url>http://forplay.googlecode.com/svn/mavenrepo</url>
    </repository>
  </repositories>
</project>

我使用的配置是

有谁能指出我为什么会出现这些错误吗?我是否遗漏了一些依赖项,或者是否有其他构建配置文件?

EN

回答 1

Stack Overflow用户

发布于 2014-12-31 17:16:49

问题可能是项目中的一些Javadoc不符合Javadoc标准。

尝试关闭doclint

作为参考,请阅读此答案https://stackoverflow.com/a/16743137/2627215

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27718509

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档