The Alignment API is not a native Maven project. It is built using Ant. There are reason for that: we think that maven is putting too much hassle to developpers with respect to delivered benefits.
However, we have no reason to not help our Maven users as long as this is not too difficult.
Since the Alignment API jar files have readble POM files, it is possible to add them to a local repository even if you use the Maven central repository otherwise. This can be achieved by:
The same can be achieved from ant. One can generate a local maven repository by simply applying:
It can be used in your project POM, by including:
This is obtained by using the maven-ant-tasks ant plug-ins, but it is equivalent to the command lines:
We are using the POM format, not exactly as Maven but as a practical way to record information about shipped libraries. We ship external libraries because we want users to be ready to work right away.
Included libraries and associated POM files are maintained by hand. They do not contain dependency information because we think that the way Maven maintains dependency information both in the POM file, in the directory structure and in the JAR name is too much. Moreover, we think that maintaining this information at the exact version level defeats the purpose of modular software.
The Alignment API POM files themselves are generated on the fly from ant from the templates found in the distrib repository.
Any constructive feedback for improving the process, improving the content of our POM files (especially if it is for allowing you to do better things) is welcome.
If you know of a good way to replace some component of our local repository by officially well maintained versions of global repository we want to hear you. If you know how to generate better Alignment API POM files, we want to hear you.
The best for us is if you can just do it (particularly in ant or shell, but even maven command lines should be OK) and send us the procedure.
If you want to publish the Alignment API in a repository, then you are welcome, but in the current state of Maven and its repositories, do not count on us to maintain it.