Hello All,Today I tried to build the apache jsieve using the following command but failing for the following dependencies. I am quite new to debian packaging and wanted to know what can be done here or any helpful links, advice etc.
$mh_make --from-svn=http://svn.apache.org/repos/asf/james/jsieve/tags/jsieve-project-0.4/ -v
The final error after execution of the command is ...Aug 26, 2011 6:16:32 PM org.debian.maven.packager.DependenciesSolver$ToResolve resolve
SEVERE: Cannot resolve dependencies on ./assemble/pom.xml java.lang.ClassCastException[ERROR] Cannot find parent dependency org.apache.james:jsieve-project:pom:0.4, use --no-parent option to resolve this issue or install the parent POM in the Maven repository [ERROR] Cannot find parent dependency org.apache.james:jsieve-project:pom:0.4, use --no-parent option to resolve this issue or install the parent POM in the Maven repository [ERROR] Cannot find parent dependency org.apache.james:jsieve-project:pom:0.4, use --no-parent option to resolve this issue or install the parent POM in the Maven repository [ERROR] Cannot find parent dependency org.apache.james:jsieve-project:pom:0.4, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
ERROR:main/pom.xml: Dependency is not packaged in the Maven repository for Debian: javax.mail:mail:1.4 main/pom.xml: Plugin is not packaged in the Maven repository for Debian: org.codehaus.mojo:javacc-maven-plugin:2.5 mailet/pom.xml: Dependency is not packaged in the Maven repository for Debian: org.apache.james:apache-mailet:2.4 mailet/pom.xml: Plugin is not packaged in the Maven repository for Debian: org.codehaus.mojo:rat-maven-plugin:1.0-alpha-3 mailet/pom.xml: Plugin is not packaged in the Maven repository for Debian: org.apache.james:maven-mailetdocs-plugin:0.1 util/pom.xml: Dependency is not packaged in the Maven repository for Debian: javax.mail:mail:1.4 util/pom.xml: Plugin is not packaged in the Maven repository for Debian: org.codehaus.mojo:rat-maven-plugin:1.0-alpha-3 assemble/pom.xml: Dependency is not packaged in the Maven repository for Debian: org.apache.james:apache-mailet:2.4
Thanks& Regards Devendra Dave On 08/26/2011 03:33 AM, Ludovic Claude wrote:
Hello Ioan, It's very likely that Maven 2 will be able to build Apache James or at least parts of it. The only big incompatibility between Maven 2 and 3 is the documentation and site plugins, and you can skip those at least for initial packaging (answer no to the Javadoc question when mh_make asks it). I have some initial work for packaging Maven 3, but my efforts have stalled due to a lack of time. If you can help, great, otherwise it might take quite a few more months to get anything ready. Maven 3 is a big beast and takes time to package. Ludovic On 25/08/2011 09:15, Ioan Eugen Stan wrote:2011/8/25 Ludovic Claude<ludovic.claude@laposte.net>:On 24/08/2011 11:41, Ioan Eugen Stan wrote:2011/8/23 ddave Dave<ddave1403@gmail.com>:On Tue, Aug 23, 2011 at 5:26 PM, Eric Charles<eric.charles@u-mangate.com> wrote:Hi, I think you didn't send to debian-java@lists.debian.org (just click on reply-to-all to be sure). Thx. On 23/08/11 11:38, ddave Dave wrote:Hello, I have joined today and wish to participate on this. Event I am new to java packaging under debian but might help you on Java part. Please let me know. Thanks& Regards Devendra DaveHello Dave, Cool, nice to see you are interested. Here is the way I see things going; 1. See what are the dependencies and first seek those that are atomic (don't depend on any other library). They will be the first things to package and I expect them to be small libraries, pretty easy to package. 2. Try to see what modifications to the maven pom can be made to support Debian builds and if possible integrate them upstream. This should not intrude on the normal way development works. Maybe create even a maven plugin that should ease this task. 3. Build on those until we manage to get everything in. Simple, no :> ! If you want something more specific, I think we will probably begin with jSieve [0] or jDKIM [1]. Mime4j 0.6 is already packaged and you can see how from [2]. [0] http://james.apache.org/jsieve/index.html [1] http://james.apache.org/jdkim/index.html [2] http://packages.debian.org/unstable/java/libapache-mime4j-java p.s. I am busy with some other projects so I don't expect things to go wild here. I hope to get James in a few months, with your help maybe faster. Don't hesitate to ask if you have problems. You can find me on James dev list for James related stuff. You can even send me private messages but for packaging stuff it's best if it is public. Regards,Hello, This page should help you to get started with packaging a Maven project in Debian: http://wiki.debian.org/Java/MavenDebianHelper I'm working on improving the documentation for this package, so any feedback or questions will be useful. LudovicHello Ludovic and thanks for the tip. I think that the only show stopper will be that James 3 requires Maven 3 to build. And from what I saw, Maven 3 is not in Debian right now. Also the status is unclear. Do you know anything about that? [1] http://wiki.debian.org/Java/Maven3