mvn archetype:generate -DgroupId="com.mycompany.app" -DartifactId="my-app-id" -DartifactName="My-artifactName" -DappsFolderName="My-appsFolderName" -DcontentFolderName="My-contentFolderName" -Dpackage="My-package" -DpackageGroup="My-packageGroup" -DslingModelSubPackage="My-slingModelSubPackage" -DslingHostName="My-slingHostName" -DslingPort="My-slingPort" -DoptionAll="My-optionAll" -DoptionExample="My-optionExample" -DarchetypeGroupId="org.apache.sling" -DarchetypeArtifactId="sling-project-archetype" -DarchetypeVersion="1.0.8" -DinteractiveMode=false
License |
License |
---|---|
GroupId | GroupIdorg.apache.sling |
ArtifactId | ArtifactIdsling-project-archetype |
Version | Version1.0.8 |
Type | Typemaven-archetype |
Description |
DescriptionProject Archetype
This archetype is creating a full Sling Project composed of
a OSGi Bundle and a Content Package which can be deployed
to the Sling using specific profiles. It also contains two shadow
folders that provide example code / files which are not part
of the default build but can be easily copied into the active modules.
If the project was created with the **optionAll** property set
to **y** (yes) then an **All** package is created with acts as
the single deployment unit of all bundles and packages in that
project.
Otherwise the **ui.apps** package is the deployment unit.
|
Project Organization |
Project Organization |
mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app> -DarchetypeGroupId=org.apache.sling -DarchetypeArtifactId=sling-project-archetype -DarchetypeVersion=1.0.8 -DinteractiveMode=false
Group / Artifact | Type | Version |
---|---|---|
commons-io : commons-io | jar | 2.6 |