Hi,

I update my PR: https://github.com/oVirt/ovirt-engine/pull/225
and despite rpm is built, the logs show some errors:

# Exception: Following dependencies were not resolved and requires cannot be generated.
# Either remove the dependencies from pom.xml or add proper packages to BuildRequires:
# org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec:2.0.0.Final required by org.ovirt.engine.api:restapi-definition
# javax.activation:activation:1.1 required by org.ovirt.engine.api:restapi-definition
#
# Exception: Following dependencies were not resolved and requires cannot be generated.
# Either remove the dependencies from pom.xml or add proper packages to BuildRequires:
# org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:1.0.0.Final required by org.ovirt.engine.core:bll
#
# Exception: Following dependencies were not resolved and requires cannot be generated.
# Either remove the dependencies from pom.xml or add proper packages to BuildRequires:
# org.infinispan:infinispan-core:9.4.18.Final required by org.ovirt.engine.core:utils
# org.jboss.modules:jboss-modules:1.1.1.GA required by org.ovirt.engine.core:extensions-manager
# org.hibernate.validator:hibernate-validator:6.0.18.Final required by org.ovirt.engine.core:common

I see Artur commented:

#   asocha:
#   Unfortunately, we cannot mark these 2 dependencies as 'provided' because they are required at 'compile' time
#
#   Right now I can only think about 2 options:
#   1) install it (preferably via ovirt-dependencies) and
#        'BuildRequires:  <packages>'
#   2) register earlier using 'mvn_artifact' & 'mvn_package' (plus any transitive dependencies)
#      and then here in 'install' section use:
#        '%mvn_package ":hibernate-validator*"  __noinstall'
#        '%mvn_package ":infinispan-core*"  __noinstall'
#        '%mvn_package ":jboss-modules*"  __noinstall'
#      to skip installation
# Not sure if there is a better way, but I cannot exclude it.

How should we proceed?

--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA

sbonazzo@redhat.com   

Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.