[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Migration from ant to maven



Hi,

I just got involved in packaging a Java package (jsamp) that used ant in
the past and "now" (since a few years) moved to maven. Up to now, the
old build.xml is kept locally in the Debian package as a patch and the
package is built with it. This is ofcourse not optimal, and so I would
like to migrate the Debian build to maven.

However, I must say that I don't fully understand the documentation on
the Wiki here. I have read https://wiki.debian.org/Java/Packaging/Maven,
however a lot of things are still unclear:

* how do I start?

* which files to I really need? libtwelvemonkeys-java.poms, maven.rules,
  maven.ignoreRules and maven.properties are mentioned, do I need all?

* what should I put into the build dependencies?

* The ".poms" file: is this tobe named after the source or the binary
  package? And, if binary: which?

* shall I replace the dependencies with maven.rules?

* Can I obtain these information from the build.xml that is still
  maintained debian-locally?

* How do I include tests?

etc.

Maybe someone could have a look into the package and give me a hint
where to start? I have absolutely no experience with maven yet.

Best regards

Ole


Reply to: