dpkg-buildpackage -rfakeroot -D -us -uc -b dpkg-buildpackage: source package robust-http-client dpkg-buildpackage: source version 1.2-2 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by James Page dpkg-source --before-build robust-http-client-1.2 dpkg-buildpackage: host architecture amd64 dpkg-source: warning: unknown information field 'Dm-Upload-Allowed' in input data in general section of control info file fakeroot debian/rules clean test -x debian/rules mkdir -p "." cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/home/lamby/temp/cdt.20150829092438.U7IEMGbZne/robust-http-client-1.2/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/home/lamby/temp/cdt.20150829092438.U7IEMGbZne/robust-http-client-1.2/debian/maven-repo clean [INFO] NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.maven.scm:maven-scm-manager-plexus:jar:debian Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.maven.scm -DartifactId=maven-scm-manager-plexus -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.scm -DartifactId=maven-scm-manager-plexus -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.jvnet.robust-http-client:robust-http-client:jar:1.2 2) org.apache.maven.scm:maven-scm-manager-plexus:jar:debian ---------- 1 required artifact is missing. for artifact: org.jvnet.robust-http-client:robust-http-client:jar:1.2 from the specified remote repositories: central (https://repo1.maven.org/maven2), m.g.o-public (http://maven.glassfish.org/content/groups/public/) NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Sat Aug 29 10:26:42 BST 2015 [INFO] Final Memory: 5M/236M [INFO] ------------------------------------------------------------------------ /usr/share/cdbs/1/class/maven.mk:105: recipe for target 'cleanbuilddir' failed make: [cleanbuilddir] Error 1 (ignored) rm -f -r /home/lamby/temp/cdt.20150829092438.U7IEMGbZne/robust-http-client-1.2/debian/maven-repo debian/stamp-maven-build rm -f debian/*.substvars /usr/bin/make -f debian/rules unpatch-poms make[1]: Entering directory '/home/lamby/temp/cdt.20150829092438.U7IEMGbZne/robust-http-client-1.2' mh_unpatchpoms -plibrobust-http-client-java rm -f -f debian/stamp-poms-patched make[1]: Leaving directory '/home/lamby/temp/cdt.20150829092438.U7IEMGbZne/robust-http-client-1.2' dh_clean mh_unpatchpoms -plibrobust-http-client-java rm -f -f debian/stamp-poms-patched mh_clean rm -f debian/stamp-maven-doc debian/rules build test -x debian/rules mkdir -p "." /usr/share/maven-debian-helper/copy-repo.sh /home/lamby/temp/cdt.20150829092438.U7IEMGbZne/robust-http-client-1.2/debian mh_patchpoms -plibrobust-http-client-java --debian-build --keep-pom-version --maven-repo=/home/lamby/temp/cdt.20150829092438.U7IEMGbZne/robust-http-client-1.2/debian/maven-repo touch debian/stamp-poms-patched # before-build target may be used to unpatch the pom files, so we need to check if # patching the pom files is needed here, normally not if [ ! -f pom.xml.save ]; then \ /usr/bin/make -f debian/rules patch-poms; \ fi cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/home/lamby/temp/cdt.20150829092438.U7IEMGbZne/robust-http-client-1.2/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/home/lamby/temp/cdt.20150829092438.U7IEMGbZne/robust-http-client-1.2/debian/maven-repo package [INFO] NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.maven.scm:maven-scm-manager-plexus:jar:debian Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.maven.scm -DartifactId=maven-scm-manager-plexus -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.scm -DartifactId=maven-scm-manager-plexus -Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.jvnet.robust-http-client:robust-http-client:jar:1.2 2) org.apache.maven.scm:maven-scm-manager-plexus:jar:debian ---------- 1 required artifact is missing. for artifact: org.jvnet.robust-http-client:robust-http-client:jar:1.2 from the specified remote repositories: central (https://repo1.maven.org/maven2), m.g.o-public (http://maven.glassfish.org/content/groups/public/) NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Sat Aug 29 10:26:47 BST 2015 [INFO] Final Memory: 5M/236M [INFO] ------------------------------------------------------------------------ /usr/share/cdbs/1/class/maven.mk:93: recipe for target 'mvn-build' failed make: *** [mvn-build] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2