make[1]: Leaving directory `/home/jenkins/workspace/vdsm-jsonrpc-java_master_check-patch-el7-x86_64/vdsm-jsonrpc-java/rpmbuild/BUILD/vdsm-jsonrpc-java-1.3.1_master'
+ xmvn-install -R .xmvn-reactor -n vdsm-jsonrpc-java -d /home/jenkins/workspace/vdsm-jsonrpc-java_master_check-patch-el7-x86_64/vdsm-jsonrpc-java/rpmbuild/BUILDROOT/vdsm-jsonrpc-java-1.3.1-master.el7.centos.x86_64
[INFO] ===============================================
[INFO] SOURCE ARTIFACT:
[INFO] groupId: org.ovirt.vdsm-jsonrpc-java
[INFO] artifactId: root
[INFO] extension: pom
[INFO] classifier:
[INFO] version: 1.3.1-SNAPSHOT
[INFO] stereotype: pom
[INFO] namespace:
[INFO] file: /home/jenkins/workspace/vdsm-jsonrpc-java_master_check-patch-el7-x86_64/vdsm-jsonrpc-java/rpmbuild/BUILD/vdsm-jsonrpc-java-1.3.1_master/pom.xml
[INFO] -----------------------------------------------
[INFO] TARGET ARTIFACT:
[INFO] groupId: JPP/vdsm-jsonrpc-java
[INFO] artifactId: root
[INFO] extension: pom
[INFO] classifier:
[INFO] version: SYSTEM
[INFO] stereotype: pom
[INFO] namespace:
[INFO] file: usr/share/maven-poms/JPP.vdsm-jsonrpc-java-root.pom
[INFO] ===============================================
java.lang.ArrayIndexOutOfBoundsException: 4648
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.fedoraproject.maven.installer.impl.DefaultInstaller.usesNativeCode(DefaultInstaller.java:545)
at org.fedoraproject.maven.installer.impl.DefaultInstaller.installArtifact(DefaultInstaller.java:574)
at org.fedoraproject.maven.installer.impl.DefaultInstaller.install(DefaultInstaller.java:758)
at org.fedoraproject.maven.tools.installer.InstallerCli.run(InstallerCli.java:174)
at org.fedoraproject.maven.tools.installer.InstallerCli.main(InstallerCli.java:187)
error: Bad exit status from /var/tmp/rpm-tmp.KMxx5N (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.KMxx5N (%install)
Took 71 seconds
===================================
No idea about why this happen, never seen it in other builds. I can only guess that something in the generated pom file is not resolvable by the installer using JDK 1.7.
Maybe try with JDK 1.8 as in Fedora?