views:

158

answers:

1

When i try to run jetty maven plugin(mvn jetty:run) I have received this error:

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

D:\projects\Projekt\src\main\java\Runner.java:[18,22] package org.apache.uima does not exist

This package use class Runner, and it seems that it was not found, how can i add it? I have tried to use <webAppConfig>, but it doesn't help...

+2  A: 

Update: Uima is available on the Apache's m2 http://people.apache.org/repo/m2-incubating-repository. You'll need to configure your settings to reference the repository and add the dependency(ies) to your pom.

The dependency for uima-core looks like this:

<dependency>
  <groupId>org.apache.uima</groupId>
  <!--note there are several other uima jars you may want to reference-->
  <artifactId>uimaj-core</artifactId>
  <version>2.2.2-incubating</version>
</dependency>
Rich Seller