MVN

org.apache.sling : sling-servlet-archetype

Maven & Gradle

Oct 17, 2015

Sling Servlet Archetype · Maven archetype for Sling Servlets

mvn archetype:generate -DarchetypeGroupId=org.apache.sling -DarchetypeArtifactId=sling-servlet-archetype -DarchetypeVersion=1.0.4
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.apache.sling : sling-servlet-archetype to generate a Maven project - Latest Versions:

  • Latest Stable: 1.0.4

All Versions

Choose a version of org.apache.sling : sling-servlet-archetype to generate a Maven project - All Versions:

Version Vulnerabilities Updated
1.0.x
sling-servlet-archetype-1.0.4
sling-servlet-archetype-1.0.2
sling-servlet-archetype-1.0.0

How to generate a maven project from archetype

Instead of manually creating the directory structure needed for an archetype, simply use:

mvn archetype:generate -DarchetypeGroupId=org.apache.sling -DarchetypeArtifactId=sling-servlet-archetype -DarchetypeVersion=1.0.4