I have written an application in Java that can be used on both Linux and Windows. Currently by running mvn package, my maven build system will generate a .msi using WiX. Is there a way of creating two package ‘tasks’ so I can say either mvn package-windows ormvn package-linux` Answer If you want to package both versions (Linux and Windows),