1. check jdk and maven installation.
$sudo apt-get install maven (*maven 3 will be installed*)2. run maven at the SIREn directory
$mvn package3. check jars
The jar files are located under /target in each folder.
P.S. If the following error occurs:
[ERROR] Failed to execute goal on project siren-core: Could not resolve dependencies for project org.sindice.siren:siren-core:jar:0.2.3-SNAPSHOT: Failure to find com.google.code.caliper:caliper:jar:1.0-SNAPSHOT in https://oss.sonatype.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of oss-sonatype has elapsed or updates are forced -> [Help 1]
Modify pom.xml under siren-core
Change
<dependency>
<groupId>com.google.code.caliper</groupId>
<artifactId>caliper</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
To
<dependency>
<groupId>com.google.caliper</groupId>
<artifactId>caliper</artifactId>
<version>0.5-rc1</version>
<scope>test</scope>
</dependency>
Sources:
- https://github.com/rdelbru/SIREn/wiki/Getting-Started
No comments:
Post a Comment