diff --git a/changes.xml b/changes.xml
index ea9b42e5..4fa83b00 100644
--- a/changes.xml
+++ b/changes.xml
@@ -27,6 +27,9 @@
Update dependencies.
+
+ Remove Site API options.
+
diff --git a/src/main/resources/META-INF/archetype-post-generate.groovy b/src/main/resources/META-INF/archetype-post-generate.groovy
index 3366f036..6061d766 100644
--- a/src/main/resources/META-INF/archetype-post-generate.groovy
+++ b/src/main/resources/META-INF/archetype-post-generate.groovy
@@ -7,7 +7,6 @@ import groovy.util.XmlSlurper
def rootDir = new File(request.getOutputDirectory() + "/" + request.getArtifactId())
def javaPackage = request.getProperties().get("package")
-def javaPackagePath = javaPackage.replace('.','/')
def optionAemVersion = request.getProperties().get("optionAemVersion")
def optionAemServicePack = request.getProperties().get("optionAemServicePack")
def optionAemServicePackAPI = request.getProperties().get("optionAemServicePackAPI")
@@ -16,13 +15,10 @@ def optionEditableTemplates = request.getProperties().get("optionEditableTemplat
def optionMultiBundleLayout = request.getProperties().get("optionMultiBundleLayout")
def optionContextAwareConfig = request.getProperties().get("optionContextAwareConfig")
def optionWcmioHandler = request.getProperties().get("optionWcmioHandler")
-def optionWcmioSiteApi = request.getProperties().get("optionWcmioSiteApi")
-def optionWcmioSiteApiGenericEdit = request.getProperties().get("optionWcmioSiteApiGenericEdit")
def optionIntegrationTests = request.getProperties().get("optionIntegrationTests")
def coreBundle = new File(rootDir, "bundles/core")
def clientlibsBundle = new File(rootDir, "bundles/clientlibs")
-def siteApiSpecBundle = new File(rootDir, "bundles/site-api-spec")
def completeContentPackage = new File(rootDir, "content-packages/complete")
def confContentPackage = new File(rootDir, "content-packages/conf-content")
def sampleContentPackage = new File(rootDir, "content-packages/sample-content")
@@ -32,7 +28,6 @@ def frontend = new File(rootDir, "frontend")
def rootPom = new File(rootDir, "pom.xml")
def parentPom = new File(rootDir, "parent/pom.xml")
def tests = new File(rootDir, "tests")
-def integrationTests = new File(rootDir, "tests/integration")
// validate parameters - throw exceptions for invalid combinations
if ((optionAemServicePack=="y" || optionAemServicePackAPI=="y") && optionAemVersion == "cloud") {
@@ -50,15 +45,6 @@ if (optionWcmioHandler == "y" && optionContextAwareConfig == "n") {
if (optionEditableTemplates == "n" && optionWcmioHandler == "n") {
throw new RuntimeException("You have to specify either parameter optionEditableTemplates='y' or optionWcmioHandler='y'.")
}
-if (optionWcmioSiteApi == "y" && optionWcmioHandler == "n") {
- throw new RuntimeException("Parameter optionSiteApi='y' is only supported with optionWcmioHandler='y'.")
-}
-if (optionWcmioSiteApiGenericEdit == "y" && optionWcmioSiteApi == "n") {
- throw new RuntimeException("Parameter optionWcmioSiteApiGenericEdit='y' is only supported with optionWcmioSiteApi='y'.")
-}
-if (optionWcmioSiteApiGenericEdit == "y" && optionFrontend == "y") {
- throw new RuntimeException("Parameter optionWcmioSiteApiGenericEdit='y' is not allowed together with optionFrontend='y'.")
-}
if (!(javaPackage ==~ /^[a-z0-9\.]+$/)) {
throw new RuntimeException("Java package name is invalid: " + javaPackage)
}
@@ -94,26 +80,18 @@ else {
// remove frontend module entry from root pom
removeModule(rootPom, "frontend")
}
-if (optionWcmioSiteApiGenericEdit == "y") {
- assert clientlibsBundle.deleteDir()
- assert new File(uiAppsPackage, "jcr_root/apps/${projectName}/clientlibs").deleteDir()
- // remove bundles/clientlibs module entry from root pom
- removeModule(rootPom, "bundles/clientlibs")
-}
// remove files only relevant for wcm.io Handler projects
if (optionWcmioHandler == "n") {
- assert new File(coreBundle, "src/main/java/${javaPackagePath}/config").deleteDir()
+ assert new File(coreBundle, "src/main/java/" + javaPackage.replace('.','/') + "/config").deleteDir()
assert new File(coreBundle, "src/main/webapp/app-root/templates/admin/redirect").deleteDir()
assert new File(coreBundle, "src/main/webapp/app-root/templates/admin/redirect.json").delete()
assert new File(coreBundle, "src/main/webapp/app-root/components/admin/page/redirect.json").delete()
assert new File(coreBundle, "src/main/webapp/app-root/components/content/responsiveimage.json").delete()
- if (optionWcmioSiteApiGenericEdit == "n") {
- assert new File(clientlibsBundle, "src/main/webapp/clientlibs-root/${projectName}.app/css").deleteDir()
- assert new File(uiAppsPackage, "jcr_root/apps/${projectName}/clientlibs/${projectName}.app/css").deleteDir()
- }
+ assert new File(clientlibsBundle, "src/main/webapp/clientlibs-root/${projectName}.app/css").deleteDir()
+ assert new File(uiAppsPackage, "jcr_root/apps/${projectName}/clientlibs/${projectName}.app/css").deleteDir()
if (optionFrontend == "y") {
assert new File(frontend, "src/components/customcarousel/customcarousel.scss").delete()
@@ -132,24 +110,8 @@ else {
assert new File(uiAppsPackage, "jcr_root/apps/${projectName}/core/components/admin/page/structureElement/structureElement.html").delete()
}
-// remove empty component HTL files
-[
- new File(coreBundle, "src/main/webapp/app-root/components"),
- new File(uiAppsPackage, "jcr_root/apps/${projectName}/core/component")
-].each { componentsFolder ->
- if (componentsFolder.exists()) {
- componentsFolder.eachFileRecurse(FileType.FILES) { file ->
- if (file.name =~ /\.html$/) {
- if (file.getText("UTF-8").empty) {
- assert file.delete()
- }
- }
- }
- }
-}
-
// refactor project layout when multi bundle layout is switched off
-if (optionMultiBundleLayout == "n" && optionWcmioSiteApiGenericEdit == "n") {
+if (optionMultiBundleLayout == "n") {
// move .gitignore for clientlibs-root
if (optionFrontend == "y") {
assert new File(clientlibsBundle, ".gitignore").renameTo(new File(coreBundle, ".gitignore"))
@@ -262,27 +224,10 @@ else {
assert new File(configDefinition, "src/main/environments/cloud.yaml").delete()
}
-if (optionWcmioSiteApi == "n") {
- assert new File(coreBundle, "src/main/java/${javaPackagePath}/reference").deleteDir()
- assert new File(coreBundle, "src/test/java/${javaPackagePath}/reference").deleteDir()
- removeModule(rootPom, "bundles/site-api-spec")
- siteApiSpecBundle.deleteDir()
-}
-
if (optionIntegrationTests == "n") {
removeModule(rootPom, "tests/integration")
tests.deleteDir()
}
-else if (optionWcmioSiteApi == "y") {
- // remove non-Site API integration test code
- assert new File(integrationTests, "src/main/java/${javaPackagePath}/it/components").deleteDir()
- assert new File(integrationTests, "src/main/java/${javaPackagePath}/it/rules").deleteDir()
- assert new File(integrationTests, "src/main/java/${javaPackagePath}/it/tests").deleteDir()
-}
-else {
- // remove Site API integration test code
- assert new File(integrationTests, "src/main/java/${javaPackagePath}/it/siteapi").deleteDir()
-}
// convert all line endings to unix-style
diff --git a/src/main/resources/META-INF/maven/archetype-metadata.xml b/src/main/resources/META-INF/maven/archetype-metadata.xml
index d4e3c5d7..1ef7d39a 100644
--- a/src/main/resources/META-INF/maven/archetype-metadata.xml
+++ b/src/main/resources/META-INF/maven/archetype-metadata.xml
@@ -123,16 +123,6 @@
n
^(y|n)$
-
-
- n
- ^(y|n)$
-
-
-
- n
- ^(y|n)$
-
n
@@ -272,33 +262,6 @@
-
-
-
- src/spec
-
- **/*.yaml
-
-
-
- src/test/java
-
- **/*.java
-
-
-
-
-
- index.html
- package.json
- README.md
- webpack.config.js
- src/index.js
-
-
-
-
-
@@ -443,7 +406,6 @@
README.md
- run-integration-tests-locally.sh
diff --git a/src/main/resources/archetype-resources/archetype.properties b/src/main/resources/archetype-resources/archetype.properties
index 25ca9130..51fa13c2 100644
--- a/src/main/resources/archetype-resources/archetype.properties
+++ b/src/main/resources/archetype-resources/archetype.properties
@@ -23,6 +23,5 @@ optionContextAwareConfig=${optionContextAwareConfig}
optionFrontend=${optionFrontend}
optionNodeJsPlugin=${optionNodeJsPlugin}
optionWcmioHandler=${optionWcmioHandler}
-optionWcmioSiteApi=${optionWcmioSiteApi}
optionAcsCommons=${optionAcsCommons}
optionIntegrationTests=${optionIntegrationTests}
diff --git a/src/main/resources/archetype-resources/bundles/core/pom.xml b/src/main/resources/archetype-resources/bundles/core/pom.xml
index a4e6aeaa..7b053584 100644
--- a/src/main/resources/archetype-resources/bundles/core/pom.xml
+++ b/src/main/resources/archetype-resources/bundles/core/pom.xml
@@ -117,30 +117,6 @@
io.wcm.wcm.ui.clientlibs
compile
-#if ( $optionWcmioSiteApi == "y" )
-
- io.wcm
- io.wcm.site-api.processor
- compile
-
-
- io.wcm
- io.wcm.site-api.handler
- compile
-
-#end
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
- io.wcm
- io.wcm.site-api.generic-edit
- compile
-
-
- io.wcm
- io.wcm.site-api.generic-edit.handler
- compile
-
-#end
#end
@@ -204,37 +180,11 @@
io.wcm.testing.wcm-io-mock.wcm
test
-#if ( $optionWcmioSiteApi == "y" )
-
- io.wcm
- io.wcm.testing.wcm-io-mock.site-api.processor
- test
-
-#end
io.wcm
io.wcm.testing.wcm-io-mock.handler
test
-#if ( $optionWcmioSiteApi == "y" )
-
- io.wcm
- io.wcm.testing.wcm-io-mock.site-api.handler
- test
-
-#end
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
- io.wcm
- io.wcm.testing.wcm-io-mock.site-api.generic-edit
- test
-
-
- io.wcm
- io.wcm.testing.wcm-io-mock.site-api.generic-edit.handler
- test
-
-#end
#end
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/java/config/impl/LinkHandlerConfigImpl.java b/src/main/resources/archetype-resources/bundles/core/src/main/java/config/impl/LinkHandlerConfigImpl.java
index d106a668..77b02c2d 100644
--- a/src/main/resources/archetype-resources/bundles/core/src/main/java/config/impl/LinkHandlerConfigImpl.java
+++ b/src/main/resources/archetype-resources/bundles/core/src/main/java/config/impl/LinkHandlerConfigImpl.java
@@ -12,23 +12,12 @@
import com.day.cq.wcm.api.Page;
-#if ( $optionWcmioSiteApi == "y" )
-import io.wcm.handler.link.markup.SimpleLinkMarkupBuilder;
-#end
import io.wcm.handler.link.spi.LinkHandlerConfig;
-#if ( $optionWcmioSiteApi == "y" )
-import io.wcm.handler.link.spi.LinkMarkupBuilder;
-import io.wcm.handler.link.spi.LinkProcessor;
-#end
import io.wcm.handler.link.spi.LinkType;
import io.wcm.handler.link.type.ExternalLinkType;
import io.wcm.handler.link.type.InternalCrossContextLinkType;
import io.wcm.handler.link.type.InternalLinkType;
import io.wcm.handler.link.type.MediaLinkType;
-#if ( $optionWcmioSiteApi == "y" )
-import io.wcm.siteapi.handler.link.SiteApiLinkMarkupBuilder;
-import io.wcm.siteapi.handler.link.SiteApiLinkPreProcessor;
-#end
import io.wcm.wcm.commons.util.Template;
import ${package}.config.AppTemplate;
@@ -45,35 +34,12 @@ public class LinkHandlerConfigImpl extends LinkHandlerConfig {
ExternalLinkType.class,
MediaLinkType.class);
-#if ( $optionWcmioSiteApi == "y" )
- private static final List> PRE_PROCESSORS = List.of(
- SiteApiLinkPreProcessor.class);
-
- private static final List> LINK_MARKUP_BUILDERS = List.of(
- SiteApiLinkMarkupBuilder.class,
- SimpleLinkMarkupBuilder.class);
-
-#end
@Override
@SuppressWarnings("squid:S2384") // returned list is immutable
public @NotNull List> getLinkTypes() {
return LINK_TYPES;
}
-#if ( $optionWcmioSiteApi == "y" )
- @Override
- @SuppressWarnings("squid:S2384") // returned list is immutable
- public @NotNull List> getPreProcessors() {
- return PRE_PROCESSORS;
- }
-
- @Override
- @SuppressWarnings("squid:S2384") // returned list is immutable
- public @NotNull List> getMarkupBuilders() {
- return LINK_MARKUP_BUILDERS;
- }
-
-#end
@Override
public boolean isValidLinkTarget(@NotNull Page page) {
return !Template.is(page, AppTemplate.ADMIN_STRUCTURE_ELEMENT);
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/LinkReference.java b/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/LinkReference.java
deleted file mode 100644
index a2e8cb82..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/LinkReference.java
+++ /dev/null
@@ -1,61 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-package ${package}.reference;
-
-import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
-
-import com.day.cq.wcm.api.Page;
-
-import io.wcm.handler.link.Link;
-
-/**
- * Represents a link in Site API.
- */
-public class LinkReference {
-
- private final Link link;
-
- /**
- * @param link Valid link
- */
- public LinkReference(Link link) {
- this.link = link;
- }
-
- /**
- * @return Link type
- */
- public @NotNull String getType() {
- return link.getLinkType().getId();
- }
-
- /**
- * @return Link URL
- */
- public @NotNull String getUrl() {
- return link.getUrl();
- }
-
- /**
- * @return Link window target
- */
- public @Nullable String getTarget() {
- return link.getLinkRequest().getLinkArgs().getWindowTarget();
- }
-
- /**
- * @return Page path (for internal links)
- */
- public @Nullable String getPath() {
- Page page = link.getTargetPage();
- if (page != null) {
- return page.getPath();
- }
- else {
- return null;
- }
- }
-
-}
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/MediaReference.java b/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/MediaReference.java
deleted file mode 100644
index 9c1186a7..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/MediaReference.java
+++ /dev/null
@@ -1,48 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-package ${package}.reference;
-
-import java.util.Collection;
-
-import org.jetbrains.annotations.NotNull;
-
-import io.wcm.handler.media.Media;
-import io.wcm.handler.media.Rendition;
-
-/**
- * Represents a media reference in Site API.
- */
-public class MediaReference {
-
- private final Media media;
-
- /**
- * @param media Valid media
- */
- public MediaReference(Media media) {
- this.media = media;
- }
-
- /**
- * @return Main asset URL
- */
- public @NotNull String getUrl() {
- return media.getUrl();
- }
-
- /**
- * @return Asset path
- */
- public @NotNull String getPath() {
- return media.getAsset().getPath();
- }
-
- /**
- * @return Renditions
- */
- public Collection getRenditions() {
- return media.getRenditions();
- }
-
-}
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/impl/LinkReferenceDecorator.java b/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/impl/LinkReferenceDecorator.java
deleted file mode 100644
index 77d519a1..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/impl/LinkReferenceDecorator.java
+++ /dev/null
@@ -1,26 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-package ${package}.reference.impl;
-
-import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
-import org.osgi.service.component.annotations.Component;
-
-import io.wcm.handler.link.Link;
-import io.wcm.siteapi.handler.link.LinkDecorator;
-
-import ${package}.reference.LinkReference;
-
-/**
- * Decorates link with project-specific {@link LinkReference}.
- */
-@Component(service = LinkDecorator.class)
-public class LinkReferenceDecorator implements LinkDecorator {
-
- @Override
- public @Nullable LinkReference apply(@NotNull Link link) {
- return new LinkReference(link);
- }
-
-}
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/impl/MediaReferenceDecorator.java b/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/impl/MediaReferenceDecorator.java
deleted file mode 100644
index 3ec02b26..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/java/reference/impl/MediaReferenceDecorator.java
+++ /dev/null
@@ -1,26 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-package ${package}.reference.impl;
-
-import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
-import org.osgi.service.component.annotations.Component;
-
-import io.wcm.handler.media.Media;
-import io.wcm.siteapi.handler.media.MediaDecorator;
-
-import ${package}.reference.MediaReference;
-
-/**
- * Decorates media with project-specific {@link MediaReference}.
- */
-@Component(service = MediaDecorator.class)
-public class MediaReferenceDecorator implements MediaDecorator {
-
- @Override
- public @Nullable MediaReference apply(@NotNull Media media) {
- return new MediaReference(media);
- }
-
-}
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/container/accordion/accordion.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/container/accordion/accordion.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/container/accordion/accordion.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/container/carousel/carousel.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/container/carousel/carousel.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/container/carousel/carousel.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/container/tabs/tabs.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/container/tabs/tabs.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/container/tabs/tabs.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/button/button.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/button/button.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/button/button.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/contentfragment/contentfragment.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/contentfragment/contentfragment.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/contentfragment/contentfragment.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/contentfragmentlist/contentfragmentlist.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/contentfragmentlist/contentfragmentlist.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/contentfragmentlist/contentfragmentlist.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/customcarousel/customcarousel.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/customcarousel/customcarousel.html
index a6083fb6..5a28182d 100644
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/customcarousel/customcarousel.html
+++ b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/customcarousel/customcarousel.html
@@ -1,9 +1,6 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#else
@@ -32,4 +29,3 @@
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/download/download.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/download/download.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/download/download.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/embed/embed.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/embed/embed.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/embed/embed.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/experiencefragment/experiencefragment.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/experiencefragment/experiencefragment.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/experiencefragment/experiencefragment.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/list/list.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/list/list.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/list/list.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/pdfviewer/pdfviewer.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/pdfviewer/pdfviewer.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/pdfviewer/pdfviewer.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/progressbar/progressbar.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/progressbar/progressbar.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/progressbar/progressbar.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/teaser/teaser.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/teaser/teaser.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/content/teaser/teaser.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/page/customfooterlibs.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/page/customfooterlibs.html
index f6e57150..e90dd1f1 100644
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/page/customfooterlibs.html
+++ b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/page/customfooterlibs.html
@@ -1,9 +1,7 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
-#if ( $optionWcmioSiteApiGenericEdit == "n" )
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/page/customheaderlibs.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/page/customheaderlibs.html
index e1a96698..ca3bdcc0 100644
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/page/customheaderlibs.html
+++ b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/page/customheaderlibs.html
@@ -3,14 +3,7 @@
#set( $symbol_escape = '\' )
-#if ($optionWcmioSiteApiGenericEdit == "y")
-
-#else
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/xfpage/customfooterlibs.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/xfpage/customfooterlibs.html
index f6e57150..e90dd1f1 100644
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/xfpage/customfooterlibs.html
+++ b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/xfpage/customfooterlibs.html
@@ -1,9 +1,7 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
-#if ( $optionWcmioSiteApiGenericEdit == "n" )
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/xfpage/customheaderlibs.html b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/xfpage/customheaderlibs.html
index e1a96698..ca3bdcc0 100644
--- a/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/xfpage/customheaderlibs.html
+++ b/src/main/resources/archetype-resources/bundles/core/src/main/webapp/app-root/components/global/xfpage/customheaderlibs.html
@@ -3,14 +3,7 @@
#set( $symbol_escape = '\' )
-#if ($optionWcmioSiteApiGenericEdit == "y")
-
-#else
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/bundles/core/src/test/java/reference/LinkReferenceTest.java b/src/main/resources/archetype-resources/bundles/core/src/test/java/reference/LinkReferenceTest.java
deleted file mode 100644
index 152799e8..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/test/java/reference/LinkReferenceTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-package ${package}.reference;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertNotNull;
-import static org.junit.jupiter.api.Assertions.assertNull;
-
-import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.extension.ExtendWith;
-
-import com.day.cq.wcm.api.Page;
-
-import io.wcm.handler.link.Link;
-import io.wcm.handler.link.LinkHandler;
-import io.wcm.handler.link.type.ExternalLinkType;
-import io.wcm.handler.link.type.InternalLinkType;
-import io.wcm.siteapi.handler.link.LinkDecorator;
-import io.wcm.sling.commons.adapter.AdaptTo;
-import io.wcm.testing.mock.aem.junit5.AemContext;
-import io.wcm.testing.mock.aem.junit5.AemContextExtension;
-
-import ${package}.testcontext.AppAemContext;
-
-@ExtendWith(AemContextExtension.class)
-class LinkReferenceTest {
-
- private final AemContext context = AppAemContext.newAemContext();
-
- private Page page;
- private LinkHandler linkHandler;
- private LinkDecorator decorator;
-
- @BeforeEach
- @SuppressWarnings("unchecked")
- void setUp() {
- page = context.currentPage(context.create().page("/content/mypage"));
- linkHandler = AdaptTo.notNull(page.getContentResource(), LinkHandler.class);
- decorator = context.getService(LinkDecorator.class);
- }
-
- @Test
- void testInternalLink() {
- Link link = linkHandler.get(page).build();
-
- LinkReference ref = decorator.apply(link);
- assertNotNull(ref);
- assertEquals(InternalLinkType.ID, ref.getType());
- assertEquals("/content/mypage.html", ref.getUrl());
- assertEquals("/content/mypage", ref.getPath());
- assertNull(ref.getTarget());
- }
-
- @Test
- void testExternalLink() {
- Link link = linkHandler.get("https://myhost")
- .windowTarget("_blank")
- .build();
-
- LinkReference ref = decorator.apply(link);
- assertNotNull(ref);
- assertEquals(ExternalLinkType.ID, ref.getType());
- assertEquals("https://myhost", ref.getUrl());
- assertNull(ref.getPath());
- assertEquals("_blank", ref.getTarget());
- }
-
-}
diff --git a/src/main/resources/archetype-resources/bundles/core/src/test/java/reference/MediaReferenceTest.java b/src/main/resources/archetype-resources/bundles/core/src/test/java/reference/MediaReferenceTest.java
deleted file mode 100644
index 03e12054..00000000
--- a/src/main/resources/archetype-resources/bundles/core/src/test/java/reference/MediaReferenceTest.java
+++ /dev/null
@@ -1,55 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-package ${package}.reference;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertNotNull;
-
-import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.extension.ExtendWith;
-
-import com.day.cq.dam.api.Asset;
-import com.day.cq.wcm.api.Page;
-
-import io.wcm.handler.media.Media;
-import io.wcm.handler.media.MediaHandler;
-import io.wcm.siteapi.handler.media.MediaDecorator;
-import io.wcm.sling.commons.adapter.AdaptTo;
-import io.wcm.testing.mock.aem.junit5.AemContext;
-import io.wcm.testing.mock.aem.junit5.AemContextExtension;
-import io.wcm.wcm.commons.contenttype.ContentType;
-
-import ${package}.testcontext.AppAemContext;
-
-@ExtendWith(AemContextExtension.class)
-class MediaReferenceTest {
-
- private final AemContext context = AppAemContext.newAemContext();
-
- private Page page;
- private MediaHandler mediaHandler;
- private MediaDecorator decorator;
-
- @BeforeEach
- @SuppressWarnings("unchecked")
- void setUp() {
- page = context.currentPage(context.create().page("/content/mypage"));
- mediaHandler = AdaptTo.notNull(page.getContentResource(), MediaHandler.class);
- decorator = context.getService(MediaDecorator.class);
- }
-
- @Test
- void testMedia() {
- Asset asset = context.create().asset("/content/dam/test.jpg", 10, 10, ContentType.JPEG);
- Media media = mediaHandler.get(asset.getPath()).build();
-
- MediaReference ref = decorator.apply(media);
- assertNotNull(ref);
- assertEquals("/content/dam/test.jpg/_jcr_content/renditions/original./test.jpg", ref.getUrl());
- assertEquals(asset.getPath(), ref.getPath());
- assertEquals(1, ref.getRenditions().size());
- }
-
-}
diff --git a/src/main/resources/archetype-resources/bundles/core/src/test/java/testcontext/AppAemContext.java b/src/main/resources/archetype-resources/bundles/core/src/test/java/testcontext/AppAemContext.java
index ec8f176e..892ce400 100644
--- a/src/main/resources/archetype-resources/bundles/core/src/test/java/testcontext/AppAemContext.java
+++ b/src/main/resources/archetype-resources/bundles/core/src/test/java/testcontext/AppAemContext.java
@@ -9,14 +9,6 @@
#end
#if ( $optionWcmioHandler == "y" )
import static io.wcm.testing.mock.wcmio.handler.ContextPlugins.WCMIO_HANDLER;
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-import static io.wcm.testing.mock.wcmio.siteapi.genericedit.ContextPlugins.WCMIO_SITEAPI_GENERICEDIT;
-import static io.wcm.testing.mock.wcmio.siteapi.genericedit.handler.ContextPlugins.WCMIO_SITEAPI_GENERICEDIT_HANDLER;
-#end
-#if ( $optionWcmioSiteApi == "y" )
-import static io.wcm.testing.mock.wcmio.siteapi.handler.ContextPlugins.WCMIO_SITEAPI_HANDLER;
-import static io.wcm.testing.mock.wcmio.siteapi.processor.ContextPlugins.WCMIO_SITEAPI_PROCESSOR;
-#end
import static io.wcm.testing.mock.wcmio.sling.ContextPlugins.WCMIO_SLING;
import static io.wcm.testing.mock.wcmio.wcm.ContextPlugins.WCMIO_WCM;
#end
@@ -42,10 +34,6 @@
import ${package}.config.impl.LinkHandlerConfigImpl;
import ${package}.config.impl.MediaFormatProviderImpl;
import ${package}.config.impl.MediaHandlerConfigImpl;
-#if ( $optionWcmioSiteApi == "y" )
-import ${package}.reference.impl.LinkReferenceDecorator;
-import ${package}.reference.impl.MediaReferenceDecorator;
-#end
#end
/**
@@ -76,7 +64,7 @@ public static AemContextBuilder newAemContextBuilder() {
*/
public static AemContextBuilder newAemContextBuilder(@NotNull ResourceResolverType resourceResolverType) {
return new AemContextBuilder(resourceResolverType)
- .plugin(CORE_COMPONENTS#if($optionContextAwareConfig=="y"), CACONFIG, WCMIO_CACONFIG#{end}#if($optionWcmioHandler=="y"), WCMIO_SLING#if($optionWcmioSiteApi=="y"), WCMIO_SITEAPI_PROCESSOR#{end}, WCMIO_WCM, WCMIO_HANDLER#if($optionWcmioSiteApi=="y"), WCMIO_SITEAPI_HANDLER#{end}#if($optionWcmioSiteApiGenericEdit=="y"), WCMIO_SITEAPI_GENERICEDIT, WCMIO_SITEAPI_GENERICEDIT_HANDLER#{end}#{end})
+ .plugin(CORE_COMPONENTS#if($optionContextAwareConfig=="y"), CACONFIG, WCMIO_CACONFIG#{end}#if($optionWcmioHandler=="y"), WCMIO_SLING, WCMIO_WCM, WCMIO_HANDLER#{end})
.afterSetUp(SETUP_CALLBACK);
}
@@ -102,12 +90,6 @@ public void execute(@NotNull AemContext context) throws PersistenceException, IO
context.registerInjectActivateService(MediaHandlerConfigImpl.class);
context.registerInjectActivateService(MediaFormatProviderImpl.class);
-#if ( $optionWcmioSiteApi == "y" )
- // Site API
- context.registerInjectActivateService(LinkReferenceDecorator.class);
- context.registerInjectActivateService(MediaReferenceDecorator.class);
-
-#end
#end
}
};
diff --git a/src/main/resources/archetype-resources/bundles/site-api-spec/README.md b/src/main/resources/archetype-resources/bundles/site-api-spec/README.md
deleted file mode 100644
index 9f4cb840..00000000
--- a/src/main/resources/archetype-resources/bundles/site-api-spec/README.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# OAS3 Site API Specification
-
-[Open API 3.0][oas3] specification for Site API.
-
-HTML visualization based on [SwaggerUI][swagger-ui].
-
-
-## Specification
-
-The OAS3 spec is located at: `src/spec/site-api.yaml`.
-
-
-## Maven Artifact
-
-The specification is bundled as Maven artifact together with a Java API to validate JSON data against the OAS3 spec with [OpenAPI4J][openapi4j].
-
-
-## Specification browser
-
-View documentation in Swagger UI:
-
-```bash
-npm install
-npm start
-```
-
-
-[oas3]: http://spec.openapis.org/oas/v3.0.0
-[swagger-ui]: https://swagger.io/tools/swagger-ui/
-[openapi4j]: https://www.openapi4j.org/
diff --git a/src/main/resources/archetype-resources/bundles/site-api-spec/index.html b/src/main/resources/archetype-resources/bundles/site-api-spec/index.html
deleted file mode 100644
index 2433d98e..00000000
--- a/src/main/resources/archetype-resources/bundles/site-api-spec/index.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
- Site API Spec
-
-
-
-
-
diff --git a/src/main/resources/archetype-resources/bundles/site-api-spec/package.json b/src/main/resources/archetype-resources/bundles/site-api-spec/package.json
deleted file mode 100644
index 7e32f96d..00000000
--- a/src/main/resources/archetype-resources/bundles/site-api-spec/package.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "name": "site-api-spec",
- "private": true,
- "scripts": {
- "build": "webpack",
- "start": "webpack-dev-server --open"
- },
- "devDependencies": {
- "clean-webpack-plugin": "4.0.0",
- "copy-webpack-plugin": "11.0.0",
- "html-webpack-plugin": "5.5.0",
- "webpack": "5.75.0",
- "webpack-cli": "5.0.1",
- "webpack-dev-server": "4.11.1"
- },
- "dependencies": {
- "css-loader": "6.7.3",
- "json-loader": "0.5.7",
- "style-loader": "3.3.1",
- "swagger-ui": "4.17.1",
- "yaml-loader": "0.8.0"
- }
-}
diff --git a/src/main/resources/archetype-resources/bundles/site-api-spec/pom.xml b/src/main/resources/archetype-resources/bundles/site-api-spec/pom.xml
deleted file mode 100644
index 4b3c1eed..00000000
--- a/src/main/resources/archetype-resources/bundles/site-api-spec/pom.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
- 4.0.0
-
-
- ${groupId}
- ${rootArtifactId}.parent
- ${version}
- ../../parent/pom.xml
-
-
- ${groupId}
- ${artifactId}
- ${version}
- jar
-
- ${projectName} Site API Spec
-
-
-
-
- io.wcm
- io.wcm.site-api.openapi-validator
- compile
-
-
-
-
- org.junit.jupiter
- junit-jupiter
- test
-
-
-
-
-
-
-
- src/spec
- site-api-spec
-
- *.yaml
-
-
-
-
-
-
diff --git a/src/main/resources/archetype-resources/bundles/site-api-spec/src/index.js b/src/main/resources/archetype-resources/bundles/site-api-spec/src/index.js
deleted file mode 100644
index ccb72937..00000000
--- a/src/main/resources/archetype-resources/bundles/site-api-spec/src/index.js
+++ /dev/null
@@ -1,15 +0,0 @@
-import SwaggerUI from 'swagger-ui'
-import 'swagger-ui/dist/swagger-ui.css';
-
-const spec = require('./spec/site-api.yaml');
-
-const ui = SwaggerUI({
- spec,
- dom_id: '#swagger',
-});
-
-ui.initOAuth({
- appName: 'Site API Spec',
- // See https://demo.identityserver.io/ for configuration details.
- clientId: 'implicit'
-});
diff --git a/src/main/resources/archetype-resources/bundles/site-api-spec/src/spec/site-api.yaml b/src/main/resources/archetype-resources/bundles/site-api-spec/src/spec/site-api.yaml
deleted file mode 100644
index 03f351ff..00000000
--- a/src/main/resources/archetype-resources/bundles/site-api-spec/src/spec/site-api.yaml
+++ /dev/null
@@ -1,314 +0,0 @@
-# This Spec is an Example and does only loosely validate the API with a few schema definitions.
-# For real-life projects it's recommended to tightly validate the JSON output of all components.
-openapi: "3.0.0"
-
-info:
- version: "1.0.0-SNAPSHOT"
- title: "Site API Spec"
- description: "Delivering content from AEM Sites via REST API."
-
-paths:
-
- "{contentPath}.site.v1.api/index.json":
- get:
- summary: Entry point for Site API
- description: Provides hypermedia links to the other parts of the API.
- parameters:
- - name: contentPath
- in: path
- description: Content page path
- required: true
- schema:
- $ref: '#/components/schemas/ContentPath'
- responses:
- 200:
- description: Index Response
- content:
- application/json:
- schema:
- type: array
- items:
- type: object
- properties:
- suffix:
- type: string
- url:
- type: string
- example: "{contentPath}.site.api/{suffix}.json"
- description: Site API URI
- pattern: "^http(|s)://.+"
- required: ["suffix", "url"]
- additionalProperties: false
-
- "{contentPath}.site.v1.api/navigation.json":
- get:
- summary: Navigation structures.
- description: Main navigation.
- parameters:
- - name: contentPath
- in: path
- description: Content page path
- required: true
- schema:
- $ref: '#/components/schemas/ContentPath'
- responses:
- 200:
- description: Navigation Response.
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NavigationItem'
-
- "{contentPath}.site.v1.api/config.json":
- get:
- summary: Configuration parameters.
- description: Exports a list of context-aware configurations.
- parameters:
- - name: contentPath
- in: path
- description: Content page path
- required: true
- schema:
- $ref: '#/components/schemas/ContentPath'
- responses:
- 200:
- description:
- Configuration Response.
- content:
- application/json:
- schema:
- type: object
- properties:
- ConfigSample:
- $ref: '#/components/schemas/ContextAwareConfig.ConfigSample'
- additionalProperties: false
-
- "{contentPath}.site.v1.api/content.json":
- get:
- summary: Page content.
- description: Render content components of page.
- parameters:
- - name: contentPath
- in: path
- description: Content page path
- required: true
- schema:
- $ref: '#/components/schemas/ContentPath'
- responses:
- 200:
- description: Page Content Response.
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PageContent'
-
-components:
-
- schemas:
-
- ContentPath:
- type: string
- pattern: (/[^/]+)+
- example: /content/page1
- description: AEM content page path
-
- LocalPath:
- type: string
- pattern: (|(/[^/]+)+)
- example: /page-1
- description: Local path relative to site root page. "" for site root page.
-
- NavigationItem:
- type: object
- description: Represents a navigation item.
- properties:
- title:
- type: string
- example: "Navigation Item"
- link:
- $ref: '#/components/schemas/Link'
- children:
- type: array
- items:
- $ref: '#/components/schemas/NavigationItem'
- required: ["title", "link"]
- additionalProperties: false
-
- Link:
- type: object
- description: Reference to internal, external and download links
- properties:
- url:
- type: string
- example: "{contentPath}.site.v1.api/{suffix}.json"
- description: Site API URI or external link URL or Asset URL depending on link type
- pattern: "^http(|s)://.+"
- type:
- type: string
- description: Link type
- enum:
- - internal
- - external
- - media
- windowTarget:
- type: string
- description: Window target for link
- enum:
- - _self
- - _blank
- path:
- $ref: '#/components/schemas/ContentPath'
- localPath:
- $ref: '#/components/schemas/LocalPath'
- required: [ "type","url" ]
- additionalProperties: false
-
- Image:
- type: object
- description: Reference to image asset
- properties:
- path:
- $ref: '#/components/schemas/ContentPath'
- url:
- type: string
- description: Main rendition URL
- pattern: "^http(|s)://.+"
- renditions:
- type: array
- description: Image variant renditions with same ratio, different resolutions
- items:
- type: object
- properties:
- url:
- type: string
- description: URL pointing to image rendition
- pattern: "^http(|s)://.+"
- width:
- type: number
- description: Rendition width (px)
- example: 500
- height:
- type: number
- description: Rendition height (px)
- example: 400
- ratio:
- type: number
- description: 'Ratio width : height'
- path:
- $ref: '#/components/schemas/ContentPath'
- mimeType:
- type: string
- fileName:
- type: string
- fileExtension:
- type: string
- fileSize:
- type: number
- fallback:
- type: boolean
- required: ["url","width","height"]
- additionalProperties: false
- required: ["path","url","renditions"]
- additionalProperties: false
-
- PageContent:
- type: object
- properties:
- ':type':
- type: string
- 'title':
- type: string
- ':items':
- type: object
- properties:
- root:
- $ref: '#/components/schemas/Structure.Container'
- ':itemsOrder':
- type: array
- items:
- type: string
- required: [":type",":items",":itemsOrder"]
- additionalProperties: true
-
- Structure.Container:
- type: object
- properties:
- ':type':
- type: string
- enum:
- - ${projectName}/core/components/container/container
- ':itemsOrder':
- type: array
- items:
- type: string
- ':items':
- type: object
- additionalProperties:
- anyOf:
- - $ref: '#/components/schemas/Structure.Container'
- - $ref: '#/components/schemas/Component.Title'
- - $ref: '#/components/schemas/Component.Text'
- - $ref: '#/components/schemas/Component.OtherComponents'
- required: [ ":type",":itemsOrder",":items" ]
- additionalProperties: true
-
- # Example for a context-aware Configuration
- ContextAwareConfig.ConfigSample:
- type: object
- description: Sample Configuration
- properties:
- stringParam:
- type: string
- description: String Param
- additionalProperties: true
-
- Component.Title:
- type: object
- properties:
- ':type':
- type: string
- enum:
- - ${projectName}/core/components/content/title
- text:
- type: string
- description: Plain text title
- required: [":type"]
- additionalProperties: true
-
- Component.Text:
- type: object
- properties:
- ':type':
- type: string
- enum:
- - ${projectName}/core/components/content/text
- text:
- type: string
- description: Rich text as HTML
- required: [":type"]
- additionalProperties: true
-
- # This is just a catch-all definition for other example components of the demo project
- # It does not enforce actual properties, replace it with schema definitions per component
- Component.OtherComponents:
- type: object
- properties:
- ':type':
- type: string
- enum:
- - ${projectName}/core/components/content/button
- - ${projectName}/core/components/content/contentfragment
- - ${projectName}/core/components/content/contentfragmentlist
- - ${projectName}/core/components/content/customcarousel
- - ${projectName}/core/components/content/download
- - ${projectName}/core/components/content/embed
- - ${projectName}/core/components/content/experiencefragment
- - ${projectName}/core/components/content/list
- - ${projectName}/core/components/content/pdfviewer
- - ${projectName}/core/components/content/progressbar
- - ${projectName}/core/components/content/responsiveimage
- - ${projectName}/core/components/content/separator
- - ${projectName}/core/components/content/teaser
- - ${projectName}/core/components/templating/imprint
- required: [":type"]
- additionalProperties: true
diff --git a/src/main/resources/archetype-resources/bundles/site-api-spec/src/test/java/siteapispec/SpecificationValidationTest.java b/src/main/resources/archetype-resources/bundles/site-api-spec/src/test/java/siteapispec/SpecificationValidationTest.java
deleted file mode 100644
index 8974b285..00000000
--- a/src/main/resources/archetype-resources/bundles/site-api-spec/src/test/java/siteapispec/SpecificationValidationTest.java
+++ /dev/null
@@ -1,34 +0,0 @@
-#set( $symbol_pound = '#' )
-#set( $symbol_dollar = '$' )
-#set( $symbol_escape = '\' )
-package ${package}.siteapispec;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
-import java.util.stream.Stream;
-
-import org.junit.jupiter.params.ParameterizedTest;
-import org.junit.jupiter.params.provider.MethodSource;
-
-import io.wcm.siteapi.openapi.validator.OpenApiSpec;
-import io.wcm.siteapi.openapi.validator.OpenApiSpecVersions;
-
-/**
- * Validates all OAS3 specification at /site-api-spec/site-api*.yaml
.
- */
-class SpecificationValidationTest {
-
- private static final OpenApiSpecVersions VERSIONS = new OpenApiSpecVersions();
-
- public static Stream getAllVersions() {
- return VERSIONS.getAllVersions().stream();
- }
-
- @ParameterizedTest
- @MethodSource("getAllVersions")
- void validate(String version) {
- OpenApiSpec spec = VERSIONS.get(version);
- assertEquals(version, spec.getVersion());
- }
-
-}
diff --git a/src/main/resources/archetype-resources/bundles/site-api-spec/webpack.config.js b/src/main/resources/archetype-resources/bundles/site-api-spec/webpack.config.js
deleted file mode 100644
index 9ea2913f..00000000
--- a/src/main/resources/archetype-resources/bundles/site-api-spec/webpack.config.js
+++ /dev/null
@@ -1,52 +0,0 @@
-const path = require('path');
-const HtmlWebpackPlugin = require('html-webpack-plugin');
-const { CleanWebpackPlugin } = require('clean-webpack-plugin');
-const CopyWebpackPlugin = require('copy-webpack-plugin');
-
-const outputPath = path.resolve(__dirname, 'dist');
-
-module.exports = {
- mode: 'development',
- entry: {
- app: require.resolve('./src/index'),
- },
- resolve: {
- extensions: ['.ts', '.js'],
- },
- module: {
- rules: [
- {
- test: /\.yaml$/,
- use: [
- { loader: 'json-loader' },
- { loader: 'yaml-loader', options:{ asJSON: true } }
- ]
- },
- {
- test: /\.css$/,
- use: [
- { loader: 'style-loader' },
- { loader: 'css-loader' },
- ]
- }
- ]
- },
- plugins: [
- new CleanWebpackPlugin(),
- new CopyWebpackPlugin({patterns:[
- {
- // Copy the Swagger OAuth2 redirect file to the project root;
- // that file handles the OAuth2 redirect after authenticating the end-user.
- from: require.resolve('swagger-ui/dist/oauth2-redirect.html'),
- to: './'
- }
- ]}),
- new HtmlWebpackPlugin({
- template: 'index.html'
- })
- ],
- output: {
- filename: '[name].bundle.js',
- path: outputPath,
- }
-};
diff --git a/src/main/resources/archetype-resources/config-definition/pom.xml b/src/main/resources/archetype-resources/config-definition/pom.xml
index 6f303fc3..42affc7b 100644
--- a/src/main/resources/archetype-resources/config-definition/pom.xml
+++ b/src/main/resources/archetype-resources/config-definition/pom.xml
@@ -172,30 +172,6 @@
io.wcm.wcm.core.components
compile
-#if ( $optionWcmioSiteApi == "y" )
-
- io.wcm
- io.wcm.site-api.processor
- compile
-
-
- io.wcm
- io.wcm.site-api.handler
- compile
-
-#end
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
- io.wcm
- io.wcm.site-api.generic-edit
- compile
-
-
- io.wcm
- io.wcm.site-api.generic-edit.handler
- compile
-
-#end
#end
#end
diff --git a/src/main/resources/archetype-resources/config-definition/src/main/environments/cloud.yaml b/src/main/resources/archetype-resources/config-definition/src/main/environments/cloud.yaml
index 613f013d..a82de336 100644
--- a/src/main/resources/archetype-resources/config-definition/src/main/environments/cloud.yaml
+++ b/src/main/resources/archetype-resources/config-definition/src/main/environments/cloud.yaml
@@ -21,21 +21,6 @@ nodes:
variant: aem-publish
config:
dispatcher:
-#if ( $optionWcmioSiteApi == "y" )
- # Allow access to Site API
- filter:
- - _merge_
- - url: /content(/.*)?
- extension: api
- selectors: site
- type: allow
- cache:
- # Also invalidate *.api on cache flush
- invalidate:
- - _merge_
- - glob: "*.api"
- type: allow
-#else
# Allow access to model.json
filter:
- _merge_
@@ -43,7 +28,6 @@ nodes:
extension: json
selectors: model
type: allow
-#end
config:
@@ -95,9 +79,5 @@ tenants:
# dev.serverName: publish-XXX.adobeaemcloud.com
# stage.serverName: publish-XXX.adobeaemcloud.com
# prod.serverName: publish-XXX.adobeaemcloud.com
-#if ( $optionWcmioSiteApi == "y" )
- rootRedirect.url: /content/${projectName}/en.html
-#else
rootRedirect.url: /en.html
sling.mapping.rootPath: /content/${projectName}
-#end
diff --git a/src/main/resources/archetype-resources/config-definition/src/main/roles/__projectName__-aem-cms.yaml b/src/main/resources/archetype-resources/config-definition/src/main/roles/__projectName__-aem-cms.yaml
index d6203513..0843cbf7 100644
--- a/src/main/resources/archetype-resources/config-definition/src/main/roles/__projectName__-aem-cms.yaml
+++ b/src/main/resources/archetype-resources/config-definition/src/main/roles/__projectName__-aem-cms.yaml
@@ -102,18 +102,6 @@ files:
dir: bundles
- url: mvn:io.wcm/io.wcm.wcm.core.components
dir: bundles
-#if ( $optionWcmioSiteApi == "y" )
-- url: mvn:io.wcm/io.wcm.site-api.processor
- dir: bundles
-- url: mvn:io.wcm/io.wcm.site-api.handler
- dir: bundles
-#end
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-- url: mvn:io.wcm/io.wcm.site-api.generic-edit
- dir: bundles
-- url: mvn:io.wcm/io.wcm.site-api.generic-edit.handler
- dir: bundles
-#end
#end
#end
diff --git a/src/main/resources/archetype-resources/config-definition/src/main/templates/__projectName__-aem-cms/__projectName__-aem-cms-config.provisioning.hbs b/src/main/resources/archetype-resources/config-definition/src/main/templates/__projectName__-aem-cms/__projectName__-aem-cms-config.provisioning.hbs
index a1522aaf..c13a3241 100644
--- a/src/main/resources/archetype-resources/config-definition/src/main/templates/__projectName__-aem-cms/__projectName__-aem-cms-config.provisioning.hbs
+++ b/src/main/resources/archetype-resources/config-definition/src/main/templates/__projectName__-aem-cms/__projectName__-aem-cms-config.provisioning.hbs
@@ -54,38 +54,8 @@
"${package}.config.impl.MediaHandlerConfigImpl",
"io.wcm.caconfig.extensions.contextpath.impl.RootTemplateContextPathStrategy",
"io.wcm.caconfig.extensions.persistence.impl.PagePersistenceStrategy",
- "io.wcm.handler.mediasource.dam.impl.dynamicmedia.DynamicMediaSupportServiceImpl"#if ( $optionWcmioSiteApi == "y" ),
- "io.wcm.siteapi.processor.impl.SiteApiServlet",
- "io.wcm.siteapi.processor.caconfig.impl.ContextAwareConfigurationExportImpl",
- "io.wcm.siteapi.handler.url.impl.HandlerUrlBuilder"#{end}]
-
-#if ( $optionWcmioSiteApi == "y" )
- # Enable built-in wcm.io Site API processors
- io.wcm.siteapi.processor.impl.index.IndexProcessor
- enabled=B"true"
-
- io.wcm.siteapi.processor.impl.content.ContentProcessor
- enabled=B"true"
+ "io.wcm.handler.mediasource.dam.impl.dynamicmedia.DynamicMediaSupportServiceImpl"]
- io.wcm.siteapi.processor.impl.caconfig.ContextAwareConfigurationProcessor
- enabled=B"true"
-
- io.wcm.siteapi.handler.processor.impl.navigation.NavigationProcessor
- enabled=B"true"
-
- # Ensure consistent ordering of JSON data in Sling Models Exporter
- org.apache.sling.models.jacksonexporter.impl.JacksonExporter
- mapping.options=[
- "SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS\=true",
- "MapperFeature.SORT_PROPERTIES_ALPHABETICALLY\=true"]
-
- # Enable Auto-Mode for wcm.io URL Handler for whole instance
- org.apache.sling.caconfig.impl.override.OsgiConfigurationOverrideProvider-siteapi-test-siteurl
- description="wcm.io Handler Site URLs"
- overrides="io.wcm.handler.url.SiteConfig\={\"siteUrl\":\"\",\"siteUrlAuthor\":\"\"}"
- enabled=B"true"
-
-#end
#end
[configurations runModes=author]
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/container/accordion/accordion.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/container/accordion/accordion.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/container/accordion/accordion.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/container/carousel/carousel.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/container/carousel/carousel.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/container/carousel/carousel.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/container/tabs/tabs.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/container/tabs/tabs.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/container/tabs/tabs.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/button/button.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/button/button.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/button/button.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/contentfragment/contentfragment.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/contentfragment/contentfragment.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/contentfragment/contentfragment.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/contentfragmentlist/contentfragmentlist.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/contentfragmentlist/contentfragmentlist.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/contentfragmentlist/contentfragmentlist.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/customcarousel/customcarousel.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/customcarousel/customcarousel.html
index a6083fb6..5a28182d 100644
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/customcarousel/customcarousel.html
+++ b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/customcarousel/customcarousel.html
@@ -1,9 +1,6 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#else
@@ -32,4 +29,3 @@
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/download/download.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/download/download.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/download/download.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/embed/embed.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/embed/embed.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/embed/embed.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/experiencefragment/experiencefragment.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/experiencefragment/experiencefragment.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/experiencefragment/experiencefragment.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/list/list.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/list/list.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/list/list.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/pdfviewer/pdfviewer.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/pdfviewer/pdfviewer.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/pdfviewer/pdfviewer.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/progressbar/progressbar.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/progressbar/progressbar.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/progressbar/progressbar.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/teaser/teaser.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/teaser/teaser.html
deleted file mode 100644
index 06279553..00000000
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/content/teaser/teaser.html
+++ /dev/null
@@ -1,3 +0,0 @@
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/page/customfooterlibs.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/page/customfooterlibs.html
index f6e57150..e90dd1f1 100644
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/page/customfooterlibs.html
+++ b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/page/customfooterlibs.html
@@ -1,9 +1,7 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
-#if ( $optionWcmioSiteApiGenericEdit == "n" )
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/page/customheaderlibs.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/page/customheaderlibs.html
index e1a96698..ca3bdcc0 100644
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/page/customheaderlibs.html
+++ b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/page/customheaderlibs.html
@@ -3,14 +3,7 @@
#set( $symbol_escape = '\' )
-#if ($optionWcmioSiteApiGenericEdit == "y")
-
-#else
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/xfpage/customfooterlibs.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/xfpage/customfooterlibs.html
index f6e57150..e90dd1f1 100644
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/xfpage/customfooterlibs.html
+++ b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/xfpage/customfooterlibs.html
@@ -1,9 +1,7 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
-#if ( $optionWcmioSiteApiGenericEdit == "n" )
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/xfpage/customheaderlibs.html b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/xfpage/customheaderlibs.html
index e1a96698..ca3bdcc0 100644
--- a/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/xfpage/customheaderlibs.html
+++ b/src/main/resources/archetype-resources/content-packages/ui.apps/jcr_root/apps/__projectName__/core/components/global/xfpage/customheaderlibs.html
@@ -3,14 +3,7 @@
#set( $symbol_escape = '\' )
-#if ($optionWcmioSiteApiGenericEdit == "y")
-
-#else
-#end
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/parent/pom.xml b/src/main/resources/archetype-resources/parent/pom.xml
index a74fd6e7..f9788877 100644
--- a/src/main/resources/archetype-resources/parent/pom.xml
+++ b/src/main/resources/archetype-resources/parent/pom.xml
@@ -205,35 +205,6 @@
io.wcm.wcm.core.components
1.14.0-2.23.2
-#if ( $optionWcmioSiteApi == "y" )
-
- io.wcm
- io.wcm.site-api.processor
- 1.1.0
-
-
- io.wcm
- io.wcm.site-api.handler
- 1.1.0
-
-
- io.wcm
- io.wcm.site-api.openapi-validator
- 1.0.0
-
-#end
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
- io.wcm
- io.wcm.site-api.generic-edit
- 1.0.2
-
-
- io.wcm
- io.wcm.site-api.generic-edit.handler
- 1.0.0
-
-#end
#end
io.wcm.devops.conga.definitions
@@ -290,37 +261,11 @@
io.wcm.testing.wcm-io-mock.wcm
1.2.0
-#if ( $optionWcmioSiteApi == "y" )
-
- io.wcm
- io.wcm.testing.wcm-io-mock.site-api.processor
- 1.0.0
-
-#end
io.wcm
io.wcm.testing.wcm-io-mock.handler
1.4.0
-#if ( $optionWcmioSiteApi == "y" )
-
- io.wcm
- io.wcm.testing.wcm-io-mock.site-api.handler
- 1.0.0
-
-#end
-#if ( $optionWcmioSiteApiGenericEdit == "y" )
-
- io.wcm
- io.wcm.testing.wcm-io-mock.site-api.generic-edit
- 1.0.0
-
-
- io.wcm
- io.wcm.testing.wcm-io-mock.site-api.generic-edit.handler
- 1.0.0
-
-#end
#end
@@ -411,13 +356,6 @@
aem-cloud-testing-clients
1.2.1
-#end
-#if ( $optionWcmioSiteApi == "y" )
-
- io.wcm
- io.wcm.site-api.integration-test-support
- 1.0.0
-
#end
org.slf4j
diff --git a/src/main/resources/archetype-resources/tests/integration/pom.xml b/src/main/resources/archetype-resources/tests/integration/pom.xml
index 1e1a0c9a..c80ecd03 100644
--- a/src/main/resources/archetype-resources/tests/integration/pom.xml
+++ b/src/main/resources/archetype-resources/tests/integration/pom.xml
@@ -15,31 +15,20 @@
jar
${projectName} Integration Tests
- Custom Functional Tests to be executed in Cloud Manager.
-
-#if ( $optionWcmioSiteApi == "y" )
- ${groupId}
- ${rootArtifactId}.site-api-spec
- ${version}
+ junit
+ junit
compile
-
-
- io.wcm
- io.wcm.site-api.integration-test-support
- compile
-
-
-#end
+#if ( $optionAemVersion == "cloud" )
- junit
- junit
+ com.adobe.cq
+ aem-cloud-testing-clients
compile
-#if ( $optionAemVersion == "6.5" )
+#elseif ( $optionAemVersion == "6.5" )
com.adobe.cq
cq-testing-clients-65
@@ -48,7 +37,7 @@
#else
com.adobe.cq
- aem-cloud-testing-clients
+ cq-testing-clients-64
compile
#end
@@ -57,7 +46,6 @@
slf4j-simple
compile
-
diff --git a/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/Constants.java b/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/Constants.java
deleted file mode 100644
index 01e3290c..00000000
--- a/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/Constants.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package ${package}.it.siteapi;
-
-import java.util.Collections;
-import java.util.List;
-
-import io.wcm.siteapi.openapi.validator.OpenApiSpecVersions;
-
-/**
- * Constants for test execution.
- */
-public final class Constants {
-
- /**
- * API site root entrypoint path.
- */
- @SuppressWarnings("java:S1075") // content path
- public static final String API_ENTRYPOINT_PATH = "/content/${projectName}/en";
-
- /**
- * Content template to be used in page replication test.
- */
- @SuppressWarnings("java:S1075") // content path
- public static final String CONTENT_TEMPLATE_PATH = "/conf/${projectName}/settings/wcm/templates/contentpage";
-
- /**
- * Resource types of components containing rich text.
- */
- public static final List RICHTEXT_COMPONENT_RESOURCE_TYPES = Collections.unmodifiableList(List.of(
- "${projectName}/core/components/content/text"
- ));
-
- /**
- * Site API selector.
- */
- public static final String SELECTOR = "site";
-
- /**
- * Site API extension.
- */
- public static final String EXTENSION = "api";
-
- /**
- * Detects all OAS3 specification present in classpath.
- */
- public static final OpenApiSpecVersions SPEC_VERSIONS = new OpenApiSpecVersions();
-
- private Constants() {
- // constants only
- }
-
-}
diff --git a/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/ContentPageReplicationIT.java b/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/ContentPageReplicationIT.java
deleted file mode 100644
index 58a97009..00000000
--- a/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/ContentPageReplicationIT.java
+++ /dev/null
@@ -1,169 +0,0 @@
-package ${package}.it.siteapi;
-
-import static ${package}.it.siteapi.Constants.API_ENTRYPOINT_PATH;
-import static ${package}.it.siteapi.Constants.EXTENSION;
-import static ${package}.it.siteapi.Constants.SELECTOR;
-import static ${package}.it.siteapi.Constants.SPEC_VERSIONS;
-import static java.util.concurrent.TimeUnit.MINUTES;
-import static java.util.concurrent.TimeUnit.SECONDS;
-import static org.junit.Assert.assertTrue;
-
-import java.util.Collection;
-import java.util.Set;
-import java.util.concurrent.TimeoutException;
-import java.util.stream.Collectors;
-
-import org.apache.http.HttpStatus;
-import org.apache.sling.testing.clients.ClientException;
-import org.apache.sling.testing.clients.util.poller.Polling;
-import org.jetbrains.annotations.NotNull;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.ClassRule;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import com.adobe.cq.testing.client.CQClient;
-import com.adobe.cq.testing.client.ReplicationClient;
-import com.adobe.cq.testing.junit.assertion.CQAssert;
-import com.adobe.cq.testing.junit.rules.CQAuthorPublishClassRule;
-import com.adobe.cq.testing.junit.rules.CQRule;
-import com.adobe.cq.testing.junit.rules.Page;
-import com.jayway.jsonpath.JsonPath;
-
-import io.wcm.siteapi.integrationtestsupport.IntegrationTestContext;
-import io.wcm.siteapi.integrationtestsupport.IntegrationTestContextBuilder;
-import io.wcm.siteapi.integrationtestsupport.linkextractor.ContentInternalLinks;
-import io.wcm.siteapi.openapi.validator.ContentValidationException;
-
-import ${package}.it.siteapi.rules.CustomPageRule;
-
-/**
- * Integration test that handles new page creation and replication.
- */
-@RunWith(Parameterized.class)
-public class ContentPageReplicationIT {
-
- private static final Logger log = LoggerFactory.getLogger(ContentPageReplicationIT.class);
-
- private static final long TIMEOUT = MINUTES.toMillis(12);
- private static final long DEFAULT_DELAY = SECONDS.toMillis(3);
-
- private static final String PROCESSOR_CONTENT = "content";
- private static final String PROCESSOR_NAVIGATION = "navigation";
-
- /**
- * @return All defined API versions
- */
- @Parameterized.Parameters
- public static Collection data() {
- return SPEC_VERSIONS.getAllVersions();
- }
-
- /**
- * @param apiVersion API version
- */
- public ContentPageReplicationIT(String apiVersion) {
- log.info("-------- Page Replication Site API {} --------", apiVersion);
- this.apiVersion = apiVersion;
- }
-
- private final String apiVersion;
-
- /**
- * The CQAuthorPublishClassRule represents an author and a publish services.
- * Force basic authentication (=no auth in this case) for publish instance.
- */
- @ClassRule
- #if ( $optionAemVersion == "6.5" )
- public static final CQAuthorPublishClassRule CQ_AUTHOR_PUBLISH_CLASS_RULE = new CQAuthorPublishClassRule(false);
- #else
- public static final CQAuthorPublishClassRule CQ_AUTHOR_PUBLISH_CLASS_RULE = new CQAuthorPublishClassRule(false, true);
- #end
-
- /**
- * CQRule.
- */
- @Rule
- public CQRule cqBaseRule = new CQRule(CQ_AUTHOR_PUBLISH_CLASS_RULE.authorRule, CQ_AUTHOR_PUBLISH_CLASS_RULE.publishRule);
-
- private static ReplicationClient authorClient;
- private static CQClient publishClient;
-
- /**
- * Page rule creates a temporary page and removes it at the end of test execution.
- */
- @Rule
- public Page root = new CustomPageRule(CQ_AUTHOR_PUBLISH_CLASS_RULE.authorRule);
-
- /**
- * Set up author and publish clients.
- */
- @BeforeClass
- @SuppressWarnings("null")
- public static void beforeClass() {
- authorClient = CQ_AUTHOR_PUBLISH_CLASS_RULE.authorRule.getAdminClient(ReplicationClient.class);
- publishClient = CQ_AUTHOR_PUBLISH_CLASS_RULE.publishRule.getClient(CQClient.class, null, null);
- }
-
- /**
- * Creates a temporary page, activates and deactivates it and validates responses on publish.
- * @throws InterruptedException Test interrupted
- * @throws ClientException Client exception
- * @throws ContentValidationException Content validation exception
- */
- @Test
- public void replicateAndCheckOnPublish() throws InterruptedException, ClientException, ContentValidationException {
- IntegrationTestContext context = new IntegrationTestContextBuilder()
- .publishUrl(publishClient.getUrl().toString())
- .selector(SELECTOR)
- .apiVersion(apiVersion)
- .extension(EXTENSION)
- .build();
-
- String contentPageUrl = context.buildSiteApiUrl(root.getPath(), PROCESSOR_CONTENT);
- String navigationPageUrl = context.buildSiteApiUrl(API_ENTRYPOINT_PATH, PROCESSOR_NAVIGATION);
-
- // page rule creates a new, temporary page
- CQAssert.assertCQPageExistsWithTimeout(authorClient, root.getPath(), TIMEOUT, DEFAULT_DELAY);
-
- // activate page to publish and wait until it can be requested there
- authorClient.activate(root.getPath(), HttpStatus.SC_OK);
- waitForPageOnPublish(context, contentPageUrl, HttpStatus.SC_OK);
-
- // validate JSON of published page on publish
- final String contentJson = context.getHttpClient().getBody(contentPageUrl);
- context.getValidator(PROCESSOR_CONTENT).validate(contentJson);
-
- // ensure published page is part of navigation JSON
- final String navigationJson = context.getHttpClient().getBody(navigationPageUrl);
- context.getValidator(PROCESSOR_NAVIGATION).validate(navigationJson);
-
- Set navigationLinks = new ContentInternalLinks().getLinks(JsonPath.parse(navigationJson))
- .collect(Collectors.toSet());
- assertTrue("Replication of page failed, " + contentPageUrl + " not found in response of " + navigationPageUrl,
- navigationLinks.contains(contentPageUrl));
-
- // deactivate page and wait until it's not longer requestable on publish
- authorClient.deactivate(root.getPath(), HttpStatus.SC_OK);
- waitForPageOnPublish(context, contentPageUrl, HttpStatus.SC_NOT_FOUND);
- }
-
- private void waitForPageOnPublish(@NotNull IntegrationTestContext context,
- @NotNull String url, int status) throws InterruptedException {
- log.info("Await HTTP {} for {}", status, url);
- try {
- new Polling(() -> {
- return context.getHttpClient().get(url).statusCode() == status;
- }).poll(TIMEOUT, DEFAULT_DELAY);
- }
- catch (TimeoutException e) {
- Assert.fail("Assertion failed because timeout reached out for: " + url);
- }
- }
-
-}
diff --git a/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/CrawlAndValidateIT.java b/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/CrawlAndValidateIT.java
deleted file mode 100644
index 2fd35bde..00000000
--- a/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/CrawlAndValidateIT.java
+++ /dev/null
@@ -1,108 +0,0 @@
-package ${package}.it.siteapi;
-
-import static ${package}.it.siteapi.Constants.API_ENTRYPOINT_PATH;
-import static ${package}.it.siteapi.Constants.EXTENSION;
-import static ${package}.it.siteapi.Constants.RICHTEXT_COMPONENT_RESOURCE_TYPES;
-import static ${package}.it.siteapi.Constants.SELECTOR;
-import static ${package}.it.siteapi.Constants.SPEC_VERSIONS;
-import static org.junit.Assert.assertEquals;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.apache.commons.lang3.StringUtils;
-import org.junit.Before;
-import org.junit.ClassRule;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import com.adobe.cq.testing.client.CQClient;
-import com.adobe.cq.testing.junit.rules.CQAuthorPublishClassRule;
-
-import io.wcm.siteapi.integrationtestsupport.IntegrationTestContext;
-import io.wcm.siteapi.integrationtestsupport.IntegrationTestContextBuilder;
-import io.wcm.siteapi.integrationtestsupport.crawler.Crawler;
-import io.wcm.siteapi.integrationtestsupport.linkextractor.ContentInternalLinks;
-import io.wcm.siteapi.integrationtestsupport.linkextractor.IndexLinks;
-import io.wcm.siteapi.integrationtestsupport.linkextractor.LinkExtractor;
-import io.wcm.siteapi.integrationtestsupport.linkextractor.RichTextInternalLinks;
-
-/**
- * Integration test that crawls recursively through all links starting from the API index
- * and validates all responses against the JSON schemas of the OAS3 spec.
- */
-@RunWith(Parameterized.class)
-public class CrawlAndValidateIT {
-
- private static final Logger log = LoggerFactory.getLogger(CrawlAndValidateIT.class);
-
- /**
- * AEM testing clients class rule.
- * Force basic authentication (= no auth in this case) as this is only used for publish.
- */
- @ClassRule
- public static final CQAuthorPublishClassRule CQ_AUTHOR_PUBLISH_CLASS_RULE = new CQAuthorPublishClassRule(true);
-
- private final String apiVersion;
- private IntegrationTestContext context;
-
- /**
- * @return All defined API versions
- */
- @Parameterized.Parameters
- public static Collection data() {
- return SPEC_VERSIONS.getAllVersions();
- }
-
- /**
- * @param apiVersion API version
- */
- public CrawlAndValidateIT(String apiVersion) {
- log.info("-------- Crawl Site API {} --------", apiVersion);
- this.apiVersion = apiVersion;
- }
-
- /**
- * Setup test.
- */
- @Before
- @SuppressWarnings("null")
- public void setUp() {
- CQClient cqClient = CQ_AUTHOR_PUBLISH_CLASS_RULE.publishRule.getClient(CQClient.class, null, null);
- context = new IntegrationTestContextBuilder()
- .publishUrl(cqClient.getUrl().toString())
- .selector(SELECTOR)
- .apiVersion(apiVersion)
- .extension(EXTENSION)
- .build();
- }
-
- /**
- * Crawls through all content of the given API endpoint.
- */
- @Test
- public void crawlAll() {
- // prepare crawler with link extractors supporting the project's Site API
- Crawler crawler = new Crawler(context, List.of(
- new IndexLinks(),
- new ContentInternalLinks(),
- new RichTextInternalLinks(RICHTEXT_COMPONENT_RESOURCE_TYPES)));
-
- // Crawl API recursively
- String indexUrl = context.buildSiteApiUrl(API_ENTRYPOINT_PATH, "index");
- crawler.start(indexUrl);
-
- log.info("Visited {} URLs: {}", apiVersion, crawler.numberOfVisits());
-
- // Report failures
- int failureCount = crawler.numberOfFailedVisits();
- if (failureCount > 0 && log.isErrorEnabled()) {
- log.error("Failed {} visits: {}\n{}\n", apiVersion, failureCount, StringUtils.join(crawler.failedVisitUrls(), "\n"));
- }
- assertEquals("Failed visits", 0, failureCount);
- }
-
-}
diff --git a/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/rules/CustomPageRule.java b/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/rules/CustomPageRule.java
deleted file mode 100644
index 4caa8383..00000000
--- a/src/main/resources/archetype-resources/tests/integration/src/main/java/it/siteapi/rules/CustomPageRule.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package ${package}.it.siteapi.rules;
-
-import static ${package}.it.siteapi.Constants.API_ENTRYPOINT_PATH;
-import static ${package}.it.siteapi.Constants.CONTENT_TEMPLATE_PATH;
-
-import org.apache.sling.testing.junit.rules.instance.Instance;
-
-import com.adobe.cq.testing.junit.rules.Page;
-
-/**
- * Extends Page Rule to set project-specific paths.
- * Rule is responsible for the page creation and page clean up.
- */
-public class CustomPageRule extends Page {
-
- /**
- * Constructor.
- * @param quickstartRule CQ instance rule
- */
- public CustomPageRule(Instance quickstartRule) {
- super(quickstartRule);
- }
-
- @Override
- protected String initialParentPath() {
- return API_ENTRYPOINT_PATH;
- }
-
- @Override
- protected String initialTemplatePath() {
- return CONTENT_TEMPLATE_PATH;
- }
-
-}
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 1f6ceaa4..3cfcf686 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -27,7 +27,7 @@ Features:
* Optional inclusion of latest service packs
* Optional integration with a [Webpack][webpack]-based Frontend Build
* Optional support for [Sling Context-Aware Configuration][sling-caconfig] and [wcm.io Context-Aware Configuration Extensions][wcmio-caconfig]
-* Optional support for [wcm.io Handler][wcmio-handler] infrastructure, [wcm.io WCM Core Components][wcmio-wcm-core-components] and [wcm.io Site API][wcmio-siteapi]
+* Optional support for [wcm.io Handler][wcmio-handler] infrastructure and [wcm.io WCM Core Components][wcmio-wcm-core-components]
* Optional support for [ACS AEM Commons][acs-aem-commons]
See [Usage][usage] for a detailed documentation.
@@ -64,7 +64,6 @@ Alternatively to the wcm.io AEM archetype you can use these tools to set up new
[wcmio-caconfig]: https://wcm.io/caconfig/
[wcmio-handler]: https://wcm.io/handler
[wcmio-wcm-core-components]: https://wcm.io/wcm/core-components/
-[wcmio-siteapi]: https://wcm.io/site-api/
[acs-aem-commons]: https://adobe-consulting-services.github.io/acs-aem-commons/
[adobe-aem-archetype]: https://github.com/Adobe-Marketing-Cloud/aem-project-archetype
[acs-aem-lazybones]: https://github.com/Adobe-Consulting-Services/lazybones-aem-templates
diff --git a/src/site/markdown/usage.md.vm b/src/site/markdown/usage.md.vm
index a4d12565..1dedc497 100644
--- a/src/site/markdown/usage.md.vm
+++ b/src/site/markdown/usage.md.vm
@@ -40,8 +40,6 @@ ${symbol_pound}${symbol_pound}${symbol_pound} Archetype parameters
| **optionFrontend** | n | Setup frontend build project with [webpack][webpack]
| **optionNodeJsPlugin** | n | Use [wcm.io Node JS plugin][nodejs-maven--plugin] for frontend build (recommended when [Maven NodeJS Proxy][maven-nodejs-proxy] is used). If not enabled the [frontend-maven-plugin][frontend-maven-plugin] is used instead. For AEMaaCS it is recommended to stick with frontend-maven-plugin.
| **optionWcmioHandler** | n | Setup project using wcm.io AEM libraries, especially the [wcm.io Handler][wcmio-handler] Infrastructure and [wcm.io WCM Core Components][wcmio-wcm-core-components]. _Requires optionContextAwareConfig='y'._
-| **optionWcmioSiteApi** | n | Setup AEM headless project based on [wcm.io Site API][wcmio-siteapi]. _Requires optionWcmioHandler='y'._
-| **optionWcmioSiteApiGenericEdit** | n | Setup AEM headless project based on [wcm.io Site API Generic Edit][wcmio-siteapi-generic-edit]. _Requires optionWcmioHandler='y' and optionWcmioSiteApi='y'._
| **optionSlingModelsLatest** | n | Use latest Sling Models bundles (ignored for AEMaaCS)
| **optionContextAwareConfigLatest** | n | Use latest Context-Aware Configuration bundles (ignored for AEMaaCS)
| **optionAcsCommons** | n | Deploy [ACS AEM Commons][acs-aem-commons].
@@ -52,7 +50,7 @@ ${symbol_pound}${symbol_pound}${symbol_pound} Archetype parameters
${symbol_pound}${symbol_pound}${symbol_pound} Usage examples
-${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} Minimal AEM project with FileVault package layout for AEMaaCS
+${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} Minimal AEM project with FileVault package layout and Java 11 for AEMaaCS
```
mvn org.apache.maven.plugins:maven-archetype-plugin:${project.properties['maven.archetype.version']}:generate -DinteractiveMode=false \
@@ -76,8 +74,6 @@ mvn org.apache.maven.plugins:maven-archetype-plugin:${project.properties['maven.
-DoptionMultiBundleLayout=n \
-DoptionContextAwareConfig=y \
-DoptionWcmioHandler=n \
- -DoptionWcmioSiteApi=n \
- -DoptionWcmioSiteApiGenericEdit=n \
-DoptionSlingModelsLatest=n \
-DoptionContextAwareConfigLatest=n \
-DoptionAcsCommons=n \
@@ -86,18 +82,18 @@ mvn org.apache.maven.plugins:maven-archetype-plugin:${project.properties['maven.
-DoptionIntegrationTests=n
```
-${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} AEM project with wcm.io and Sling-Initial-Content project layout for AEM 6.5
+${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} AEM project with wcm.io and Sling-Initial-Content project layout and Java 11 for AEM 6.5
```
mvn org.apache.maven.plugins:maven-archetype-plugin:${project.properties['maven.archetype.version']}:generate -DinteractiveMode=false \
-DarchetypeGroupId=io.wcm.maven.archetypes \
-DarchetypeArtifactId=io.wcm.maven.archetypes.aem \
-DarchetypeVersion=${project.properties['releasedVersion.version']} \
- -DprojectName=myproject \
+ -DprojectName=myproject2 \
-DgroupId=mycompany.myprojectgroup \
- -DartifactId=mycompany.myprojectgroup.myproject \
+ -DartifactId=mycompany.myprojectgroup.myproject2 \
-Dversion=1.0.0-SNAPSHOT \
- -Dpackage=mycompany.myprojectgroup.myproject \
+ -Dpackage=mycompany.myprojectgroup.myproject2 \
-DpackageGroupName=mycompany \
-DaemAuthorPort=4502 \
-DaemPublishPort=4503 \
@@ -110,8 +106,6 @@ mvn org.apache.maven.plugins:maven-archetype-plugin:${project.properties['maven.
-DoptionMultiBundleLayout=n \
-DoptionContextAwareConfig=y \
-DoptionWcmioHandler=y \
- -DoptionWcmioSiteApi=n \
- -DoptionWcmioSiteApiGenericEdit=n \
-DoptionSlingModelsLatest=n \
-DoptionContextAwareConfigLatest=n \
-DoptionAcsCommons=n \
@@ -120,39 +114,6 @@ mvn org.apache.maven.plugins:maven-archetype-plugin:${project.properties['maven.
-DoptionIntegrationTests=n
```
-${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} AEM headless project with wcm.io Site API and Sling-Initial-Content project layout for AEMaaCS
-
-```
-mvn org.apache.maven.plugins:maven-archetype-plugin:${project.properties['maven.archetype.version']}:generate -DinteractiveMode=false \
- -DarchetypeGroupId=io.wcm.maven.archetypes \
- -DarchetypeArtifactId=io.wcm.maven.archetypes.aem \
- -DarchetypeVersion=${project.properties['releasedVersion.version']} \
- -DprojectName=myproject \
- -DgroupId=mycompany.myprojectgroup \
- -DartifactId=mycompany.myprojectgroup.myproject \
- -Dversion=1.0.0-SNAPSHOT \
- -Dpackage=mycompany.myprojectgroup.myproject \
- -DpackageGroupName=mycompany \
- -DaemAuthorPort=4502 \
- -DaemPublishPort=4503 \
- -DoptionJavaVersion=11 \
- -DoptionAemVersion=cloud \
- -DoptionAemServicePack=n \
- -DoptionAemServicePackAPI=n \
- -DoptionSlingInitialContentBundle=y \
- -DoptionEditableTemplates=y \
- -DoptionMultiBundleLayout=y \
- -DoptionContextAwareConfig=y \
- -DoptionWcmioHandler=y \
- -DoptionWcmioSiteApi=y \
- -DoptionWcmioSiteApiGenericEdit=y \
- -DoptionSlingModelsLatest=n \
- -DoptionContextAwareConfigLatest=n \
- -DoptionAcsCommons=n \
- -DoptionFrontend=n \
- -DoptionNodeJsPlugin=n \
- -DoptionIntegrationTests=y
-```
${symbol_pound}${symbol_pound}${symbol_pound} Requirements
@@ -163,6 +124,7 @@ ${symbol_pound}${symbol_pound}${symbol_pound} Requirements
+
[wcmio-maven]: https://wcm.io/maven.html
[aem-binaries-conventions]: https://wcm-io.atlassian.net/wiki/x/AYC9Aw
[aem-eclipse-ide]: https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/aem-eclipse.html
@@ -172,8 +134,6 @@ ${symbol_pound}${symbol_pound}${symbol_pound} Requirements
[wcmio-caconfig]: https://wcm.io/caconfig/
[wcmio-handler]: https://wcm.io/handler
[wcmio-wcm-core-components]: https://wcm.io/wcm/core-components/
-[wcmio-siteapi]: https://wcm.io/site-api/
-[wcmio-siteapi-generic-edit]: https://wcm.io/site-api/generic-edit/
[acs-aem-commons]: https://adobe-consulting-services.github.io/acs-aem-commons/
[webpack]: https://webpack.js.org/
[nodejs-maven--plugin]: https://wcm.io/tooling/maven/plugins/nodejs-maven-plugin/
diff --git a/src/test/resources/projects-github/alpha65-json-wcmio-caconfig-acscommons/archetype.properties b/src/test/resources/projects-github/alpha65-json-wcmio-caconfig-acscommons-sp/archetype.properties
similarity index 92%
rename from src/test/resources/projects-github/alpha65-json-wcmio-caconfig-acscommons/archetype.properties
rename to src/test/resources/projects-github/alpha65-json-wcmio-caconfig-acscommons-sp/archetype.properties
index e5f444a3..9047a7e0 100644
--- a/src/test/resources/projects-github/alpha65-json-wcmio-caconfig-acscommons/archetype.properties
+++ b/src/test/resources/projects-github/alpha65-json-wcmio-caconfig-acscommons-sp/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=y
diff --git a/src/test/resources/projects-github/alpha65-json-wcmio-caconfig-acscommons/goal.txt b/src/test/resources/projects-github/alpha65-json-wcmio-caconfig-acscommons-sp/goal.txt
similarity index 100%
rename from src/test/resources/projects-github/alpha65-json-wcmio-caconfig-acscommons/goal.txt
rename to src/test/resources/projects-github/alpha65-json-wcmio-caconfig-acscommons-sp/goal.txt
diff --git a/src/test/resources/projects-github/alphaCloud-json-wcmio-caconfig-acscommons-frontend/archetype.properties b/src/test/resources/projects-github/alphaCloud-json-wcmio-caconfig-acscommons-frontend/archetype.properties
index edb57077..be10a980 100644
--- a/src/test/resources/projects-github/alphaCloud-json-wcmio-caconfig-acscommons-frontend/archetype.properties
+++ b/src/test/resources/projects-github/alphaCloud-json-wcmio-caconfig-acscommons-frontend/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=y
optionNodeJsPlugin=n
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=y
diff --git a/src/test/resources/projects-github/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend/archetype.properties b/src/test/resources/projects-github/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend-sp/archetype.properties
similarity index 92%
rename from src/test/resources/projects-github/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend/archetype.properties
rename to src/test/resources/projects-github/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend-sp/archetype.properties
index 255fe642..d6f0b6a3 100644
--- a/src/test/resources/projects-github/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend/archetype.properties
+++ b/src/test/resources/projects-github/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend-sp/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=y
optionNodeJsPlugin=y
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=y
optionContextAwareConfigLatest=y
optionAcsCommons=n
diff --git a/src/test/resources/projects-github/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend/goal.txt b/src/test/resources/projects-github/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend-sp/goal.txt
similarity index 100%
rename from src/test/resources/projects-github/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend/goal.txt
rename to src/test/resources/projects-github/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend-sp/goal.txt
diff --git a/src/test/resources/projects-github/betaCloud-json-wcmio-editableTpl-caconfig-multibundle/archetype.properties b/src/test/resources/projects-github/betaCloud-json-wcmio-editableTpl-caconfig-multibundle/archetype.properties
index ecfe4bde..d9f762a3 100644
--- a/src/test/resources/projects-github/betaCloud-json-wcmio-editableTpl-caconfig-multibundle/archetype.properties
+++ b/src/test/resources/projects-github/betaCloud-json-wcmio-editableTpl-caconfig-multibundle/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects-github/delta65-filevault-editableTpl-caconfig-frontend/archetype.properties b/src/test/resources/projects-github/delta65-filevault-editableTpl-caconfig-frontend-sp/archetype.properties
similarity index 92%
rename from src/test/resources/projects-github/delta65-filevault-editableTpl-caconfig-frontend/archetype.properties
rename to src/test/resources/projects-github/delta65-filevault-editableTpl-caconfig-frontend-sp/archetype.properties
index f98b92e9..3c1bbad5 100644
--- a/src/test/resources/projects-github/delta65-filevault-editableTpl-caconfig-frontend/archetype.properties
+++ b/src/test/resources/projects-github/delta65-filevault-editableTpl-caconfig-frontend-sp/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=y
optionNodeJsPlugin=n
optionWcmioHandler=n
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects-github/delta65-filevault-editableTpl-caconfig-frontend/goal.txt b/src/test/resources/projects-github/delta65-filevault-editableTpl-caconfig-frontend-sp/goal.txt
similarity index 100%
rename from src/test/resources/projects-github/delta65-filevault-editableTpl-caconfig-frontend/goal.txt
rename to src/test/resources/projects-github/delta65-filevault-editableTpl-caconfig-frontend-sp/goal.txt
diff --git a/src/test/resources/projects-github/deltaCloud-filevault-editableTpl-caconfig/archetype.properties b/src/test/resources/projects-github/deltaCloud-filevault-editableTpl-caconfig/archetype.properties
index f7d49b8e..59dc6977 100644
--- a/src/test/resources/projects-github/deltaCloud-filevault-editableTpl-caconfig/archetype.properties
+++ b/src/test/resources/projects-github/deltaCloud-filevault-editableTpl-caconfig/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=n
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects-github/epsilon65-filevault-editableTpl/archetype.properties b/src/test/resources/projects-github/epsilon65-filevault-editableTpl-sp/archetype.properties
similarity index 92%
rename from src/test/resources/projects-github/epsilon65-filevault-editableTpl/archetype.properties
rename to src/test/resources/projects-github/epsilon65-filevault-editableTpl-sp/archetype.properties
index 30133711..d6da522c 100644
--- a/src/test/resources/projects-github/epsilon65-filevault-editableTpl/archetype.properties
+++ b/src/test/resources/projects-github/epsilon65-filevault-editableTpl-sp/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=n
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=n
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=y
optionContextAwareConfigLatest=y
optionAcsCommons=n
diff --git a/src/test/resources/projects-github/epsilon65-filevault-editableTpl/goal.txt b/src/test/resources/projects-github/epsilon65-filevault-editableTpl-sp/goal.txt
similarity index 100%
rename from src/test/resources/projects-github/epsilon65-filevault-editableTpl/goal.txt
rename to src/test/resources/projects-github/epsilon65-filevault-editableTpl-sp/goal.txt
diff --git a/src/test/resources/projects-github/epsilonCloud-filevault-editableTpl/archetype.properties b/src/test/resources/projects-github/epsilonCloud-filevault-editableTpl/archetype.properties
index 46898147..c3fccac4 100644
--- a/src/test/resources/projects-github/epsilonCloud-filevault-editableTpl/archetype.properties
+++ b/src/test/resources/projects-github/epsilonCloud-filevault-editableTpl/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=n
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=n
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects-github/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit/archetype.properties b/src/test/resources/projects-github/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit/archetype.properties
deleted file mode 100644
index 900c43cb..00000000
--- a/src/test/resources/projects-github/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit/archetype.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# basic properties
-projectName=eta65Project
-groupId=archetype.it
-artifactId=archetype.it.eta65Project
-version=1.0.0-SNAPSHOT
-package=com.example.eta65project
-packageGroupName=eta65Project
-aemAuthorPort=45025
-aemPublishPort=45035
-
-# feature flags
-optionAemVersion=6.5
-optionJavaVersion=11
-optionAemServicePack=n
-optionAemServicePackAPI=y
-optionSlingInitialContentBundle=y
-optionEditableTemplates=y
-optionMultiBundleLayout=n
-optionContextAwareConfig=y
-optionFrontend=n
-optionNodeJsPlugin=n
-optionWcmioHandler=y
-optionWcmioSiteApi=y
-optionWcmioSiteApiGenericEdit=y
-optionSlingModelsLatest=n
-optionContextAwareConfigLatest=n
-optionAcsCommons=n
-optionIntegrationTests=y
\ No newline at end of file
diff --git a/src/test/resources/projects-github/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit/goal.txt b/src/test/resources/projects-github/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit/goal.txt
deleted file mode 100644
index 80096d05..00000000
--- a/src/test/resources/projects-github/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
--f ../eta65Project -U clean verify
\ No newline at end of file
diff --git a/src/test/resources/projects-github/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/archetype.properties b/src/test/resources/projects-github/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/archetype.properties
deleted file mode 100644
index 5fb4e79c..00000000
--- a/src/test/resources/projects-github/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/archetype.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# basic properties
-projectName=etacloudProject
-groupId=archetype.it
-artifactId=archetype.it.etacloudProject
-version=1.0.0-SNAPSHOT
-package=com.example.etacloudproject
-packageGroupName=etacloudProject
-aemAuthorPort=4502
-aemPublishPort=4503
-
-# feature flags
-optionAemVersion=cloud
-optionJavaVersion=11
-optionAemServicePack=n
-optionAemServicePackAPI=n
-optionSlingInitialContentBundle=y
-optionEditableTemplates=y
-optionMultiBundleLayout=n
-optionContextAwareConfig=y
-optionFrontend=n
-optionNodeJsPlugin=n
-optionWcmioHandler=y
-optionWcmioSiteApi=y
-optionWcmioSiteApiGenericEdit=y
-optionSlingModelsLatest=n
-optionContextAwareConfigLatest=n
-optionAcsCommons=n
-optionIntegrationTests=y
\ No newline at end of file
diff --git a/src/test/resources/projects-github/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/goal.txt b/src/test/resources/projects-github/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/goal.txt
deleted file mode 100644
index f1ebfad9..00000000
--- a/src/test/resources/projects-github/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
--f ../etacloudProject -U clean verify
\ No newline at end of file
diff --git a/src/test/resources/projects-github/gamma65-filevault-wcmio-caconfig/archetype.properties b/src/test/resources/projects-github/gamma65-filevault-wcmio-caconfig-sp/archetype.properties
similarity index 92%
rename from src/test/resources/projects-github/gamma65-filevault-wcmio-caconfig/archetype.properties
rename to src/test/resources/projects-github/gamma65-filevault-wcmio-caconfig-sp/archetype.properties
index dfd50b1c..5b842aed 100644
--- a/src/test/resources/projects-github/gamma65-filevault-wcmio-caconfig/archetype.properties
+++ b/src/test/resources/projects-github/gamma65-filevault-wcmio-caconfig-sp/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects-github/gamma65-filevault-wcmio-caconfig/goal.txt b/src/test/resources/projects-github/gamma65-filevault-wcmio-caconfig-sp/goal.txt
similarity index 100%
rename from src/test/resources/projects-github/gamma65-filevault-wcmio-caconfig/goal.txt
rename to src/test/resources/projects-github/gamma65-filevault-wcmio-caconfig-sp/goal.txt
diff --git a/src/test/resources/projects-github/gammaCloud-filevault-wcmio-caconfig/archetype.properties b/src/test/resources/projects-github/gammaCloud-filevault-wcmio-caconfig/archetype.properties
index 946339bd..1e359374 100644
--- a/src/test/resources/projects-github/gammaCloud-filevault-wcmio-caconfig/archetype.properties
+++ b/src/test/resources/projects-github/gammaCloud-filevault-wcmio-caconfig/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects-github/zeta65-json-wcmio-editableTpl-caconfig-siteapi/archetype.properties b/src/test/resources/projects-github/zeta65-json-wcmio-editableTpl-caconfig-siteapi/archetype.properties
deleted file mode 100644
index eefb9040..00000000
--- a/src/test/resources/projects-github/zeta65-json-wcmio-editableTpl-caconfig-siteapi/archetype.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# basic properties
-projectName=zeta65Project
-groupId=archetype.it
-artifactId=archetype.it.zeta65Project
-version=1.0.0-SNAPSHOT
-package=com.example.zeta65project
-packageGroupName=zeta65Project
-aemAuthorPort=45025
-aemPublishPort=45035
-
-# feature flags
-optionAemVersion=6.5
-optionJavaVersion=11
-optionAemServicePack=n
-optionAemServicePackAPI=y
-optionSlingInitialContentBundle=y
-optionEditableTemplates=y
-optionMultiBundleLayout=n
-optionContextAwareConfig=y
-optionFrontend=n
-optionNodeJsPlugin=n
-optionWcmioHandler=y
-optionWcmioSiteApi=y
-optionWcmioSiteApiGenericEdit=n
-optionSlingModelsLatest=n
-optionContextAwareConfigLatest=n
-optionAcsCommons=n
-optionIntegrationTests=y
\ No newline at end of file
diff --git a/src/test/resources/projects-github/zeta65-json-wcmio-editableTpl-caconfig-siteapi/goal.txt b/src/test/resources/projects-github/zeta65-json-wcmio-editableTpl-caconfig-siteapi/goal.txt
deleted file mode 100644
index cf08cb9b..00000000
--- a/src/test/resources/projects-github/zeta65-json-wcmio-editableTpl-caconfig-siteapi/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
--f ../zeta65Project -U clean verify
\ No newline at end of file
diff --git a/src/test/resources/projects-github/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/archetype.properties b/src/test/resources/projects-github/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/archetype.properties
deleted file mode 100644
index d34dad85..00000000
--- a/src/test/resources/projects-github/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/archetype.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# basic properties
-projectName=zetacloudProject
-groupId=archetype.it
-artifactId=archetype.it.zetacloudProject
-version=1.0.0-SNAPSHOT
-package=com.example.zetacloudproject
-packageGroupName=zetacloudProject
-aemAuthorPort=4502
-aemPublishPort=4503
-
-# feature flags
-optionAemVersion=cloud
-optionJavaVersion=11
-optionAemServicePack=n
-optionAemServicePackAPI=n
-optionSlingInitialContentBundle=y
-optionEditableTemplates=y
-optionMultiBundleLayout=n
-optionContextAwareConfig=y
-optionFrontend=n
-optionNodeJsPlugin=n
-optionWcmioHandler=y
-optionWcmioSiteApi=y
-optionWcmioSiteApiGenericEdit=n
-optionSlingModelsLatest=n
-optionContextAwareConfigLatest=n
-optionAcsCommons=n
-optionIntegrationTests=y
\ No newline at end of file
diff --git a/src/test/resources/projects-github/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/goal.txt b/src/test/resources/projects-github/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/goal.txt
deleted file mode 100644
index 2f5ca47c..00000000
--- a/src/test/resources/projects-github/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
--f ../zetacloudProject -U clean verify
\ No newline at end of file
diff --git a/src/test/resources/projects/alpha65-json-wcmio-caconfig-acscommons-sp/archetype.properties b/src/test/resources/projects/alpha65-json-wcmio-caconfig-acscommons-sp/archetype.properties
index b9bde9de..48afa56a 100644
--- a/src/test/resources/projects/alpha65-json-wcmio-caconfig-acscommons-sp/archetype.properties
+++ b/src/test/resources/projects/alpha65-json-wcmio-caconfig-acscommons-sp/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=y
diff --git a/src/test/resources/projects/alphaCloud-json-wcmio-caconfig-acscommons-frontend/archetype.properties b/src/test/resources/projects/alphaCloud-json-wcmio-caconfig-acscommons-frontend/archetype.properties
index 27738704..c9104d1e 100644
--- a/src/test/resources/projects/alphaCloud-json-wcmio-caconfig-acscommons-frontend/archetype.properties
+++ b/src/test/resources/projects/alphaCloud-json-wcmio-caconfig-acscommons-frontend/archetype.properties
@@ -22,7 +22,5 @@ optionNodeJsPlugin=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionAcsCommons=y
optionIntegrationTests=n
\ No newline at end of file
diff --git a/src/test/resources/projects/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend-sp/archetype.properties b/src/test/resources/projects/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend-sp/archetype.properties
index 200453ab..b8d8d77e 100644
--- a/src/test/resources/projects/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend-sp/archetype.properties
+++ b/src/test/resources/projects/beta65-json-wcmio-editableTpl-caconfig-multibundle-frontend-sp/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=y
optionNodeJsPlugin=y
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=y
optionContextAwareConfigLatest=y
optionAcsCommons=n
diff --git a/src/test/resources/projects/betaCloud-json-wcmio-editableTpl-caconfig-multibundle/archetype.properties b/src/test/resources/projects/betaCloud-json-wcmio-editableTpl-caconfig-multibundle/archetype.properties
index ecfe4bde..d9f762a3 100644
--- a/src/test/resources/projects/betaCloud-json-wcmio-editableTpl-caconfig-multibundle/archetype.properties
+++ b/src/test/resources/projects/betaCloud-json-wcmio-editableTpl-caconfig-multibundle/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects/delta65-filevault-editableTpl-caconfig-frontend-sp/archetype.properties b/src/test/resources/projects/delta65-filevault-editableTpl-caconfig-frontend-sp/archetype.properties
index d5c0e20a..9678e1dc 100644
--- a/src/test/resources/projects/delta65-filevault-editableTpl-caconfig-frontend-sp/archetype.properties
+++ b/src/test/resources/projects/delta65-filevault-editableTpl-caconfig-frontend-sp/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=y
optionNodeJsPlugin=n
optionWcmioHandler=n
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects/deltaCloud-filevault-editableTpl-caconfig/archetype.properties b/src/test/resources/projects/deltaCloud-filevault-editableTpl-caconfig/archetype.properties
index f7d49b8e..59dc6977 100644
--- a/src/test/resources/projects/deltaCloud-filevault-editableTpl-caconfig/archetype.properties
+++ b/src/test/resources/projects/deltaCloud-filevault-editableTpl-caconfig/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=n
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects/epsilon65-filevault-editableTpl-sp/archetype.properties b/src/test/resources/projects/epsilon65-filevault-editableTpl-sp/archetype.properties
index 314eb2b9..86cc4948 100644
--- a/src/test/resources/projects/epsilon65-filevault-editableTpl-sp/archetype.properties
+++ b/src/test/resources/projects/epsilon65-filevault-editableTpl-sp/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=n
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=n
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=y
optionContextAwareConfigLatest=y
optionAcsCommons=n
diff --git a/src/test/resources/projects/epsilonCloud-filevault-editableTpl/archetype.properties b/src/test/resources/projects/epsilonCloud-filevault-editableTpl/archetype.properties
index 46898147..c3fccac4 100644
--- a/src/test/resources/projects/epsilonCloud-filevault-editableTpl/archetype.properties
+++ b/src/test/resources/projects/epsilonCloud-filevault-editableTpl/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=n
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=n
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit-sp/archetype.properties b/src/test/resources/projects/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit-sp/archetype.properties
deleted file mode 100644
index f9455777..00000000
--- a/src/test/resources/projects/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit-sp/archetype.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# basic properties
-projectName=eta65Project
-groupId=archetype.it
-artifactId=archetype.it.eta65Project
-version=1.0.0-SNAPSHOT
-package=com.example.eta65project
-packageGroupName=eta65Project
-aemAuthorPort=45025
-aemPublishPort=45035
-
-# feature flags
-optionAemVersion=6.5
-optionJavaVersion=11
-optionAemServicePack=y
-optionAemServicePackAPI=y
-optionSlingInitialContentBundle=y
-optionEditableTemplates=y
-optionMultiBundleLayout=n
-optionContextAwareConfig=y
-optionFrontend=n
-optionNodeJsPlugin=n
-optionWcmioHandler=y
-optionWcmioSiteApi=y
-optionWcmioSiteApiGenericEdit=y
-optionSlingModelsLatest=n
-optionContextAwareConfigLatest=n
-optionAcsCommons=n
-optionIntegrationTests=y
\ No newline at end of file
diff --git a/src/test/resources/projects/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit-sp/goal.txt b/src/test/resources/projects/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit-sp/goal.txt
deleted file mode 100644
index 80096d05..00000000
--- a/src/test/resources/projects/eta65-json-wcmio-editableTpl-caconfig-siteapi-genericedit-sp/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
--f ../eta65Project -U clean verify
\ No newline at end of file
diff --git a/src/test/resources/projects/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/archetype.properties b/src/test/resources/projects/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/archetype.properties
deleted file mode 100644
index 5fb4e79c..00000000
--- a/src/test/resources/projects/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/archetype.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# basic properties
-projectName=etacloudProject
-groupId=archetype.it
-artifactId=archetype.it.etacloudProject
-version=1.0.0-SNAPSHOT
-package=com.example.etacloudproject
-packageGroupName=etacloudProject
-aemAuthorPort=4502
-aemPublishPort=4503
-
-# feature flags
-optionAemVersion=cloud
-optionJavaVersion=11
-optionAemServicePack=n
-optionAemServicePackAPI=n
-optionSlingInitialContentBundle=y
-optionEditableTemplates=y
-optionMultiBundleLayout=n
-optionContextAwareConfig=y
-optionFrontend=n
-optionNodeJsPlugin=n
-optionWcmioHandler=y
-optionWcmioSiteApi=y
-optionWcmioSiteApiGenericEdit=y
-optionSlingModelsLatest=n
-optionContextAwareConfigLatest=n
-optionAcsCommons=n
-optionIntegrationTests=y
\ No newline at end of file
diff --git a/src/test/resources/projects/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/goal.txt b/src/test/resources/projects/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/goal.txt
deleted file mode 100644
index f1ebfad9..00000000
--- a/src/test/resources/projects/etaCloud-json-wcmio-editableTpl-caconfig-siteapi-genericedit/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
--f ../etacloudProject -U clean verify
\ No newline at end of file
diff --git a/src/test/resources/projects/gamma65-filevault-wcmio-caconfig-sp/archetype.properties b/src/test/resources/projects/gamma65-filevault-wcmio-caconfig-sp/archetype.properties
index af0b6123..59ba9a8d 100644
--- a/src/test/resources/projects/gamma65-filevault-wcmio-caconfig-sp/archetype.properties
+++ b/src/test/resources/projects/gamma65-filevault-wcmio-caconfig-sp/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects/gammaCloud-filevault-wcmio-caconfig/archetype.properties b/src/test/resources/projects/gammaCloud-filevault-wcmio-caconfig/archetype.properties
index 946339bd..1e359374 100644
--- a/src/test/resources/projects/gammaCloud-filevault-wcmio-caconfig/archetype.properties
+++ b/src/test/resources/projects/gammaCloud-filevault-wcmio-caconfig/archetype.properties
@@ -20,8 +20,6 @@ optionContextAwareConfig=y
optionFrontend=n
optionNodeJsPlugin=n
optionWcmioHandler=y
-optionWcmioSiteApi=n
-optionWcmioSiteApiGenericEdit=n
optionSlingModelsLatest=n
optionContextAwareConfigLatest=n
optionAcsCommons=n
diff --git a/src/test/resources/projects/zeta65-json-wcmio-editableTpl-caconfig-siteapi-sp/archetype.properties b/src/test/resources/projects/zeta65-json-wcmio-editableTpl-caconfig-siteapi-sp/archetype.properties
deleted file mode 100644
index 8d19a410..00000000
--- a/src/test/resources/projects/zeta65-json-wcmio-editableTpl-caconfig-siteapi-sp/archetype.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# basic properties
-projectName=zeta65Project
-groupId=archetype.it
-artifactId=archetype.it.zeta65Project
-version=1.0.0-SNAPSHOT
-package=com.example.zeta65project
-packageGroupName=zeta65Project
-aemAuthorPort=45025
-aemPublishPort=45035
-
-# feature flags
-optionAemVersion=6.5
-optionJavaVersion=11
-optionAemServicePack=y
-optionAemServicePackAPI=y
-optionSlingInitialContentBundle=y
-optionEditableTemplates=y
-optionMultiBundleLayout=n
-optionContextAwareConfig=y
-optionFrontend=n
-optionNodeJsPlugin=n
-optionWcmioHandler=y
-optionWcmioSiteApi=y
-optionWcmioSiteApiGenericEdit=n
-optionSlingModelsLatest=n
-optionContextAwareConfigLatest=n
-optionAcsCommons=n
-optionIntegrationTests=y
\ No newline at end of file
diff --git a/src/test/resources/projects/zeta65-json-wcmio-editableTpl-caconfig-siteapi-sp/goal.txt b/src/test/resources/projects/zeta65-json-wcmio-editableTpl-caconfig-siteapi-sp/goal.txt
deleted file mode 100644
index cf08cb9b..00000000
--- a/src/test/resources/projects/zeta65-json-wcmio-editableTpl-caconfig-siteapi-sp/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
--f ../zeta65Project -U clean verify
\ No newline at end of file
diff --git a/src/test/resources/projects/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/archetype.properties b/src/test/resources/projects/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/archetype.properties
deleted file mode 100644
index d34dad85..00000000
--- a/src/test/resources/projects/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/archetype.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-# basic properties
-projectName=zetacloudProject
-groupId=archetype.it
-artifactId=archetype.it.zetacloudProject
-version=1.0.0-SNAPSHOT
-package=com.example.zetacloudproject
-packageGroupName=zetacloudProject
-aemAuthorPort=4502
-aemPublishPort=4503
-
-# feature flags
-optionAemVersion=cloud
-optionJavaVersion=11
-optionAemServicePack=n
-optionAemServicePackAPI=n
-optionSlingInitialContentBundle=y
-optionEditableTemplates=y
-optionMultiBundleLayout=n
-optionContextAwareConfig=y
-optionFrontend=n
-optionNodeJsPlugin=n
-optionWcmioHandler=y
-optionWcmioSiteApi=y
-optionWcmioSiteApiGenericEdit=n
-optionSlingModelsLatest=n
-optionContextAwareConfigLatest=n
-optionAcsCommons=n
-optionIntegrationTests=y
\ No newline at end of file
diff --git a/src/test/resources/projects/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/goal.txt b/src/test/resources/projects/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/goal.txt
deleted file mode 100644
index 2f5ca47c..00000000
--- a/src/test/resources/projects/zetaCloud-json-wcmio-editableTpl-caconfig-siteapi/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
--f ../zetacloudProject -U clean verify
\ No newline at end of file