Hi Emmanuel, thanks that brought me one step further. The problem remains with swt. I installed libswt-gtk-4-java but the swt dependency still couldn't be detected. As you explained, I added libswt-gtk-4-java to the Build-Depends field of debian/control. After that I tried to run debuild -us -uc but it failed because it couldn't find swt. I got errors like "package org.eclipse.swt.graphics does not exist" and so on.
Regards, Tobias On 05.04.2016 23:26, Emmanuel Bourg wrote: > If you install liblogback-java and libjcommander-java this will help > mh_make figuring out the dependencies (I'm not sure about the right > package for SWT though). Otherwise you have to declare them manually in > the Build-Depends field of debian/control. The debian/maven.rules file > is used to relocate Maven artifact and match the ones in Debian (for > example junit 4.11 becomes junit 4.x, the rules can change the version > but also the groupId and the artifactId). If the package of the > dependency has the same groupId/artifactId and a generic 'debian' > version there is no need to add a rule in this file. > > Emmanuel Bourg > > PS: Feel free to join the #debian-java IRC channel on OFTC for a live > mentoring session.