On 14/06/12 10:37, Ian Dickinson wrote:
I had a build failure when I tried to compile the source archive. Log
attached.
Ian
ian@ian-desktop $ unzip ../jena-2.7.1-source-release.zip
Archive: ../jena-2.7.1-source-release.zip
creating: jena-2.7.1/
creating: jena-2.7.1/jena-examples/
creating: jena-2.7.1/jena-examples/bin/
[approx 10K lines of unzip output elided ...]
unzip -q ...
[~/Downloads/temp/jena-2.7.1]
ian@ian-desktop $ mvn clean compile
You must use mvn install, not mvn compile.
mvn compile works for the main artifact but ARQ requires the "tests"
classifier sub-artifact from Jena core. That is not available in a
plain "mvn compile". (Nowadays, ideally, a separate "test" module would
be good ...). ARQ uses various test framework stuff (e.g. abstract
classes) from jena core.
That's why it gets to ARQ and managed to compile core. Core depends on
the IRI artifact, not the sub-artifact by classifier.
mvn install puts the artifacts from earlier stages in the local repo so
a later stage can find them.
Could you please try "mvn install"?
I get the same as you with a cleaned repo and "mvn compile" and it all
works for "mvn install"
Andy