Nitin Verma wrote:
Do we have lifecycle defined for javascript?

Like:

concatenate
static-check (run jslint)
test
minify
install
deploy

Last time I checked in our company we just used the normal life cycle along with our own maven-jstools-plugin [1] and the maven-js-plugin by Mobilvox [2].

Our plugin provides jslint/jsdoc reports, but most importantly it provides dependency management for java webapps - i.e. add a JS dependency and your webapp can use it right away if the filter is configured in web.xml.

Mobilvox provides minification of JS files. For a sample project that uses them both check out sarissa's POM [3].

[1] http://dev.abiss.gr/mvn-jstools/
[2] http://ossi.mobilvox.com/maven-js-plugin/
[3] http://sarissa.cvs.sourceforge.net/sarissa/sarissa/pom.xml?view=markup

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to