Clean build fails on Saxon download (tmp dir does not exist)
------------------------------------------------------------
Key: UIMA-484
URL: https://issues.apache.org/jira/browse/UIMA-484
Project: UIMA
Issue Type: Bug
Components: Build, Packaging and Test
Affects Versions: 2.2
Reporter: Thilo Goetz
Priority: Minor
When building a clean extract, mvn assembly:assembly fails early on as follows:
C:\code\uimaj-2.2.0\uimaj-2.2.0-02\uimaj-distr>mvn assembly:assembly
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache UIMA Java SDK - Resources and Assembly Descriptor for
building the distribution
[INFO] task-segment: [assembly:assembly] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache UIMA Java SDK - Resources and Assembly Descriptor for
building the distribution
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar:
C:\code\uimaj-2.2.0\uimaj-2.2.0-02\uimaj-distr\target\uimaj-distr-2.2-incubating.jar
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
setup-common-properties-per-build:
setup-availables:
test-saxon-available:
get-saxon:
Downloading and unzipping (one time) Saxon's free XSLT package,
licensed under the Mozilla Public License Version 1.0;
you may not use this package except in compliance with the License.
You may obtain a copy of the License at http://www.mozilla.org/MPL/
Ok to download?(y,n)
y
[get] Getting: http://prdownloads.sourceforge.net/saxon/saxon6-5-5.zip
[get] To:
C:\code\uimaj-2.2.0\uimaj-2.2.0-02\uima-docbooks\target\temp\saxon.zip
[get] Error getting
http://prdownloads.sourceforge.net/saxon/saxon6-5-5.zip to
C:\code\uimaj-2.2.0\uimaj-2.2.0-02\
uima-docbooks\target\temp\saxon.zip
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: The following error occurred while executing this line:
C:\code\uimaj-2.2.0\uimaj-2.2.0-02\uima-docbook-tool\build\build-docbook.xml:157:
The following error occurred while exe
cuting this line:
C:\code\uimaj-2.2.0\uimaj-2.2.0-02\uima-docbook-tool\build\get-components.xml:57:
java.io.FileNotFoundException: C:\code
\uimaj-2.2.0\uimaj-2.2.0-02\uima-docbooks\target\temp\saxon.zip (The system
cannot find the path specified)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Fri Jul 06 14:29:59 CEST 2007
[INFO] Final Memory: 7M/13M
[INFO] ------------------------------------------------------------------------
C:\code\uimaj-2.2.0\uimaj-2.2.0-02\uimaj-distr>
A manual
>mkdir C:\code\uimaj-2.2.0\uimaj-2.2.0-02\uima-docbooks\target\temp
fixes this. I assume this can be fixed in the Ant script somewhere.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.