Le samedi 2 juillet 2011, Kasun Gajasinghe a écrit : > No, you are not discouraging me in anyway. This stage is just the first > step of a much wider task. The ultimate goal of this work is to provide > the ability to package maven-based builds to Gentoo system. Gentoo > encourages and the package-management installs packages by first compiling > them from source. So, as you can understand, if the package source uses > maven as the build management tool, it needs maven to do the building and > generate the jar. > > Further, there are other constraints involved. Mainly the packages should > be able to use the existing jars available in the system (under > /usr/share), and we've are not strict about having a specific version as a > dep as long the existing system jar is api-compatible. honestly, this is the part I really doubt about: it will be hard to do (will need to change the way Maven resolves dependencies), and I expect there will be a lot of failures since dependencies version modification in general causes failures.
As a proof of concept, I find the task fun. As a user, I expect a lot of problems and wouldn't really be confident about this. But if you want to try, why not :) > > So, this is the step we take to have a custom maven build tailored to > Gentoo system satisfying all the constraints. > > --Kasun --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org