On 09/30/2015 12:20 PM, Sandro Bonazzola wrote:
Hi,
The following dependencies are not available in Fedora 22 as RPM package
and are bundled within ovirt-engine:
BuildRequires:mvn(org.springframework:spring-asm) >= 3.1.1
^^^ *Bug 1191592*
<
https://bugzilla.redhat.com/show_bug.cgi?id=1191592> - drop spring-asm
dependency
these are known to be hard to package:
BuildRequires:mvn(com.google.gwt.inject:gin) >= 2.1.2
BuildRequires:mvn(com.google.gwt:gwt-dev)
BuildRequires:mvn(com.google.gwt:gwt-servlet)
BuildRequires:mvn(com.google.gwt:gwt-user)
BuildRequires:mvn(com.gwtplatform:gwtp-mvp-client) >= 1.3.1
BuildRequires:mvn(com.gwtplatform:gwtp-processors) >= 1.3.1
BuildRequires:mvn(org.gwtbootstrap3:gwtbootstrap3) >= 0.8.1
BuildRequires:mvn(org.gwtbootstrap3:gwtbootstrap3-extras) >= 0.8.1
Can we do something about the following?
BuildRequires:mvn(com.sun.xml.bind:jaxb-core) >= 2.2.7
This is dependency is in the "test" scope, it is only needed to run the
tests, not even to compile them. As you won't probably be running tests
as part of the RPM build (using the "-f" option of "%mvn_build") in
Fedora 22 you can just remove the dependency:
%pom_remove_dep -r com.sun.xml.bind:jaxb-core
If you will be running tests then you can try to replace it with the
equivalent artifact supplied by Fedora 22:
%pom_change_dep -r com.sun.xml.bind:jaxb-core org.glassfish.jaxb:jaxb-core
However tests may not work correctly with this change.
It looks like that list of dependencies was automatically generated by
Xmvn, so disabling the tests may not be enough. In that case you will
need to use a patch (Patch: ..., %patch0, etc) to remove all references
to this dependency.
BuildRequires:mvn(org.jboss.arquillian.container:arquillian-weld-ee-embedded-1.1)
>= 1.0.0.CR8
This is also a test dependency, and can be removed like the previous one.
BuildRequires:mvn(org.jboss.as:jboss-as-domain-management) >=
7.2.0
This is required by the JBoss plugin that delegates authentication to
the management interface of JBoss to our own authentication system. I
think that the only way to remove this is a patch.
BuildRequires:mvn(org.jboss.spec:jboss-javaee-6.0)
This is a requirement of arquillian. It should be in the "test" scope,
and then you can remove it like the previous ones.
Thanks,
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at
redhat.com <
http://redhat.com>
_______________________________________________
Devel mailing list
Devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.