Failure on installing UIMA SDK with Maven -
i trying use maven install uima sdk. install uima terminal entered, pwd being apache-uima folder: mvn install
everything looked successful until...
[info] apache uima aggregate: aggregate-uimaj ............. success [ 0.029 s] [info] apache uima base: uimaj-json: json ................. success [ 1.086 s] [info] apache uima java sdk: uimaj ........................ failure [ 5.557 s] [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 01:25 min [info] finished at: 2015-05-14t15:29:28-04:00 [info] final memory: 78m/1531m [info] ------------------------------------------------------------------------ [error] failed execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:javadoc (javadocs-distr) on project uimaj: error has occurred in javadocs report generation: [error] exit code: 1 - /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/text/annotationindex.java:29: error: self-closing element not allowed [error] * <code>annotationindex idx = cas.getannotationindex();</code> or <br/> [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/text/annotationindex.java:30: error: malformed html [error] * <code annotationindex<somejcastype> idx = jcas.getannotationindex(somejcastype.class); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/text/annotationindex.java:30: error: unknown tag: somejcastype [error] * <code annotationindex<somejcastype> idx = jcas.getannotationindex(somejcastype.class); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/jcas/jcas.java:596: warning: no @param <t> [error] <t extends annotation> annotationindex<t> getannotationindex(type type) throws casruntimeexception; [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/jcas/jcas.java:608: warning: no @param <t> [error] <t extends annotation> annotationindex<t> getannotationindex(int type) throws casruntimeexception; [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/jcas/jcas.java:617: warning: no @param <t> [error] <t extends annotation> annotationindex<t> getannotationindex(class<t> clazz) throws casruntimeexception; [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/jcas/jcas.java:631: warning: no @param <t> [error] <t extends top> fsiterator<t> getallindexedfs(class<t> clazz); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/jcas/jcas.java:699: warning: no @param <t> [error] <t extends top> fsindex<t> getindex(string label, class<t> clazz); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/jcas/jfsindexrepository.java:53: warning: no @param <t> [error] <t extends top> fsindex<t> getindex(string label); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/jcas/jfsindexrepository.java:66: warning: no @param <t> [error] <t extends top> fsindex<t> getindex(string label, int type); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/jcas/jfsindexrepository.java:82: warning: no @param <t> [error] <t extends annotation> annotationindex<t> getannotationindex(int type); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/fsindexrepository.java:46: warning: no @param <t> [error] <t extends featurestructure> fsindex<t> getindex(string label); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/fsindexrepository.java:61: warning: no @param <t> [error] <t extends featurestructure> fsindex<t> getindex(string label, type type) throws casruntimeexception; [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/fsindexrepository.java:137: warning: no @param <t> [error] <t extends featurestructure> fsiterator<t> getallindexedfs(type atype); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/cas.java:477: warning: no @param <t> [error] <t extends featurestructure> t createfs(type type) throws casruntimeexception; [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/cas.java:711: warning: no @param <t> [error] <t extends annotationfs> annotationindex<t> getannotationindex(); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/cas.java:721: warning: no @param <t> [error] <t extends annotationfs> annotationindex<t> getannotationindex(type type) throws casruntimeexception; [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/cas.java:735: warning: no @param <t> [error] <t extends annotationfs> annotationfs createannotation(type type, int begin, int end); [error] ^ [error] /users/jeise003/apache-uima/uimaj-core/src/main/java/org/apache/uima/cas/cas.java:744: warning: no @param <t> [error] <t extends annotationfs> t getdocumentannotation(); [error] ^ [error] [error] command line was: /library/java/javavirtualmachines/jdk1.8.0_20.jdk/contents/home/bin/javadoc @options @argfile [error] [error] refer generated javadoc files in '/users/jeise003/apache-uima/target/site/apidocs' dir. [error] -> [help 1] [error] [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error] [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojoexecutionexception [error] [error] after correcting problems, can resume build command [error] mvn <goals> -rf :uimaj
any ideas on how remedy error?
the javadoc markup included in uima source code not standards javadoc compiler in jdk 8 expects. either have avoid building javadoc, e.g. using
mvn install -dmaven.javadoc.skip=true
or have switch java 7 sdk before building uima, e.g. setting java_home environment variable point @ java 7 installation. e.g. on os x , assuming version 1.7.0_60
you use
export java_home=$(/usr/libexec/java_home -v 1.7.0_60)
to list of installed jdks on os x, use
/usr/libexec/java_home -v
disclosure: on apache uima project
Comments
Post a Comment