/javascript-archetypes

Maven Archetypes for JavaScript development

Primary LanguageJavaApache License 2.0Apache-2.0

javascript-archetypes

This projects provides several Maven archetypes for Javascript. Those archetypes allows to quickly bootstrap a Maven project to develop an javascript application. The created projects automatically:

  • running jasmine (BDD javascript testingframework) tests
  • creating jsdocs
  • running jslint
  • creating compressed versions of all your js and css files

The javascript-quickstart archetype

The quickstart archetype creates a simple javascript application.

mvn archetype:generate \
  -DarchetypeArtifactId=javascript-quickstart \
  -DarchetypeGroupId=de.akquinet.javascript.archetypes \
  -DarchetypeVersion=1.0.0 \
  -DgroupId=your.company \
  -DartifactId=javascript-quickstart-application

The javascript-jqueryplugin archetype

The jqueryplugin archetype creates a simple jquery plugin implementation which is a good starting point for your very own jquery plugins. The skeleton code obeys the rules of developing good jquery plugins. For further information check the jquery plugin authoring guide.

mvn archetype:generate \
  -DarchetypeArtifactId=javascript-jqueryplugin \
  -DarchetypeGroupId=de.akquinet.javascript.archetypes \
  -DarchetypeVersion=1.0.0 \
  -DgroupId=your.company \
  -DartifactId=javascript-jqueryplugin

Credits

The javascript-archetype-project is an open source project licensed under the Apache License 2.0. It is founded by akquinet

Technical Notes

  • As the archetypes used the new archetype format, they don't work with the deprecated goal 'archetype:create'