how to package Maven-based projects with modules and inter-module dependencies
Hi,
I have been looking at building Debian packages from mustache.java
(http://github.com/spullara/mustache.java), yet another dependency for
(newer versions of) ElasticSearch.
I tried preparing the package using current mh_make, but there have been
problems: There are multiple modules that declare dependencies on other
modules. For example, the codegen module has a dependency on the
compiler module. The compiler module has been built, but Maven
apparently cannot find it before it has been installed into
debian/maven-repo:
,----
| [INFO] ------------------------------------------------------------------------
| [INFO] Building codegen
| [INFO] task-segment: [package]
| [INFO] ------------------------------------------------------------------------
| [...]
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] Failed to resolve artifact.
|
| Missing:
| ----------
| 1) com.github.spullara.mustache.java:compiler:jar:debian
`----
What can I do to fix this?
Cheers,
-Hilko
Reply to: