[CentOS-devel] CBS default maven module for virt8-ovirt-44-el8

Tue Jan 26 11:44:41 UTC 2021
Sandro Bonazzola <sbonazzo at redhat.com>

Hi,
I'm seeing the following error:

Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true
-Dworkspace.root.dir=/builddir/build/BUILD/apache-sshd-2.6.0 package
org.fedoraproject.xmvn:xmvn-mojo:install
org.fedoraproject.xmvn:xmvn-mojo:javadoc
org.fedoraproject.xmvn:xmvn-mojo:builddep
['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true',
'-Dworkspace.root.dir=/builddir/build/BUILD/apache-sshd-2.6.0',
'package', 'org.fedoraproject.xmvn:xmvn-mojo:install',
'org.fedoraproject.xmvn:xmvn-mojo:javadoc',
'org.fedoraproject.xmvn:xmvn-mojo:builddep']
/usr/share/maven/bin/mvn: line 36: /etc/java/maven.conf: No such file
or directory
error: Bad exit status from /var/tmp/rpm-tmp.QeIPBF (%build)
    Bad exit status from /var/tmp/rpm-tmp.QeIPBF (%build)
RPM build errors:

which is a known bug of maven 3.6 shipped in RHEL 8.3 (
https://bugzilla.redhat.com/show_bug.cgi?id=1897375)

There's a build in koji (
https://koji.mbox.centos.org/koji/taskinfo?taskID=207396)  which should
have the fix for this issue.
Can we get that build in CBS build root?
If not, can we get maven:3.5 module enabled instead of maven:3.6?

thanks,
-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA <https://www.redhat.com/>

sbonazzo at redhat.com
<https://www.redhat.com/>

*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20210126/dceb44cf/attachment-0004.html>