You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<description>Maven plugin to generate classification maps from existing AEM instances (https://docs.adobe.com/content/help/en/experience-manager-65/deploying/upgrading/sustainable-upgrades.html).</description>
6
7
<packaging>maven-plugin</packaging>
@@ -25,6 +26,7 @@
25
26
26
27
<properties>
27
28
<maven.compiler.release>11</maven.compiler.release> <!-- used for compiler and javadoc plugin -->
29
+
<maven.version>3.9.8</maven.version><!-- due to https://issues.apache.org/jira/browse/MNG-8136 and https://github.com/eclipse-sisu/sisu.plexus/issues/21-->
28
30
</properties>
29
31
30
32
<build>
@@ -38,31 +40,6 @@
38
40
<scmBranch>gh-pages</scmBranch>
39
41
</configuration>
40
42
</plugin>
41
-
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
Copy file name to clipboardExpand all lines: aem-classification-maven-plugin/src/main/java/biz/netcentric/filevault/validator/aem/classification/mojo/DownloadContentClassificationMojo.java
* Downloads the classification data from a remote JCR repository (only works with AEM 6.4 or newer),
53
+
* Downloads the classification data from a remote JCR (only works with AEM 6.4 or newer) via HTTP endpoints,
56
54
* serializes it into a map file and optionally wraps that within a JAR file.
57
55
* <p>
58
-
* That JAR file still needs to be manually uploaded to a Maven repository to leverage this classification map from the plugin.
56
+
* That JAR file still needs to be manually uploaded to a Maven repository to leverage this classification map from the aem-classification-validator.
59
57
* <p>
60
-
* Uses the JCR search to find the current classification and also deprecation infos from properties "cq:deprecated" and "cq:deprecatedReason"
61
-
* The search index needs to be setup for that though (property index limited to properties jcr:primaryType and jcr:mixinTypes for node types granite:FinalArea, granite:PublicArea, granite:InternalArea, granite:AbstractArea and another property index for properties cq:deprecated for any node type)
58
+
* Uses the JCR search to find the current classification and also deprecation infos from properties {@code cq:deprecated} and {@code cq:deprecatedReason}.
62
59
*/
63
60
@Mojo(requiresProject=false, name = "download-content-classification")
/** The path of the classification map file (and potentially wrapper jar) without extension. If not set it is written to the default temporary directory of the file system with a random file name. */
Copy file name to clipboardExpand all lines: aem-classification-maven-plugin/src/site/markdown/index.md.vm
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,13 @@ Prepare AEM Server
10
10
----------
11
11
The AEM instance needs to have several [query indices][3] in place for this plugin to work:
12
12
13
-
1. property index limited to properties jcr:primaryType and jcr:mixinTypes for node types granite:FinalArea, granite:PublicArea, granite:InternalArea and granite:AbstractArea
14
-
1. property index for properties cq:deprecated for any node type)
13
+
1. property index limited to properties `jcr:primaryType` and `jcr:mixinTypes`for node types
14
+
- `granite:FinalArea`,
15
+
- `granite:PublicArea`,
16
+
- `granite:InternalArea` and
17
+
- `granite:AbstractArea`
18
+
and
19
+
1. property index for properties `cq:deprecated` and `cq:deprecatedReason` for any node type
15
20
16
21
There is a package containing the relevant indices called [aem-classification-search-index-package][4].
17
22
@@ -21,7 +26,7 @@ Usage
21
26
The only goal can be used without a Maven project like this
0 commit comments