[Debian-med-packaging] Packaging maven-scala-plugin (Was: Help needed for gatk)

Andreas Tille andreas at an3as.eu
Mon Feb 1 13:35:18 UTC 2016


Hi,

[Upstream in CC.  David for better understanding you might like to read
 my mail
  https://lists.debian.org/debian-java/2016/02/msg00000.html
 and the related patch
  https://anonscm.debian.org/cgit/pkg-java/maven-scala-plugin.git/tree/debian/patches/disable_zinc.patch
 If you read below the part when I start discussing the errors might
 be worth a comment from your side.
]

On Mon, Feb 01, 2016 at 04:30:00AM -0800, Andrew Schurman wrote:
> On Mon, 2016-02-01 at 12:18 +0100, Andreas Tille wrote:
> >  I admit I have no idea how
> > to
> > craft the suggested publishedRule.
> 
> The maven.publishedRules usually gets generated with comments to help
> you if you used mh_make. If not, check another project for reference
> such as [1]. Adding the line below should work:
> 
> org.apache.maven maven-core jar s/.*/3.x/

I seeked on codesearch.debian.net for

    maven-core path:debian/maven.publishedRules

but failed finding such string.  By a more relaxed search I've found
that this string needs to go into debian/maven.rules rather than
debian/maven.publishedRules which brought me another step forward.
 
Unfortunately I'm running into another series of Errors:

...
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /build/maven-scala-plugin-3.2.2/src/main/java/scala_maven/ScalaCompilerSupport.java:[4,42] package org.apache.maven.plugin.descriptor does not exist
[ERROR] /build/maven-scala-plugin-3.2.2/src/main/java/sbt_inc/SbtIncrementalCompiler.java:[3,25] package com.typesafe.zinc does not exist
[ERROR] /build/maven-scala-plugin-3.2.2/src/main/java/sbt_inc/SbtIncrementalCompiler.java:[4,1] package com.typesafe.zinc does not exist
[ERROR] /build/maven-scala-plugin-3.2.2/src/main/java/sbt_inc/SbtIncrementalCompiler.java:[6,13] package scala does not exist
[ERROR] /build/maven-scala-plugin-3.2.2/src/main/java/sbt_inc/SbtIncrementalCompiler.java:[27,13] cannot find symbol
  symbol:   class ZincClient
  location: class sbt_inc.SbtIncrementalCompiler
[ERROR] /build/maven-scala-plugin-3.2.2/src/main/java/sbt_inc/SbtIncrementalCompiler.java:[39,18] package xsbti does not exist
[ERROR] /build/maven-scala-plugin-3.2.2/src/main/java/sbt_inc/SbtIncrementalCompiler.java:[69,13] cannot find symbol
...


I wonder whether I could really skip the Zinc dependency.  I'm also
afraid that if Zinc is not available I need at least xsbti - so just
another package I need to create.  Is this correct?

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list