sgtp / SemScape

Semantic Web plugin for Cytoscape 3.0
http://vsdlc3.blogspot.com
5 stars 4 forks source link

Trying to fork & fix, problem with karaf #7

Open KonradHoeffner opened 7 years ago

KonradHoeffner commented 7 years ago

Noticing that SemScape does not work with the new Cytoscapes, I forked it to https://github.com/IMISE/SemScape (commit https://github.com/IMISE/SemScape/commit/da4baf4783631d9ca9caca858b174ecfb90bbaf2), updated the dependencies and adapted the code in case the APIs changed. While the single modules compile fine now, as soon as I do mvn compile in the parent module, I get a karaf error, see below. How can I get it to compile from parent without errors?

SemScape$ mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Visualizing Semantic Data Landscapes 3.0 Parent POM
[INFO] SemScape: Visualizing Semantic Data Landscapes App (vsdl3c-app)
[INFO] Visualizing Semantic Data Landscapes Feature (vsdl3c-feature)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Visualizing Semantic Data Landscapes 3.0 Parent POM 1.0.6
[INFO] ------------------------------------------------------------------------
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SemScape: Visualizing Semantic Data Landscapes App (vsdl3c-app) 1.0.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ vsdl3c-app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ vsdl3c-app ---
[INFO] Nothing to compile - all classes are up to date
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Visualizing Semantic Data Landscapes Feature (vsdl3c-feature) 1.0.6
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ vsdl3c-feature ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /localstorage/projekte/java/SemScape/feature/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ vsdl3c-feature ---
[INFO] No sources to compile
[INFO] 
[INFO] --- karaf-maven-plugin:3.0.8:features-generate-descriptor (generate) @ vsdl3c-feature ---
[INFO] Generating feature descriptor file /localstorage/projekte/java/SemScape/feature/target/features.xml
[WARNING] Error while opening artifact
java.io.FileNotFoundException: /localstorage/projekte/java/SemScape/app/target/classes (Ist ein Verzeichnis)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at org.apache.karaf.tooling.features.GenerateDescriptorMojo.getManifest(GenerateDescriptorMojo.java:460)
    at org.apache.karaf.tooling.features.GenerateDescriptorMojo.writeFeatures(GenerateDescriptorMojo.java:369)
    at org.apache.karaf.tooling.features.GenerateDescriptorMojo.execute(GenerateDescriptorMojo.java:274)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[WARNING] Manifest not present in the first entry of the zip - apache-jena-libs-3.1.1.pom
[WARNING] Manifest not present in the first entry of the zip - servlet-api-2.3.jar
[INFO] ...done!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Visualizing Semantic Data Landscapes 3.0 Parent POM  SUCCESS [  0.001 s]
[INFO] SemScape: Visualizing Semantic Data Landscapes App (vsdl3c-app) SUCCESS [  3.986 s]
[INFO] Visualizing Semantic Data Landscapes Feature (vsdl3c-feature) SUCCESS [  1.863 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.366 s
[INFO] Finished at: 2016-12-12T17:23:53+01:00
[INFO] Final Memory: 18M/171M
[INFO] ------------------------------------------------------------------------