Mariusz Zawadzki
Mariusz Zawadzki

Reputation: 479

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?

Upvotes: 1

Views: 687

Answers (2)

bmargulies
bmargulies

Reputation: 100051

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.

Upvotes: 0

Kevin
Kevin

Reputation: 30439

Try the exec-maven plugin

Upvotes: 3

Related Questions