Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/maven-shade-plugin.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8020020210328023913-ff983833-build-14623-2415/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/maven-shade-plugin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/maven-shade-plugin-3.2.1-2.module+el8.2.0+10087+df274a06.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/maven-shade-plugin.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8020020210328023913-ff983833-build-14623-2415/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/maven-shade-plugin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hDJWs8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf maven-shade-plugin-3.2.1 + /usr/bin/unzip -qq /builddir/build/SOURCES/maven-shade-plugin-3.2.1-source-release.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd maven-shade-plugin-3.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm src/test/jars/plexus-utils-1.4.1.jar ++ build-classpath plexus/utils + ln -s /usr/share/java/plexus/utils.jar src/test/jars/plexus-utils-1.4.1.jar + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep com.google.guava:guava: + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep com.google.guava:guava + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YpHpL8 + umask 022 + cd /builddir/build/BUILD + cd maven-shade-plugin-3.2.1 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -f Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true 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', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] [INFO] ------------< org.apache.maven.plugins:maven-shade-plugin >------------- [INFO] Building Apache Maven Shade Plugin 3.2.1 [INFO] ----------------------------[ maven-plugin ]---------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ maven-shade-plugin --- [INFO] [INFO] --- maven-plugin-plugin:3.5.1:helpmojo (generate-helpmojo) @ maven-shade-plugin --- [INFO] Using 'UTF-8' encoding to read mojo source files. [INFO] java-javadoc mojo extractor found 0 mojo descriptor. [INFO] java-annotations mojo extractor found 0 mojo descriptor. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-shade-plugin --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ maven-shade-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ maven-shade-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 33 source files to /builddir/build/BUILD/maven-shade-plugin-3.2.1/target/classes [INFO] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/resource/XmlAppendingTransformer.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/resource/XmlAppendingTransformer.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java: /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java uses unchecked or unsafe operations. [INFO] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[54,49] package org.apache.maven.shared.transfer.artifact does not exist [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[55,57] package org.apache.maven.shared.transfer.artifact.resolve does not exist [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[56,57] package org.apache.maven.shared.transfer.artifact.resolve does not exist [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[144,15] cannot find symbol symbol: class ArtifactResolver location: class org.apache.maven.plugins.shade.mojo.ShadeMojo [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[719,9] cannot find symbol symbol: class DefaultArtifactCoordinate location: class org.apache.maven.plugins.shade.mojo.ShadeMojo [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[719,52] cannot find symbol symbol: class DefaultArtifactCoordinate location: class org.apache.maven.plugins.shade.mojo.ShadeMojo [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[732,17] cannot find symbol symbol: class ArtifactResolverException location: class org.apache.maven.plugins.shade.mojo.ShadeMojo [INFO] 7 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Apache Maven Shade Plugin [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.637 s [INFO] Finished at: 2021-04-07T15:05:42+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project maven-shade-plugin: Compilation failure: Compilation failure: [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[54,49] package org.apache.maven.shared.transfer.artifact does not exist [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[55,57] package org.apache.maven.shared.transfer.artifact.resolve does not exist [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[56,57] package org.apache.maven.shared.transfer.artifact.resolve does not exist [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[144,15] cannot find symbol [ERROR] symbol: class ArtifactResolver [ERROR] location: class org.apache.maven.plugins.shade.mojo.ShadeMojo [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[719,9] cannot find symbol [ERROR] symbol: class DefaultArtifactCoordinate [ERROR] location: class org.apache.maven.plugins.shade.mojo.ShadeMojo [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[719,52] cannot find symbol [ERROR] symbol: class DefaultArtifactCoordinate [ERROR] location: class org.apache.maven.plugins.shade.mojo.ShadeMojo [ERROR] /builddir/build/BUILD/maven-shade-plugin-3.2.1/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java:[732,17] cannot find symbol [ERROR] symbol: class ArtifactResolverException [ERROR] location: class org.apache.maven.plugins.shade.mojo.ShadeMojo [ERROR] -> [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/MojoFailureException error: Bad exit status from /var/tmp/rpm-tmp.YpHpL8 (%build) Bad exit status from /var/tmp/rpm-tmp.YpHpL8 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/maven-shade-plugin.spec