I have one configuration file that I would like to include as a dependency in maven pom.xml. I want to support multiple versions of this and appear in the classpath. I understand that I can wrap it in a jar, but others on my team would like to easily check its contents. Looking at the types allowed in pom.xml, I only see things like pom, jar, war, ear, ... Mostly just archives. So I'm wondering what pom.xml might look like for packing a single file. I would visualize maven artifacts when checking the server as something like
myconfig-0.0.1.cfg myconfig-0.0.1.cfg.md5 myconfig-0.0.1.cfg.sha1 myconfig-0.0.1.pom myconfig-0.0.1.pom.md5 myconfig-0.0.1.pom.sha1
So is this possible? What does pom.xml look like?
source share