I am interested in packaging the Graylog2 log analysis platform for Fedora. I have created a number of Fedora packages in the past, but I am a novice when it comes to packaging Java.
When I try to build my Graylog2 package, rpmbuild warns me that a number of dependencies are missing from the package specification (see below). I can build Graylog2 by hand using Maven, but of course this downloads the requisite files to ~/.m2. There is also at least one case of a package in Fedora which is incompatible with the API version Graylog2 expects (okhttp). Isn't this API-versioning mess common in Java? I vaguely recall there are a number of tools to help manage this. How does Fedora expect package managers to deal with this? Is there a way to include these JAR files in the package, or is it necessary to get each of these included as a Fedora package? org.apache.shiro:shiro-core:1.2.3 required by org.graylog2:graylog2-server org.graylog2:syslog4j:0.9.53 required by org.graylog2:graylog2-inputs com.atlassian.ip:atlassian-ip:3.1 required by org.graylog2:graylog2-server org.graylog2:gelfclient:1.2.0 required by org.graylog2:graylog2-server com.github.rholder:guava-retrying:1.0.7 required by org.graylog2:graylog2-server org.apache.kafka:kafka_2.9.2:0.8.1.1 required by org.graylog2:graylog2-radio org.msgpack:msgpack:0.6.11 required by org.graylog2:graylog2-radio io.netty:netty:3.9.8.Final required by org.graylog2:graylog2-shared com.squareup.okhttp:okhttp:2.4.0 required by org.graylog2:graylog2-radio org.graylog2.repackaged:grok:0.1.2-graylog required by org.graylog2:graylog2-server com.typesafe.play:play-cache_2.10:2.3.9 required by org.graylog2:graylog2-rest-client com.rabbitmq:amqp-client:3.5.1 required by org.graylog2:graylog2-radio org.kie:kie-api:6.2.0.Final required by org.graylog2:graylog2-server org.graylog2:jersey-netty:1.5.1 required by org.graylog2:graylog2-radio com.github.joschi:jadconfig:0.11.0 required by org.graylog2:graylog2-radio me.bazhenov.groovy-shell:groovy-shell-server:1.5 required by org.graylog2:graylog2-shared io.dropwizard.metrics:metrics-core:3.1.2 required by org.graylog2:graylog2-radio org.glassfish.hk2.external:javax.inject:2.4.0-b10 required by org.graylog2:graylog2-radio org.mongojack:mongojack:2.3.0 required by org.graylog2:graylog2-server io.dropwizard.metrics:metrics-annotation:3.1.2 required by org.graylog2:graylog2-radio com.sun.jersey:jersey-bundle:1.18.1 required by org.graylog2:graylog2-rest-client org.apache.directory.api:api-all:1.0.0-M29 required by org.graylog2:graylog2-server com.fasterxml.jackson.datatype:jackson-datatype-joda:2.5.3 required by org.graylog2:graylog2-server org.hdrhistogram:HdrHistogram:2.1.4 required by org.graylog2:graylog2-shared com.wordnik:swagger-annotations:1.3.11 required by org.graylog2:graylog2-server com.joestelmach:natty:0.11 required by org.graylog2:graylog2-server com.eaio.uuid:uuid:3.2 required by org.graylog2:graylog2-server com.floreysoft:jmte:3.1.1 required by org.graylog2:graylog2-server com.typesafe.play:play-java_2.10:2.3.9 required by org.graylog2:graylog2-rest-client com.ning:async-http-client:1.8.14 required by org.graylog2:graylog2-rest-client org.drools:drools-compiler:6.2.0.Final required by org.graylog2:graylog2-server io.dropwizard.metrics:metrics-jvm:3.1.2 required by org.graylog2:graylog2-shared io.dropwizard.metrics:metrics-log4j:3.1.2 required by org.graylog2:graylog2-radio io.dropwizard.metrics:metrics-json:3.1.2 required by org.graylog2:graylog2-shared -- Mike :wq -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct