Execute file from maven goal
I like to integrate compass (https://github.com/Compass/compass/wiki) in my java project, and I need something to compile .sass files to css without running commands manualy.
So is there a way to execute开发者_运维知识库 a file using some maven plugin or goal?
Try the exec-maven plugin
The maven-antrun-plugin is the usual practice here, as it allows you to use an ant task to execute whatever. An alternative might be Groovy, but I confess that I don't know for sure that it can execute an arbitrary executable.
精彩评论