Re: Packaging maven-scala-plugin (Was: Help needed for gatk)
On Thu, Jan 28, 2016 at 07:32:06PM +0100, Andreas Tille wrote:
>
> Hmmm, I'm missing my mail from some hours ago to the list but to
> push things a bit forward I injected
>
> git://anonscm.debian.org/pkg-java/maven-scala-plugin.git
According to different hints I dropped the idea to package version 2.x
of the project and injected the latest version (3.2.2) into the above
Git repository. Unfortunately I have no idea how to solve the resulting
issue when I try to build the package:
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project net.alchim31.maven:scala-maven-plugin:3.2.2 (/build/maven-scala-plugin-3.2.2/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for net.alchim31.maven:scala-maven-plugin:3.2.2: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.sonatype.oss:oss-parent:pom:9 has not been downloaded from it before. and 'parent.relativePath' points at wrong local POM @ line 3, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
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
Any help would be welcome
Andreas.
--
http://fam-tille.de
Reply to: