-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi, we are trying to run LSQ with the java build
Unfortunately, the documentation does not reflect the actual code, it says:
mvn -P bundle clean install
java -jar lsq-bundle/target/
But there is no lsq-bundle folder in the repository, and unfortunately, there is no further documentation on how to run and use the .jar file (all documentation is for the debian installed package)
The debian package documentation mention using lsq-cli so we assume there is confusion in the documentation and we should use the lsq-cli subfolder to run LSQ
So we tried running the lsq-cli jar file:
java -jar .\lsq-cli\target\lsq-cli-2.0.0-SNAPSHOT-jar-with-dependencies.jarBut it does not seem to have been packaged properly:
no main manifest attribute, in .\lsq-cli\target\lsq-cli-2.0.0-SNAPSHOT-jar-with-dependencies.jar
It is quite a common error in Java packages building, you need to define the main function used when the package will be run
For example here: https://github.com/AKSW/LSQ/blob/develop/lsq-cli/pom.xml#L98
In the build configuration we might need to add something like:
<configuration>
<archive>
<manifest>
<mainClass>org.aksw.simba.lsq.cli.main.MainCliLsq</mainClass>
</manifest>
</archive>
</configuration>Any idea how we can fix the Jar build and run LSQ with Java?
Note: running on Windows 10 with Java 15