[Debian-med-packaging] Packaging fest-swing and its dependencies

Andreas Tille andreas at an3as.eu
Fri Jul 17 18:40:18 UTC 2015


Hi Tim,

On Fri, Jul 03, 2015 at 06:20:46AM +0000, Potter, Tim (Cloud Services) wrote:
> > The artifact in the libjsr305-java package has the version 0.x, you need
> > a Maven rule (in debian/maven.rules) like this one:
> > 
> > org.jsr-305 jsr305 * s/.*/0.x/ * *
> 
> Andreas, if you get stuck with apparently unsatisfiable Maven dependencies, I’ve found it handy to check out a large number of projects from the pkg-java repository on alioth and search through the debian/maven.rules files for tips.

I admit I tried to find any clue but failed.  To me maven.rules is some
regexp-replacement but I do not have the slightest idea how to find out
what needs to be replaced and by what it should be replaced.  The clue
above suggested by Emmanuel has in my eyes no relation to the error I
had faced.  For instance current build of fest-swing-1.x starts with
errors like:

[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/driver/ComponentDriver.java:[17,33] error: package org.fest.assertions does not exist
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/driver/ComponentDriver.java:[17,0] error: static import only from classes and interfaces
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/driver/ComponentEnabledCondition.java:[26,26] error: package org.fest.assertions does not exist
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/timing/Condition.java:[22,26] error: package org.fest.assertions does not exist
[ERROR] /tmp/buildd/fest-swing-1.x-20130304/fest-swing/src/main/java/org/fest/swing/timing/Condition.java:[23,26] error: package org.fest.assertions does not exist

How can I now guess a maven.rules line to fix this?

Can somebody point me to the relevant piece inside the long error log
which gives a clue about the needed replacement?

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list