i’m in the process of snapping Apache Tika which is a Java based app.
The build is controlled by Maven and is a multi module project where maven tells it to build from the parent and the parent then builds a bunch of submodules.
Anyway, long story short, the build works, but then doesn’t find any jars because they are distributed amongst a bunch of submodules target directories. Is it possible to define where snapcraft should be looking for built jar files? because if it assumes ${toplevel}/target it will break on 75% of the maven based projects I work with.
https://github.com/apache/tika here is the source code, you can see how its 1 top level pom, then a bunch of other modules that build their own jars.