Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven build fails #4

Open
jmvanel opened this issue Jun 30, 2016 · 1 comment
Open

Maven build fails #4

jmvanel opened this issue Jun 30, 2016 · 1 comment

Comments

@jmvanel
Copy link

jmvanel commented Jun 30, 2016

Currently Hermit from the github HEAD fails to build on Java 8.

Apparently the Maven is made for Subversion (svn) hosting, whereas is it on git .

mvn --version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_91, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-24-generic", arch: "amd64", family: "unix"

:~/src/hermit-reasoner$ mvn  compile
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.hermit-reasoner:org.semanticweb.hermit:jar:1.4.0.0-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for oqube:jautomata-core:jar should not point at files within the project directory, ${basedir}/lib/jautomata-core-2.0-alpha-1.jar will be unresolvable by dependent projects @ line 480, column 25
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-jar-plugin @ line 188, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building HermiT 1.4.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ org.semanticweb.hermit ---
[INFO] Change the default 'svn' provider implementation to 'javasvn'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.365 s
[INFO] Finished at: 2016-06-30T15:21:55+02:00
[INFO] Final Memory: 17M/253M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project org.semanticweb.hermit: Cannot get the revision information from the scm repository :
**[ERROR] Exception while executing SCM command. svn: E155007:
                  '/home/jmv/src/hermit-reasoner' is not a working copy**
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
@ignazio1977
Copy link

There's a symbolic link in the source paths that might be causing that.

I never tried the build on java 8 but if you are using this with java 8 and can use owlapi 5 there is a release available on maven central. Look for hermit version 1.3.8.500 under the net.sourceforge.owlapi group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants