Bug 1406766 - ovirt-engine dependencies module fetch java artifacts which jboss wildfly already provides
Summary: ovirt-engine dependencies module fetch java artifacts which jboss wildfly alr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Build.Maven
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.2.2
: 4.2.2.2
Assignee: Ori Liel
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-21 12:23 UTC by Eyal Edri
Modified: 2018-03-29 11:09 UTC (History)
8 users (show)

Fixed In Version: ovirt-engine-4.2.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-29 11:09:10 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 85028 0 master ABANDONED Align depdendencies with Wildfly 11 2017-12-27 14:07:14 UTC
oVirt gerrit 85776 0 master MERGED Update dependencies to match Wildfly 11 2018-02-12 20:13:27 UTC
oVirt gerrit 87543 0 ovirt-engine-4.2 MERGED Update dependencies to match Wildfly 11 2018-02-13 12:28:42 UTC

Description Eyal Edri 2016-12-21 12:23:54 UTC
Description of problem:
When looking at pom.xml under backend/manager/dependencies/commons|tools we see external java projects which are being used by ovirt-engine and some of them bring transitive dependencies that are already being provided by jboss, and by doing so causing false alerts on outdated versions being used by ovirt-engine ( which in fact uses newer versions provided by jboss wildfly)

We should check if there is a possibility to avoid that using the maven dependencies mechanism or in another way.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ori Liel 2017-11-23 08:04:20 UTC
Can you please provide an example of such an alert, and specify where they can be found? 

In the build log I see: 

  [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ common-dependencies ---
  [WARNING] JAR will be empty - no content was marked for inclusion!
  .
  .
  .
  [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ tools-dependencies ---
  [WARNING] JAR will be empty - no content was marked for inclusion!

I don't know if these warnings are connected to this issue, and in any case they are very vague

Comment 2 RHV bug bot 2017-11-26 10:28:59 UTC
We used the whitesource tool to get this info, I've sent you an invite to the SaaS tool so you'll be able to login and check.

Comment 3 Sandro Bonazzola 2018-03-29 11:09:10 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.