dpkg-buildpackage -rfakeroot -D -us -uc -b dpkg-buildpackage: source package libsequence-library-java dpkg-buildpackage: source version 1.0.2-1 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by tony mancill dpkg-source --before-build libsequence-library-java-1.0.2 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean test -x debian/rules mkdir -p "." cp debian/pom.xml . cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/home/lamby/temp/cdt.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.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] ------------------------------------------------------------------------ [INFO] Building Unnamed - de.regnis.q.sequence:sequence-library:jar:1.0.2 [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting /home/lamby/temp/cdt.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.2/target [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Mon Aug 31 02:31:37 BST 2015 [INFO] Final Memory: 5M/236M [INFO] ------------------------------------------------------------------------ rm -f -r /home/lamby/temp/cdt.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.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.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.2' mh_unpatchpoms -plibsequence-library-java rm -f -f debian/stamp-poms-patched make[1]: Leaving directory '/home/lamby/temp/cdt.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.2' dh_clean mh_unpatchpoms -plibsequence-library-java rm -f -f debian/stamp-poms-patched mh_clean rm -f pom.xml debian/rules build test -x debian/rules mkdir -p "." cp debian/pom.xml . /usr/share/maven-debian-helper/copy-repo.sh /home/lamby/temp/cdt.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.2/debian mh_patchpoms -plibsequence-library-java --debian-build --keep-pom-version --maven-repo=/home/lamby/temp/cdt.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.2/debian/maven-repo --build-no-docs 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 -Dclassworlds.conf=/etc/maven2/m2-debian-nodocs.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/home/lamby/temp/cdt.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.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] ------------------------------------------------------------------------ [INFO] Building Unnamed - de.regnis.q.sequence:sequence-library:jar:1.0.2 [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.2/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [INFO] Compiling 68 source files to /home/lamby/temp/cdt.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.2/target/classes [INFO] [resources:testResources {execution: default-testResources}] [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/lamby/temp/cdt.20150831021716.8n2Bc5aotY/libsequence-library-java-1.0.2/src/test/resources [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) junit:junit:jar:4.x Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=junit -DartifactId=junit -Dversion=4.x -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=junit -DartifactId=junit -Dversion=4.x -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) de.regnis.q.sequence:sequence-library:jar:1.0.2 2) junit:junit:jar:4.x ---------- 1 required artifact is missing. for artifact: de.regnis.q.sequence:sequence-library:jar:1.0.2 from the specified remote repositories: central (https://repo1.maven.org/maven2) 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: 6 seconds [INFO] Finished at: Mon Aug 31 02:31:59 BST 2015 [INFO] Final Memory: 12M/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