Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder4.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.maint.java Subject: Re: Packaging maven-scala-plugin (Was: Help needed for gatk) Date: Mon, 01 Feb 2016 14:40:02 +0100 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Mon Feb 1 13:35:35 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.881 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailing-List: archive/latest/19113 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20160201133518.GB7577@an3as.eu Approved: robomod@news.nic.it Lines: 59 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Debian Med Packaging Team , David Bernard X-Original-Date: Mon, 1 Feb 2016 14:35:18 +0100 X-Original-Message-ID: <20160201133518.GB7577@an3as.eu> X-Original-References: <1453935175.21909.27.camel@gmail.com> <20160128183206.GF2043@an3as.eu> <20160130135904.GG26893@an3as.eu> <56ACCCA9.5040004@apache.org> <20160130170530.GK26893@an3as.eu> <1454187900.16827.5.camel@gmail.com> <20160201085137.GB29773@an3as.eu> <1454324732.4228.22.camel@gmail.com> <20160201111824.GC2206@an3as.eu> <1454329800.4228.58.camel@gmail.com> Xref: csiph.com linux.debian.maint.java:8794 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