D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/castor-maven-plugin-2.5-3.mga6.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hSjVjY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf castor-maven-plugin-castor-maven-plugin-2.5 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/castor-maven-plugin-2.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd castor-maven-plugin-castor-maven-plugin-2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.jar' -exec rm '{}' ';' + find -name '*.class' -exec rm '{}' ';' + sed -i 's/\r/\n/g' src/main/java/org/codehaus/mojo/castor/ConvertDTD2XSDMojo.java + echo 'Patch #0 (duplicate-descriptors.patch):' Patch #0 (duplicate-descriptors.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/main/java/org/codehaus/mojo/castor/ConvertDTD2XSDMojo.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.apache.maven:maven-core + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.apache.maven:maven-compat + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xE2XUc + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd castor-maven-plugin-castor-maven-plugin-2.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py -- -Denforcer.skip=true Executing: xmvn --batch-mode --offline -Denforcer.skip=true verify org.fedoraproject.xmvn:xmvn-mojo:install org.apache.maven.plugins:maven-javadoc-plugin:aggregate org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Denforcer.skip=true', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.apache.maven.plugins:maven-javadoc-plugin:aggregate', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Castor Maven Plugin 2.5 [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.apache.maven.plugins:maven-plugin-plugin:jar:3.2 is missing, no dependency information available [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Castor Maven Plugin [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.573 s [INFO] Finished at: 2017-05-17T08:56:32+00:00 [INFO] Final Memory: 22M/1963M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-plugin-plugin:3.2 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-plugin-plugin:jar:3.2 has not been downloaded from it before. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.xE2XUc (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.xE2XUc (%build) I: [iurt_root_command] ERROR: chroot