I wanted to try creating my own PPA. The project I have is a java project built with maven. This is what I've already done so far:
- Created a PPA.
- Set up a new project on Launchpad.
- Added a branch that is importing my project from a SVN repository.
- Created a recipe for that branch that is publishing the builds to my PPA.
This is where I'm stuck.
I've read the tutorials and Googled a lot; but, I wasn't able to find out how to build my project.
I can start a build for the branch; but, as I expected, it fails. I guess I have to put some meta information like a makefile into the repository. Is it even possible to build and package Maven projects on Launchpad? I also tried to build a .deb file locally using
bzr dh-make and
bzr dh-make created a lot of files in the
./debian folder but
debuild failed. I guess that it would work if I specified the right meta information in my project so it's the same problem as on Launchpad.
I know this is a pretty general question but I think there is a lack of proper tutorials for packaging
.deb files even if you don't have an "exotic" case like me.
To sum it up:
What files/information do I have to provide in my project so that it can be properly build and packaged?
Any help would be great 🙂