Skip to content

Commit

Permalink
Modified pom.xml and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePisciotta committed Sep 18, 2018
1 parent 03f65ef commit 489665a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -4,17 +4,18 @@ task, e.g., Record Linkage, Entity Resolution and Link Discovery.

## Dependencies
In order to run the .jar file, you need [Oracle's](http://www.oracle.com/technetwork/java/javase/overview/java8-2100321.html) Java 8 (due to JavaFX).
Other dependencies are managed using Maven. They should be downloaded automatically, except for [JedAI library](https://github.com/scify/JedAIToolkit), which you have to manually build, then rename the resulting jar from `jedai-core-1.3-jar-with-dependencies.jar` to `jedaiLibrary.jar` and then move that jar to the path `{this_project_dir}/lib/`.
Other dependencies are managed using Maven.

## How to run
This should be used as a submodule of the main [JedaiToolkit](https://github.com/scify/JedAIToolkit) project.
From the CLI navigate into project's directory, then build it with:
```
$ mvn clean package
```

You'll find the executable in `{this_project_dir}/target/jedai-ui-1.0-SNAPSHOT.jar`. Then run it with:
You'll find the executable in `{this_project_dir}/target/jedai-ui-{version}-SNAPSHOT.jar`. Then run it with:
```
$ java -jar target/jedai-ui-1.0-SNAPSHOT.jar
$ java -jar target/jedai-ui-{version}-SNAPSHOT.jar
```
If on Linux, make sure the .jar file has permissions to be executed (e.g. with `chmod +x jedai-ui.jar`) and that you are running Java 8 by Oracle, *not* OpenJDK which comes pre-installed in many distributions.

Expand Down
38 changes: 20 additions & 18 deletions pom.xml
Expand Up @@ -45,7 +45,6 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
Expand All @@ -55,23 +54,26 @@
</plugin>

<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptor>assembly.xml</descriptor>
<archive>
<manifest>
<mainClass>org.scify.jedai.gui.wizard.WizardMain</mainClass>
</manifest>
</archive>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>org.scify.jedai.gui.wizard.WizardMain</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand Down

0 comments on commit 489665a

Please sign in to comment.