You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2021/11/04 14:13:20 UTC

[jackrabbit-filevault] 01/01: JCR-4732 use new Apache short URL for JCR javadoc and spec

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/new-url-for-jcr
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git

commit cdd4df2021f6bda17dbf3aa8f73c30364bbc25de
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Nov 4 15:13:06 2021 +0100

    JCR-4732 use new Apache short URL for JCR javadoc and spec
---
 pom.xml                                 |  2 +-
 src/site/markdown/docview.md            | 10 +++++-----
 src/site/markdown/nodetypes.md          |  2 +-
 src/site/markdown/privileges.md         |  2 +-
 src/site/markdown/referenceablenodes.md |  6 +++---
 src/site/markdown/validation.md         |  2 +-
 src/site/markdown/vaultfs.md            |  4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/pom.xml b/pom.xml
index d5870f9..6b66e6d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,7 +86,7 @@
                         <detectLinks>true</detectLinks>
                         <detectJavaApiLink>true</detectJavaApiLink>
                         <links>
-                            <link>https://docs.adobe.com/content/docs/en/spec/javax.jcr/javadocs/jcr-2.0/</link>
+                            <link>https://s.apache.org/jcr-2.0-javadoc/</link>
                             <link>https://jackrabbit.apache.org/api/2.20/</link>
                             <link>https://www.javadoc.io/doc/org.apache.jackrabbit/oak-jackrabbit-api/1.40.0/</link>
                         </links>
