You need to cd to the annotator-package subdir.
Marshall Schor wrote:
I'm trying to build the sandbox annotator distr from SVN - I started
with an extract from the current level in SVN (trunk). I cd to
SandboxDistr, and did mvn install.
In the reactor it showed two entries for Apache UIMA Java SDK Add-Ons -
this seems wrong. These names are coming from the 2 poms in the
sandbox-distr - the names probably should be changed to be more
descriptive.
The mvn install failed with a build error because it couldn't find the
PearPackagingMavenPlugin.
I re-ran mvn install on just that project. It also got a build error,
after compiling/testing/building the jar.
This was due to missing the uima-docbook-tool. I extracted that. and
re-ran.
The various docbook docs in the sandbox need to adopt the fix used in
other uima books to avoid overflowing the footer on even pages (minor).
I think adding this to the src/styles/top/pdf.xsl might do the trick:
<!-- width specifications: inside, center, outside -->
<!-- OVERRIDE: inside is large to accommodate large version strings
without overflowing -->
<xsl:param name="footer.column.widths">6 8 1</xsl:param>
The RegEx docbook has some lines inside <programlisting> elements that
are too long - they go off the page in the pdf. Look at page 12 for
instance.
Running the mvn install gave a build failure in running the test for
Apache UIMA Simple Server:
Running org.apache.uima.simpleserver.test.ServerTest
java.lang.NullPointerException
at
org.apache.uima.simpleserver.util.JettyUtils.getHost(JettyUtils.java:133)
at
org.apache.uima.simpleserver.test.ServerTest.test1(ServerTest.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.maven.surefire.testset.PojoTestSet.executeTestMethod(PojoTestSet.java:150)
. . .
This error occurred twice.
Is there some setup I need to get this test to run?
-Marshall