无法在项目槌上执行目标org.codehaus.mojo:exec-maven-plugin:1.2.1:exec(default-cli)

时间:2014-02-04 12:43:22

标签: maven maven-plugin mallet

首次运行mallet项目的示例时,出现以下错误。 我的netbeans有Maven,也读过下面的错误说明。但我无法修复这个问题。我该怎么办?

  

无法在项目槌上执行目标org.codehaus.mojo:exec-maven-plugin:1.2.1:exec(default-cli):命令执行失败。退出并出现错误:1(退出值:1) - > [帮助1]

     

要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。   使用-X开关重新运行Maven以启用完整的调试日志记录。

     

有关错误和可能的解决方案的更多信息,请阅读以下文章:   [帮助1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Pom文件。

<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>cc.mallet</groupId>
  <artifactId>mallet</artifactId>
  <version>2.0.7-SNAPSHOT</version>
  <packaging>jar</packaging>
  <name>MAchine Learning for LanguagE Toolkit (MALLET)</name>
  <description>
    MALLET is a Java-based package for statistical natural language processing,
    document classification, clustering, topic modeling, information extraction,
    and other machine learning applications to text.
  </description>
  <url>http://mallet.cs.umass.edu/</url>
  <licenses>
    <license>
      <name>Common Public License Version 1.0</name>
      <url>http://www.eclipse.org/legal/cpl-v10.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <url>http://hg-iesl.cs.umass.edu/hg/mallet</url>
  </scm>
  <build>
    <sourceDirectory>src</sourceDirectory>
    <testSourceDirectory>src</testSourceDirectory>
  </build>
  <dependencies>
    <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.8.2</version>
    </dependency>
    <dependency>
        <groupId>bsh</groupId>
        <artifactId>bsh</artifactId>
        <version>2.0b4</version>
    </dependency>
    <dependency>
        <groupId>jgrapht</groupId>
        <artifactId>jgrapht</artifactId>
        <version>0.6.0</version>
    </dependency>
    <dependency>
        <groupId>jwnl</groupId>
        <artifactId>jwnl</artifactId>
        <version>1.3.3</version>
    </dependency>
    <dependency>
        <groupId>trove</groupId>
        <artifactId>trove</artifactId>
        <version>2.0.4</version>
    </dependency>
    <dependency>
        <groupId>mtj</groupId>
        <artifactId>mtj</artifactId>
        <version>0.9.9</version>
    </dependency>
    <dependency>
        <groupId>org.jdom</groupId>
        <artifactId>jdom</artifactId>
        <version>1.1</version>
    </dependency>
  </dependencies>
  <repositories>
    <!-- for JWNL -->
    <repository>
      <id>opennlp.sourceforge.net</id>
      <url>http://opennlp.sourceforge.net/maven2</url>
    </repository>
    <!-- for Trove -->
    <repository>
      <id>maven.ontotext.com</id>
      <url>http://maven.ontotext.com/archiva/repository/public</url>
    </repository>
    <!-- for MTJ -->
    <repository>
      <id>repo.scalanlp.org</id>
      <url>http://repo.scalanlp.org/repo</url>
    </repository>
  </repositories>
</project>

0 个答案:

没有答案