Bug#740554: mangles classpath in upstream manifest
On 05/03/14 13:57, Emmanuel Bourg wrote: Le 04/03/2014 07:48, Daniel Pocock a écrit : When I search for Debian Java mvn packaging, Google had referred me to this wiki: https://wiki.debian.org/Java/MavenRepoHelper which suggested using libplexus-io-java as an example. That is using maven-ant-helper Good point, the wiki is confusing. libplexus-io-java is an example showing how to use maven-repo-helper, but it shouldn't lead to use maven-ant-helper. jsch is a better example for projects without a Maven build. So it looks like a) the page I should have looked at is https://wiki.debian.org/Java/MavenBuilder b) that page talks about maven-debian-helper c) however, it is using cdbs in the examples (whereas I'm trying to use dh) d) jsch seems to be using cdbs and maven-repo-helper I have a couple more packages I want to make this week, using maven-debian-helper + dh - could you point out any example of a package I should refer to? __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#740554: mangles classpath in upstream manifest
Le 23/04/2014 16:34, Daniel Pocock a écrit : I have a couple more packages I want to make this week, using maven-debian-helper + dh - could you point out any example of a package I should refer to? maven-debian-helper isn't as well integrated with DH as it is with CDBS, I strongly recommend using CDBS if you want to package a simple Maven based project. jsch is an Ant based project. The package uses maven-repo-helper to deploy the Maven artifacts in /usr/share/maven-repo. __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#740554: mangles classpath in upstream manifest
On 23/04/14 16:51, Emmanuel Bourg wrote: Le 23/04/2014 16:34, Daniel Pocock a écrit : I have a couple more packages I want to make this week, using maven-debian-helper + dh - could you point out any example of a package I should refer to? maven-debian-helper isn't as well integrated with DH as it is with CDBS, I strongly recommend using CDBS if you want to package a simple Maven based project. jsch is an Ant based project. The package uses maven-repo-helper to deploy the Maven artifacts in /usr/share/maven-repo. Ok, I'll go with CDBS for now Can you suggest a good example of CDBS + maven-debian-helper for a Maven project that produces multiple JARs? __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#740554: mangles classpath in upstream manifest
Le 04/03/2014 07:48, Daniel Pocock a écrit : When I search for Debian Java mvn packaging, Google had referred me to this wiki: https://wiki.debian.org/Java/MavenRepoHelper which suggested using libplexus-io-java as an example. That is using maven-ant-helper Good point, the wiki is confusing. libplexus-io-java is an example showing how to use maven-repo-helper, but it shouldn't lead to use maven-ant-helper. jsch is a better example for projects without a Maven build. Emmanuel Bourg __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#740554: mangles classpath in upstream manifest
On 03/03/14 01:36, Emmanuel Bourg wrote: Hi Daniel, maven-ant-helper was useful to build the Maven dependencies when Maven wasn't packaged yet (or to break circular dependencies). It's a limited implementation of the Maven lifecycle using only Ant, and it can't really aim at being on par with Maven in all areas. For jmxetric I would advise using maven-debian-helper instead. Hi Emmanuel, Thanks for this feedback When I search for Debian Java mvn packaging, Google had referred me to this wiki: https://wiki.debian.org/Java/MavenRepoHelper which suggested using libplexus-io-java as an example. That is using maven-ant-helper I don't mind changing my packages to use the maven-debian-helper, but I will look at that next time I update them. Regards, Daniel __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#740554: mangles classpath in upstream manifest
Package: maven-ant-helper Version: 7.7 Severity: important In debian/build.properties (for the jmxetric package) I have manifest=src/main/resources/META-INF/MANIFEST.MF to copy the upstream manifest The manifest contains: Manifest-Version: 1.0 Premain-Class: info.ganglia.jmxetric.JMXetricAgent Boot-Class-Path: oncrpc-${oncrpc.version}.jar gmetric4j-${gmetric4j.version}.jar Can-Redefine-Classes: false The long line is messed up in the JAR produced by maven-ant-helper: a) the long line is broken b) the version substitution is not done As a workaround, I can supply a modified manifest instead __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#740554: mangles classpath in upstream manifest
Hi Daniel, maven-ant-helper was useful to build the Maven dependencies when Maven wasn't packaged yet (or to break circular dependencies). It's a limited implementation of the Maven lifecycle using only Ant, and it can't really aim at being on par with Maven in all areas. For jmxetric I would advise using maven-debian-helper instead. Emmanuel Bourg __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.