Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom compiler with maven

I'm trying to make Maven2 to compile coffeescript to javascript. As far as I'm concerned there is no plugin which provides compiling coffeescript.

Is there a compiler-plugin for maven which can be parameterized with a compiler (for any programming language)?

like image 308
cbart Avatar asked Oct 10 '10 19:10

cbart


2 Answers

Is there a compiler-plugin for maven which can be parameterized with a compiler (for any programming language)?

This is actually the case of the Maven Compiler Plugin, see Using Non-Javac Compilers. So one could imagine providing a pluggable compiler implementation to compile coffeescript.

like image 83
Pascal Thivent Avatar answered Oct 01 '22 01:10

Pascal Thivent


coffeescript-maven-plugin

https://github.com/iron9light/coffeescript-maven-plugin

like image 28
iron9light Avatar answered Oct 01 '22 02:10

iron9light