CMU Sphinx4无法构建项目

时间:2014-12-31 08:45:50

标签: java maven cmusphinx sphinx4

尝试构建Sphinx4核心项目时

enter image description here

我收到错误/警告

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是

    <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>

我使用的配置是

enter image description here

是否有人可以指出我为什么会收到这些错误?是否存在一些我缺少的依赖或是否有其他构建配置文件?

1 个答案:

答案 0 :(得分:1)

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

尝试关闭doclint

供参考阅读此答案 https://stackoverflow.com/a/16743137/2627215