diff --git a/all/pom.xml b/all/pom.xml
index 97bd5f079..2eb80e9ea 100644
--- a/all/pom.xml
+++ b/all/pom.xml
@@ -7,7 +7,7 @@
com.exadel.etoolbox
etoolbox-authoring-kit
- 2.5.0
+ 2.5.1
etoolbox-authoring-kit-all
@@ -66,13 +66,13 @@
true
- ${basedir}/src/main/content/jcr_root/etc/packages/${project.groupId}/${project.parent.artifactId}
+ ${basedir}/src/main/content/jcr_root/etc/packages/${project.groupId}
**
- .snapshot
- .snapshot/.keep
+ ${project.parent.artifactId}/.snapshot
+ ${project.parent.artifactId}/.snapshot/.keep
diff --git a/all/src/main/content/META-INF/vault/filter.xml b/all/src/main/content/META-INF/vault/filter.xml
index 4786d31c8..def2eadb6 100644
--- a/all/src/main/content/META-INF/vault/filter.xml
+++ b/all/src/main/content/META-INF/vault/filter.xml
@@ -1,6 +1,5 @@
-
-
-
+
+
diff --git a/core/pom.xml b/core/pom.xml
index fb3e981d5..0b950ce59 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -7,7 +7,7 @@
com.exadel.etoolbox
etoolbox-authoring-kit
- 2.5.0
+ 2.5.1
etoolbox-authoring-kit-core
diff --git a/core/src/main/java/com/exadel/aem/toolkit/api/annotations/editconfig/DropTargetConfig.java b/core/src/main/java/com/exadel/aem/toolkit/api/annotations/editconfig/DropTargetConfig.java
index 899dbe255..db3317ec7 100644
--- a/core/src/main/java/com/exadel/aem/toolkit/api/annotations/editconfig/DropTargetConfig.java
+++ b/core/src/main/java/com/exadel/aem/toolkit/api/annotations/editconfig/DropTargetConfig.java
@@ -18,6 +18,8 @@
import java.lang.annotation.Target;
import com.exadel.aem.toolkit.api.annotations.meta.AnnotationRendering;
+import com.exadel.aem.toolkit.api.annotations.meta.ValueRestriction;
+import com.exadel.aem.toolkit.api.annotations.meta.ValueRestrictions;
/**
* Defines a target for a drag-and-drop operation in Granite UI. Upon processing this annotation, a {@code
@@ -46,11 +48,13 @@
* Maps to the {@code propertyName} attribute of {@code cq:editConfig/cq:dropTargets/} node
* @return Non-blank string
*/
+ @ValueRestriction(ValueRestrictions.NOT_BLANK)
String propertyName();
/**
* Used to specify tag name of the current {@code cq:editConfig/cq:dropTargets} subnode
* @return Non-blank string
*/
+ @ValueRestriction(ValueRestrictions.NOT_BLANK)
String nodeName();
}
diff --git a/docs/content/getting-started/installation.md b/docs/content/getting-started/installation.md
index 9d82cf39d..93fd92c1e 100644
--- a/docs/content/getting-started/installation.md
+++ b/docs/content/getting-started/installation.md
@@ -11,7 +11,7 @@ seoTitle: Installation - Exadel Authoring Kit
com.exadel.etoolbox
etoolbox-authoring-kit-core
- 2.5.0
+ 2.5.1
provided
```
@@ -21,7 +21,7 @@ seoTitle: Installation - Exadel Authoring Kit
com.exadel.etoolbox
etoolbox-authoring-kit-plugin
- 2.5.0
+ 2.5.1
@@ -32,7 +32,7 @@ seoTitle: Installation - Exadel Authoring Kit
jcr_root/apps/acme/components
-
+
com.acme.project.components.*
ALL
@@ -79,7 +79,7 @@ You need to do two steps.
com.exadel.etoolbox
etoolbox-authoring-kit-all
- 2.5.0
+ 2.5.1
content-package
```
diff --git a/docs/website/package-lock.json b/docs/website/package-lock.json
index 2fe18898c..39d2586ca 100644
--- a/docs/website/package-lock.json
+++ b/docs/website/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "eak-website",
- "version": "2.5.0",
+ "version": "2.5.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "eak-website",
- "version": "2.5.0",
+ "version": "2.5.1",
"license": "ISC",
"dependencies": {
"@exadel/esl": "^4.9.4",
diff --git a/it.tests/pom.xml b/it.tests/pom.xml
index a5c907a05..e43d155a1 100644
--- a/it.tests/pom.xml
+++ b/it.tests/pom.xml
@@ -20,7 +20,7 @@
com.exadel.etoolbox
etoolbox-authoring-kit
- 2.5.0
+ 2.5.1
etoolbox-authoring-kit-it.tests
diff --git a/plugin/pom.xml b/plugin/pom.xml
index cad8a2fa8..9a5a48c15 100644
--- a/plugin/pom.xml
+++ b/plugin/pom.xml
@@ -7,7 +7,7 @@
com.exadel.etoolbox
etoolbox-authoring-kit
- 2.5.0
+ 2.5.1
etoolbox-authoring-kit-plugin
diff --git a/plugin/src/main/java/com/exadel/aem/toolkit/plugin/handlers/editconfig/DropTargetsHandler.java b/plugin/src/main/java/com/exadel/aem/toolkit/plugin/handlers/editconfig/DropTargetsHandler.java
index 671238fb5..422ab1209 100644
--- a/plugin/src/main/java/com/exadel/aem/toolkit/plugin/handlers/editconfig/DropTargetsHandler.java
+++ b/plugin/src/main/java/com/exadel/aem/toolkit/plugin/handlers/editconfig/DropTargetsHandler.java
@@ -17,10 +17,14 @@
import java.util.function.BiConsumer;
import java.util.stream.Collectors;
+import org.apache.commons.lang3.StringUtils;
+
import com.exadel.aem.toolkit.api.annotations.editconfig.DropTargetConfig;
import com.exadel.aem.toolkit.api.annotations.editconfig.EditConfig;
import com.exadel.aem.toolkit.api.handlers.Source;
import com.exadel.aem.toolkit.api.handlers.Target;
+import com.exadel.aem.toolkit.plugin.exceptions.ValidationException;
+import com.exadel.aem.toolkit.plugin.maven.PluginRuntime;
import com.exadel.aem.toolkit.plugin.metadata.RenderingFilter;
import com.exadel.aem.toolkit.plugin.utils.DialogConstants;
@@ -31,6 +35,8 @@
*/
public class DropTargetsHandler implements BiConsumer