尝试构建Sphinx4核心项目时
我收到错误/警告
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 < 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>
我使用的配置是
是否有人可以指出我为什么会收到这些错误?是否存在一些我缺少的依赖或是否有其他构建配置文件?
答案 0 :(得分:1)