On 08/09/16 09:53, otheus uibk wrote:
Andy, thanks for your responses.
What I really need as an RPM.
For jena libraries or jena fuseki?
if for the java libraries, rethink!
That is not how dependency management is done for Java applications and
it will end up in the seven circles of dependency hell.
If Fuseki, consider using one of the docker containers.
For Fuseki/RPM, what you are trying to install is a directory hierarchy
+ maybe some setting in other files. So don't treat as a Java thing but
pull the prebuilt zip and work with files from there.
Either use the WAR file (that what WAR files are for!) or the standalong
server which is a single jar file, every thing included + Linux (Ubuntu
or RedHat/Centos certainly work) service scripts.
The maven plugin will not cover setting up the Fuseki service deployment.
Then do let us know how you get on.
Andy
Google helped me find a maven-plugin and it describes how to modify pom.xml
so that maven builds an RPM. I tried, but my attempts failed. Jena's
pom.xml has no <build> hiearchy, and I don't know what I'm doing. Could you
help with this? http://www.mojohaus.org/rpm-maven-plugin/usage.html
The presence of a pom.xml file is a bit of a clue!
It's as much of a clue as "You are here" written in Chinese on a map inside
a mall in Italy. The fact is, I've never heard of a pom.xml nor a pom
module. I have no idea what to do with these. I'm a sysadmin familiar with
RedHat, Ubuntu, etc, not a java developer. I worked with Java long before
any build system had been constructed for it, ie, 20 years ago. I also
worked with it when there was Ant, which I abhored. But even C-based
projects for UNIX-only that have Makefiles in the directory will STILL have
a basic compilation instructions in README.