eclipse - mavenized java webapp and javascript dependency management -


i have java webapp project under eclipse using maven dependency management. webapp depends on many javascript libraries front-end, either provided external "vendors" such jquery or bootstrap, or developped "internally" myself.

what want manage javascript dependencies java dependecies, inside pom.xml.

now, external dependencies them automatically downloaded repository ( either hosted me or external) - webjars provide believe.

for "internal" javascript libraries create them separate eclipse projects, in eclipse workspace, referenced inside webapp's pom same way secondary java project residing in eclipse workspace.

i want referenced js dependencies placed under /src/main/webapp/js/ folder when webapp deployed.

finally, when modifying in 1 of "internal" javascript libraries, changes automatically deployed webapp, if regular java sub-project referenced in main webapp project. specially want changes redeployed webapp if running / being debugged, under eclipse.

i have heard of javascript maven tools : http://javascript-maven.softec.lu/ or http://mojo.codehaus.org/javascript-maven-tools/javascript-maven-plugin/ thes plugins dont seem maintained anymore, lightly documented, , failed achieving above requirements them (probably because of lack of concrete examples).

now know i'm asking alot dont mind trying different approaches, , fooling around different tools.

any help, thoughts, insights etc ... appreciated

thanks


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -