Search code examples
mavendebianpackaging

Package debian with contents from target/classes using Maven


I want to package a debian with files from maven generated target/classes directory of my project. Is there a way that I can pick those files before debian push?


Solution

  • I found a way to use maven resources plugin to generate build info into target/classes which also writes the info to the property file packaged into debian