MVN

org.apache.sling : org.apache.sling.cms.archetype

Maven & Gradle

Jan 31, 2023

Apache Sling - CMS Archetype · A Maven Archetype for creating Sling CMS projects

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

Latest Version

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

  • Latest Stable: 1.1.6

All Versions

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

Version Vulnerabilities Updated
1.1.x
org.apache.sling.cms.archetype-1.1.6
org.apache.sling.cms.archetype-1.1.4
org.apache.sling.cms.archetype-1.1.2
org.apache.sling.cms.archetype-1.1.0
1.0.x
org.apache.sling.cms.archetype-1.0.4
org.apache.sling.cms.archetype-1.0.2
0.16.x
org.apache.sling.cms.archetype-0.16.2
org.apache.sling.cms.archetype-0.16.0
0.14.x
org.apache.sling.cms.archetype-0.14.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=org.apache.sling.cms.archetype -DarchetypeVersion=1.1.6