diff --git a/src/site/markdown/docview.md b/src/site/markdown/docview.md
index 5e9e851..b4b116e 100644
--- a/src/site/markdown/docview.md
+++ b/src/site/markdown/docview.md
@@ -74,8 +74,8 @@ property-value := [ "{" property-type "}" ] ( value | "[" [ value { "," value }
 ```
 
 If no type is specified, it defaults to [STRING][pt-string].
-As types all arguments accepted by [PropertyType.valueFromName(String)](https://docs.adobe.com/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/PropertyType.html#valueFromName(java.lang.String)) are valid.
-This is all strings defined by the constants whose names start with `TYPENAME_` in [PropertyType](https://docs.adobe.com/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/PropertyType.html) and `BinaryRef` for binary reference values (see below).
+As types all arguments accepted by [PropertyType.valueFromName(String)](https://s.apache.org/jcr-2.0-javadoc/javax/jcr/PropertyType.html#valueFromName(java.lang.String)) are valid.
+This is all strings defined by the constants whose names start with `TYPENAME_` in [PropertyType](https://s.apache.org/jcr-2.0-javadoc/javax/jcr/PropertyType.html) and `BinaryRef` for binary reference values (see below).
 
 Multi-value properties contain the values as comma-separated list enclosed by `[` and `]`. The special value `\0` must be used to for a singleton multi-value property containing only the empty string.
 
@@ -113,7 +113,7 @@ Please note, that this escaping only concerns the raw attribute value. If the va
 characters that cannot be used in XML attributes, like quotes `"`, the according [XML entities](https://www.w3.org/TR/xml/#dt-escape) need to be used.
 
 
-[jcr-docview]: https://docs.adobe.com/content/docs/en/spec/jcr/2.0/7_Export.html#7.3%20Document%20View
-[import-docview]: https://docs.adobe.com/content/docs/en/spec/jcr/2.0/11_Import.html#11.1%20Importing%20Document%20View
-[pt-string]: https://docs.adobe.com/docs/en/spec/jsr170/javadocs/jcr-2.0/javax/jcr/PropertyType.html#STRING
+[jcr-docview]: https://s.apache.org/jcr-2.0-spec/7_Export.html#7.3%20Document%20View
+[import-docview]: https://s.apache.org/jcr-2.0-spec/11_Import.html#11.1%20Importing%20Document%20View
+[pt-string]: https://s.apache.org/jcr-2.0-javadoc/javax/jcr/PropertyType.html#STRING
 [ref-binary]: https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/api/ReferenceBinary.html
\ No newline at end of file
diff --git a/src/site/markdown/nodetypes.md b/src/site/markdown/nodetypes.md
index 696d815..c7b6634 100644
--- a/src/site/markdown/nodetypes.md
+++ b/src/site/markdown/nodetypes.md
@@ -18,5 +18,5 @@
 Node Types and Namespaces
 ===========
 
-Packages can register custom [JCR node types](https://docs.adobe.com/docs/en/spec/jcr/2.0/8_Node_Type_Discovery.html) and [Namespaces](https://docs.adobe.com/content/docs/en/spec/jcr/2.0/3_Repository_Model.html#3.2.1%20Namespaces) during import by carrying arbitrarily many `.cnd` files. All files names matching the regular expression pattern set in [package property](properties.html) `cndPattern` as well as all `*.cnd` files below `META-INF/vault` are considered. Details around the CND f [...]
+Packages can register custom [JCR node types](https://s.apache.org/jcr-2.0-spec/8_Node_Type_Discovery.html) and [Namespaces](https://s.apache.org/jcr-2.0-spec/3_Repository_Model.html#3.2.1%20Namespaces) during import by carrying arbitrarily many `.cnd` files. All files names matching the regular expression pattern set in [package property](properties.html) `cndPattern` as well as all `*.cnd` files below `META-INF/vault` are considered. Details around the CND file format can be found at < [...]
 Node types and namespaces whose qualified name/uri are already registered are not touched. This also means that existing namespaces and node types are never modified but only once initially installed in case they are not yet there.
diff --git a/src/site/markdown/privileges.md b/src/site/markdown/privileges.md
index c2fbbf1..c31f979 100644
--- a/src/site/markdown/privileges.md
+++ b/src/site/markdown/privileges.md
@@ -18,7 +18,7 @@
 Privileges
 ===========
 
-Packages can register custom [JCR privileges](https://docs.adobe.com/docs/en/spec/jcr/2.0/16_Access_Control_Management.html#16.2%20Privilege%20Discovery) during import by carrying a `META-INF/vault/privileges.xml` file. 
+Packages can register custom [JCR privileges](https://s.apache.org/jcr-2.0-spec/16_Access_Control_Management.html#16.2%20Privilege%20Discovery) during import by carrying a `META-INF/vault/privileges.xml` file. 
 
 ```xml
 <!DOCTYPE privileges [
diff --git a/src/site/markdown/referenceablenodes.md b/src/site/markdown/referenceablenodes.md
index a03ca44..0fe1a25 100644
--- a/src/site/markdown/referenceablenodes.md
+++ b/src/site/markdown/referenceablenodes.md
@@ -36,8 +36,8 @@ Since version 3.5.2 ([JCRVLT-551](https://issues.apache.org/jira/browse/JCRVLT-5
 
 The import behavior of packages with conflicting ids can be tweaked with `ImportOptions.setIdConflictPolicy(...)`. For further details refer to its [javadoc][3]. The old behavior can be achieved with `IdConflictPolicy.FORCE_REMOVE_CONFLICTING_ID`.
 
-[1]: https://docs.adobe.com/content/docs/en/spec/jcr/2.0/3_Repository_Model.html#3.8%20Referenceable%20Nodes
-[2]: https://docs.adobe.com/content/docs/en/spec/jcr/2.0/3_Repository_Model.html#3.8.2%20Referential%20Integrity
+[1]: https://s.apache.org/jcr-2.0-spec/3_Repository_Model.html#3.8%20Referenceable%20Nodes
+[2]: https://s.apache.org/jcr-2.0-spec/3_Repository_Model.html#3.8.2%20Referential%20Integrity
 [3]: apidocs/org/apache/jackrabbit/vault/fs/api/IdConflictPolicy.html
 [4]: filter.html
-[5]: https://docs.adobe.com/content/docs/en/spec/jcr/2.0/11_Import.html#11.8.2%20Remove%20Existing%20Node
\ No newline at end of file
+[5]: https://s.apache.org/jcr-2.0-spec/11_Import.html#11.8.2%20Remove%20Existing%20Node
\ No newline at end of file
diff --git a/src/site/markdown/validation.md b/src/site/markdown/validation.md
index e522702..d2f7a49 100644
--- a/src/site/markdown/validation.md
+++ b/src/site/markdown/validation.md
@@ -59,7 +59,7 @@ ID  |  Description | Options | Incremental Execution Limitations
 `jackrabbit-mergelimitations` | Checks for the limitation of import mode=merge outlined at [JCRVLT-255][jcrvlt-255]. | none | none
 `jackrabbit-oakindex` |  Checks if the package (potentially) modifies/creates an OakIndexDefinition. This is done by evaluating both the filter.xml for potential matches as well as the actual content for nodes with jcr:primaryType  `oak:indexDefinition`. | none | none
 `jackrabbit-packagetype` | Checks if the package type is correctly set for this package, i.e. is compliant with all rules outlined at [Package Types](packagetypes.html). | *jcrInstallerNodePathRegex*:  the regular expression which all JCR paths of OSGi bundles and configurations within packages must match (default=`/([^/]*/){0,4}?(install|config)[\./].*`). This should match the paths being picked up by [JCR Installer](https://sling.apache.org/documentation/bundles/jcr-installer-provider. [...]
-`jackrabbit-nodetypes` | Checks if all non empty elements within [DocView files](docview.html) have the mandatory property `jcr:primaryType` set and follow the [node type definition of their given type](https://jackrabbit.apache.org/jcr/node-types.html). | *cnds*: A URI pointing to one or multiple [CNDs](https://jackrabbit.apache.org/jcr/node-type-notation.html) (separated by `,`) which define the additional namespaces and nodetypes used apart from the [default ones defined in JCR 2.0](h [...]
+`jackrabbit-nodetypes` | Checks if all non empty elements within [DocView files](docview.html) have the mandatory property `jcr:primaryType` set and follow the [node type definition of their given type](https://jackrabbit.apache.org/jcr/node-types.html). | *cnds*: A URI pointing to one or multiple [CNDs](https://jackrabbit.apache.org/jcr/node-type-notation.html) (separated by `,`) which define the additional namespaces and nodetypes used apart from the [default ones defined in JCR 2.0](h [...]
 `jackrabbit-accesscontrol` | Checks that [access control list nodes (primary type `rep:ACL`, `rep:CugPolicy` and `rep:PrincipalPolicy`)](https://jackrabbit.apache.org/oak/docs/security/accesscontrol/default.html#Representation_in_the_Repository) are only used when the [package property's](./properties.html) `acHandling` is set to something but `ignore` or `clear` and also that there is at least one access control list node otherwise | none | Validation message in case no access control l [...]
 
 ### Custom Validators
diff --git a/src/site/markdown/vaultfs.md b/src/site/markdown/vaultfs.md
index c655a2b..ef16e51 100644
--- a/src/site/markdown/vaultfs.md
+++ b/src/site/markdown/vaultfs.md
@@ -331,5 +331,5 @@ Terminology
   type: **primary**, **file**, **binary** or **directory**
 
 [enhanceddocview]: docview.html
-[docview]: https://docs.adobe.com/content/docs/en/spec/jcr/2.0/7_Export.html#7.3%20Document%20View
-[sysview]: https://docs.adobe.com/content/docs/en/spec/jcr/2.0/7_Export.html#7.2%20System%20View
\ No newline at end of file
+[docview]: https://s.apache.org/jcr-2.0-spec/7_Export.html#7.3%20Document%20View
+[sysview]: https://s.apache.org/jcr-2.0-spec/7_Export.html#7.2%20System%20View
\ No newline at end of file