I am getting into Maven as a build tool and am trying to convert a whole lot of manual processes to something streamlined.
I have a web application that uses audio files that currently at deployment time, are run through a SoX tasK: http://sox.sourceforge.net/ to convert them to a desired sample rate and destination folder. (manual step using a .bat file)
Is there a plugin or simplified way of integrating the audio build component into the Maven build?
I have thought about using an Ant script embedded in, but not sure if this is the right direction to be heading.
Cheers
It is not difficult to create your own Maven plugin (Mojo). Take a look at the Mojo Developers Cookbook
[Edit ]
I should also mention that you could run the
.batscript using the Exec Maven Plugin as a less portable alternative. Theexecplugin source code is also a good place to start were you to write your own SoX plugin.