java - Maven - custom packaging extension? -


Is it possible to create a Maven plugin, which will package my project using a custom file extension? I know that there is a bunch of jars, ears, war etc. already defined, but I want my own. I also know how to create their own packaging types (using components.xml), but I need to tell which extension this should be used. Do I have to implement my own collector or something? (Originally it would be something like a war but with a different name)

OK I like Said the above comment - it is possible, but you need to implement your own collector (or you can use it in an existing form and as a result, you can change the name of the file - not sure about this option). It is described in detail in detail.

Comments