You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Osma Suominen <os...@helsinki.fi> on 2015/06/24 11:41:48 UTC

jena-text build failure, dependency on jena-arq?

Hi all,

I tried to build the most recent jena-text module (without building any 
other parts of Jena) but got these kind of errors:

[INFO] 20 errors
[INFO] -------------------------------------------------------------
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 2:05.799s
[INFO] Finished at: Wed Jun 24 12:32:18 EEST 2015
[INFO] Final Memory: 27M/164M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile 
(default-compile) on project jena-text: Compilation failure: Compilation 
failure:
[ERROR] 
/home/ozone/git/jena/jena-text/src/main/java/jena/textindexer.java:[31,15] 
package arq.cmd does not exist
[ERROR] 
/home/ozone/git/jena/jena-text/src/main/java/jena/textindexer.java:[32,15] 
package arq.cmd does not exist
[ERROR] 
/home/ozone/git/jena/jena-text/src/main/java/jena/textindexer.java:[43,25] 
cannot find symbol
[ERROR] symbol:   class ArgDecl
[ERROR] location: class jena.textindexer
[ERROR] 
/home/ozone/git/jena/jena-text/src/main/java/jena/textindexdump.java:[37,15] 
package arq.cmd does not exist
[ERROR] 
/home/ozone/git/jena/jena-text/src/main/java/jena/textindexdump.java:[38,15] 
package arq.cmd does not exist
[ERROR] 
/home/ozone/git/jena/jena-text/src/main/java/jena/textindexdump.java:[48,25] 
cannot find symbol
[ERROR] symbol:   class ArgDecl
[ERROR] location: class jena.textindexdump
[...]


I tried to wipe my Maven repository and to run "mvn clean" but those 
didn't help.

Then I went to jena-arq and ran "mvn install" there. After that, the 
jena-text build started to work again.

Is a dependency for jena-arq missing for the jena-text module, perhaps 
as a result of moving around the command line related classes?

-Osma



-- 
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.suominen@helsinki.fi
http://www.nationallibrary.fi

Re: jena-text build failure, dependency on jena-arq?

Posted by Osma Suominen <os...@helsinki.fi>.
Oops, it turns out I had messed up my git clone and was using obsolete 
code without realizing. Sorry for the noise.

-Osma

24.06.2015, 12:41, Osma Suominen kirjoitti:
> Hi all,
>
> I tried to build the most recent jena-text module (without building any
> other parts of Jena) but got these kind of errors:
>
> [INFO] 20 errors
> [INFO] -------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:05.799s
> [INFO] Finished at: Wed Jun 24 12:32:18 EEST 2015
> [INFO] Final Memory: 27M/164M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project jena-text: Compilation failure: Compilation
> failure:
> [ERROR]
> /home/ozone/git/jena/jena-text/src/main/java/jena/textindexer.java:[31,15]
> package arq.cmd does not exist
> [ERROR]
> /home/ozone/git/jena/jena-text/src/main/java/jena/textindexer.java:[32,15]
> package arq.cmd does not exist
> [ERROR]
> /home/ozone/git/jena/jena-text/src/main/java/jena/textindexer.java:[43,25]
> cannot find symbol
> [ERROR] symbol:   class ArgDecl
> [ERROR] location: class jena.textindexer
> [ERROR]
> /home/ozone/git/jena/jena-text/src/main/java/jena/textindexdump.java:[37,15]
> package arq.cmd does not exist
> [ERROR]
> /home/ozone/git/jena/jena-text/src/main/java/jena/textindexdump.java:[38,15]
> package arq.cmd does not exist
> [ERROR]
> /home/ozone/git/jena/jena-text/src/main/java/jena/textindexdump.java:[48,25]
> cannot find symbol
> [ERROR] symbol:   class ArgDecl
> [ERROR] location: class jena.textindexdump
> [...]
>
>
> I tried to wipe my Maven repository and to run "mvn clean" but those
> didn't help.
>
> Then I went to jena-arq and ran "mvn install" there. After that, the
> jena-text build started to work again.
>
> Is a dependency for jena-arq missing for the jena-text module, perhaps
> as a result of moving around the command line related classes?
>
> -Osma
>
>
>


-- 
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.suominen@helsinki.fi
http://www.nationallibrary.fi