iHi Emmanuel, On Sat, Jan 30, 2016 at 03:46:01PM +0100, Emmanuel Bourg wrote: > Le 30/01/2016 14:59, Andreas Tille a écrit : > Add --no-parent for this pom in debian/<packagename>.poms, this will > ignore the parent oss-parent pom.
This helped a step further and I also added junit as Build-Depends. The next stumbling stone is: dh_auto_build -O--buildsystem=maven /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/maven-scala-plugin-3.2.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/maven-scala-plugin-3.2.2/debian -Dmaven.repo.local=/build/maven-scala-plugin-3.2.2/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building scala-maven-plugin 3.2.2 [INFO] ------------------------------------------------------------------------ [WARNING] The POM for com.typesafe.zinc:zinc:jar:debian is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.690 s [INFO] Finished at: 2016-01-30T16:54:46+00:00 [INFO] Final Memory: 7M/222M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project scala-maven-plugin: Could not resolve dependencies for project net.alchim31.maven:scala-maven-plugin:maven-plugin:3.2.2: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.typesafe.zinc:zinc:jar:debian 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/DependencyResolutionException dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/maven-scala-plugin-3.2.2 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/maven-scala-plugin-3.2.2/debian -Dmaven.repo.local=/build/maven-scala-plugin-3.2.2/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1 What might be the clue here? Kind regards Andreas. -- http://fam-tille.de