On 29/12/2013 18:51, Emmanuel Bourg wrote: > Hi Vincent, > > Thank you for helping with the packaging of new Java tools for Debian. > The source code for Tycho can be found here: > > https://git.eclipse.org/c/tycho/org.eclipse.tycho.git/
Thank you. Looking at the tree, I see a pom.xml file. So I will start with mh_make for it too. Do you know other tools already packaged in Debian that comes from the same kind of site (mainly to easily write the watch file and/or the get-orig-sources target)? > Some of the dependencies you listed are already in Debian > (build-helper-maven-plugin, maven-assembly-plugin, mockito), and some > can probably be ignored like the maven-license-plugin. Ok. mh_make did not find them. Now that you give me the Debian packages, I will install them and see if mh_make detect them. I will probably come back here for basic java packaging questions. Thanks a lot for these initial answers. Regards, Vincent > Emmanuel Bourg > > > Le 29/12/2013 17:40, Vincent Danjean a écrit : >> 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 vdanj...@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 -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52c0a35a.7010...@free.fr