Packaging openhab, a maven application...
Hi,
I just subscribed to this ML (so no need to CC me).
While I think I'm a experimented developer, in particular in C
and low-level system stuff, I'm rather newbie about java. I know
the language and very basic tools (java, javac, javadoc,
classpath, ...) but I never really do experiments with complexes
frameworks such as maven/OSGi.
For my hobby, I would like to use a maven application: openhab [1]
(it is used to control and interface various domotic systems). I can
compile it standalone, but I would really like to package it in
Debian.
I already read (and learn at lot about Debian java packaging) the
wiki page (and various links). This leads me to maven-debian-helper
and mh_make.
The more difficult part I see in packaging openhab is that it
seems that lots of dependencies are missing :-(
mh_make reports the following missing stuff:
com.mycila.maven-license-plugin:maven-license-plugin:maven-plugin:1.9.0
com.savage7.maven.plugins:maven-external-dependency-plugin:maven-plugin:0.4
org.apache.felix:org.apache.felix.fileinstall:jar:3.2.6
org.apache.felix:org.apache.felix.webconsole:jar:3.0.0
org.apache.felix:org.apache.felix.webconsole.plugins.event:jar:1.0.2
org.apache.felix:org.apache.felix.webconsole.plugins.memoryusage:jar:1.0.0
org.apache.maven.plugins:maven-assembly-plugin:maven-plugin:2.2
org.codehaus.mojo:build-helper-maven-plugin:maven-plugin:1.7
org.eclipse.tycho:target-platform-configuration:maven-plugin:0.18.1
org.eclipse.tycho:tycho-maven-plugin:maven-plugin:0.18.1
org.eclipse.tycho:tycho-surefire-plugin:maven-plugin:${tycho-version}
org.eclipse.xtend:xtend-maven-plugin:maven-plugin:2.3.0
org.fornax.toolsupport:fornax-oaw-m2-plugin:maven-plugin:3.3.0
org.mockito:mockito-all:jar:1.9.5
${tycho-groupid}:target-platform-configuration:maven-plugin:${tycho-version}
${tycho-groupid}:tycho-p2-director-plugin:maven-plugin:${tycho-version}
${tycho-groupid}:tycho-p2-publisher-plugin:maven-plugin:${tycho-version}
/usr/share/maven-repo/org/apache/felix/org.apache.felix.fileinstall
Of course, I've absolutely no idea of what is all of this.
Note that openhap is very modular and I'm not sure all of this
is required to compile the core system.
In any case, my first stop is tycho[2]. Looking at the web, it seems
that this is a maven plugin to help to build projects. But I cannot
find its sources, nor even a jar: its download web page[3] states that:
Tycho is a Maven 3 plugin and as such does not require explicit
download. Just configure Tycho as build extension in your project's
pom.xml, and Maven will automatically download the required build
plugins from Maven central.
Does any of you know how to start the packaging of such piece of
software?
Regards,
Vincent
PS: if I succeed in packaging openhab (and its dependencies), I will do
it within the Debian Java team. So, can you add me to the alioth project
(login: vdanjean, I'm a DD)
[1]: https://github.com/openhab/openhab/wiki
[2]: http://eclipse.org/tycho/
[3]: http://eclipse.org/tycho/download.php
--
Vincent Danjean GPG key ID 0x9D025E87 vdanjean@debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://people.debian.org/~vdanjean/debian unstable main
Reply to: