Giter Site home page Giter Site logo

Comments (6)

sonata82 avatar sonata82 commented on August 14, 2024

Any progress here?

from lodestar.

proccaserra avatar proccaserra commented on August 14, 2024

@tburdett, @olgavrou finally managed to build with stable release of Zooma bypassing EBI's internal coconut repo

STEP1: obtain virt-jena-1.8 and virt-jdbc-4.0.1 jar.

STEP2: manual installation to local .m2 repository

mvn install:install-file -DgroupId=com.openlinksw -DartifactId=virt-jena -Dpackaging=jar -Dversion=1.8 -Dfile=/path/to/virt-jena-1.8.jar -DgeneratePom=true

mvn install:install-file -DgroupId=com.openlinksw -DartifactId=virt-jdbc -Dpackaging=jar -Dversion=4.0.1 -Dfile=/path/to/virt-jdbc-4.0.1.jar -DgeneratePom=true

STEP3: edit https://github.com/EBISPOT/lodestar/blob/master/pom.xml

A. by commenting out line 97 to 113
B. by adding the following dependency at line 127:

    <dependency>
        <groupId>com.openlinksw</groupId>
        <artifactId>virt-jena</artifactId>
        <version>1.8</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>com.openlinksw</groupId>
        <artifactId>virt-jdbc</artifactId>
        <version>4.0.1</version>
        <scope>test</scope>
    </dependency> 

STEP4: edit https://github.com/EBISPOT/lodestar/blob/master/lode-virtuoso-impl/pom.xml

A. by commenting out line 46-52 (removing pointer to coconut repository)
B. by correcting the dependency groupId at line 32 and 38

replace openlinksw.com
with com.openlinksw

STEP5: mvn clean install -DskipTests (from zooma root)

Tested with latest 'stable' branch today.

Also, definitely requires Java 1.8, Maven 3.3+

from lodestar.

sonata82 avatar sonata82 commented on August 14, 2024

@proccaserra Thanks for your directions, but where can I obtain the virt-jena-1.8 and virt-jdbc-4.0.1.jar?

from lodestar.

danizen avatar danizen commented on August 14, 2024

This is related to issue #27, because we modularize the repository location.

@sonata82 , you can obtain these JAR files from https://github.com/openlink/virtuoso-opensource/.
jena drivers are in the binsrc subdirectories for each major version of Jena.
I think you have to build it to get the JDBC drivers, because I don't see them under binsrc.

from lodestar.

simonjupp avatar simonjupp commented on August 14, 2024

We have a public nexus repo at the EBI now hosting the necessary jars. I've updated lodestar poms to reference the new repository

    <repositories>
        <repository>
                <id>spot-public</id>
                <name>nexus-public</name>
                <url>https://www.ebi.ac.uk/spot/nexus/repository/maven-public/</url>
            </repository>
    </repositories>

from lodestar.

danizen avatar danizen commented on August 14, 2024

@tburdett, this should be closed. EBI has the public Nexus repositories, and these are referred to through two properties in the pom:

    <properties>
        ...
        <release.repo.url>https://www.ebi.ac.uk/spot/nexus/repository/maven-releases/</release.repo.url>
        <snapshot.repo.url>https://www.ebi.ac.uk/spot/nexus/repository/maven-snapshots/</snapshot.repo.url>
    </properties>

Users can use the public repos, or they can use a profile in $HOME/.m2/settings.xml to define these properties to direct their build to a local repository (as we do).

from lodestar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.