You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by kw...@apache.org on 2021/06/23 09:31:57 UTC

[jackrabbit-oak] branch trunk updated: OAK-9440 update pom.xml for migrated SCM repositories to GitBox/GitHub (#296)

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

kwin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new d12fa36  OAK-9440 update pom.xml for migrated SCM repositories to GitBox/GitHub (#296)
d12fa36 is described below

commit d12fa36dcf48fae53e25c4afda8cecf0b7629791
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Jun 23 11:31:51 2021 +0200

    OAK-9440 update pom.xml for migrated SCM repositories to GitBox/GitHub (#296)
    
    update documentation
    add .asf.yaml to adjust Github metadata
---
 .asf.yaml                                          |  10 ++
 oak-doc/src/site/markdown/branching.md             |   4 +-
 oak-doc/src/site/markdown/dev_getting_started.md   |   6 +-
 oak-doc/src/site/markdown/developing-with-git.md   | 118 +--------------------
 oak-doc/src/site/markdown/diagnostic-builds.md     |  60 ++++-------
 oak-doc/src/site/markdown/downloads.md             |   3 +-
 oak-doc/src/site/markdown/participating.md         |   2 +-
 oak-doc/src/site/markdown/query/solr.md            |   2 +-
 oak-doc/src/site/markdown/roadmap.md               |  14 +--
 .../authentication/external/defaultusersync.md     |   2 +-
 .../security/authentication/identitymanagement.md  |   2 +-
 .../markdown/security/authorization/composite.md   |   8 +-
 .../markdown/security/authorization/restriction.md |   4 +-
 .../markdown/security/permission/differences.md    |   4 +-
 .../security/principal/principalprovider.md        |   6 +-
 pom.xml                                            |   7 +-
 16 files changed, 68 insertions(+), 184 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..f62d0e5
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,10 @@
+# https://cwiki.apache.org/confluence/x/7guYBw
+github:
+  description: "Apache Jackrabbit Oak"
+  homepage: "https://jackrabbit.apache.org/oak/"
+  labels:
+    - java
+    - jackrabbit
+    - jcr
+    - repository
+    - database
\ No newline at end of file
diff --git a/oak-doc/src/site/markdown/branching.md b/oak-doc/src/site/markdown/branching.md
index 564b2ec..0c09807 100644
--- a/oak-doc/src/site/markdown/branching.md
+++ b/oak-doc/src/site/markdown/branching.md
@@ -40,10 +40,10 @@ Check that the following files contains the right versions
     
 ## 2. Revert the local changes
 
-You'll have a bunch of files locally that are not committed to svn.
+You'll have a bunch of files locally that are not committed to Git.
 Just to have a clean situation clean up everything
 
-    $ svn st | grep '^?' | awk '{print $2}' | xargs rm
+    $ git clean -f
     
 ## 3. Actual branching
 
diff --git a/oak-doc/src/site/markdown/dev_getting_started.md b/oak-doc/src/site/markdown/dev_getting_started.md
index 2375216..9e341e8 100644
--- a/oak-doc/src/site/markdown/dev_getting_started.md
+++ b/oak-doc/src/site/markdown/dev_getting_started.md
@@ -26,8 +26,8 @@ to start learning about Oak.
 There is also the [Jackrabbit 3 wiki page](https://jackrabbit.apache.org/archive/wiki/JCR/Jackrabbit-3_115513423.html), which
 is mostly outdated though and should only be consulted for historical research.
 
-To get started developing Oak, checkout the sources from [svn](https://svn.apache.org/repos/asf/jackrabbit/oak/trunk), 
-or [fork them](https://github.com/apache/jackrabbit-oak) on GitHub. Then build the latest sources with Maven 3 and 
+To get started developing Oak, clone the [Git repository](https://github.com/apache/jackrabbit-oak), 
+or fork it on [GitHub](https://github.com/apache/jackrabbit-oak). Then build the latest sources with Maven 3 and 
 Java 8 (or higher) like this:
 
     mvn clean install
@@ -40,6 +40,8 @@ Before committing changes or submitting a patch, please make sure that the above
 build passes without errors. If you like, you can enable integration tests by default by setting the
 `OAK_INTEGRATION_TESTING` environment variable.
 
+Please also refer to the documentation [Developing with Git](./developing-with-git.html)
+
 MongoDB integration
 -------------------
 
diff --git a/oak-doc/src/site/markdown/developing-with-git.md b/oak-doc/src/site/markdown/developing-with-git.md
index 54c4761..eff660e 100644
--- a/oak-doc/src/site/markdown/developing-with-git.md
+++ b/oak-doc/src/site/markdown/developing-with-git.md
@@ -17,119 +17,9 @@
 
 # Developing with Git
 
-Oak codebase is backed by SVN, not git. The github location is a
-mirror that could lag hours behind.
+The Oak code base is backed by Git. It has its remote repository both at [ASF Gitbox](https://gitbox.apache.org/repos/asf/jackrabbit-oak.git) and [GitHub](https://github.com/apache/jackrabbit-oak).
 
-Following an example on how to start on a feature named:
-FEATURE. Where you'll work and commit against your fork on github and
-eventually produce a patch to be attached to the jira issue or commit
-it straight to svn (assuming you have rights).
+For *committers* [write access to GitBox](https://infra.apache.org/git-primer.html) requires the Apache LDAP credentials via HTTPS Basic Authentication. For write access to GitHub you need to link your accounts once via the [GitBox Account Linking Utility](https://gitbox.apache.org/setup/).
+For GitHub it is recommended to work with [SSH](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh) instead of HTTPS authentication.
 
-## Initialising the local environment
-
-First of all you need to [fork the github repo](http://github.com/apache/jackrabbit-oak).
-
-    # clone your fork (as origin) into ./jackrabbit-oak
-    git clone https://github.com/YOUR_USER/jackrabbit-oak.git
-
-    cd jackrabbit-oak
-
-    # Adding the oak GH repo as upstream
-    git remote add upstream https://github.com/apache/jackrabbit-oak.git
-
-    # take the upstream trunk
-    git fetch upstream
-    git checkout -b upstream-trunk upstream/trunk
-
-    # take the latest Apache's authors file for git svn
-    curl https://git-wip-us.apache.org/authors.txt -o .git/authors.txt
-    git config svn.authorsfile .git/authors.txt
-
-    # init git svn 
-    git svn init --prefix=upstream/ --tags=tags --trunk=trunk \
-        --branches=branches \
-        https://svn.apache.org/repos/asf/jackrabbit/oak
-        
-## Creating a new feature branch
-
-Now it's possible to start working on a feature branch like this
-
-    # Ensure you're in upstream-trunk
-    git checkout upstream-trunk
-
-    # align with svn
-    git svn rebase
-
-    # create a new feature branch
-    git checkout -b FEATURE
-
-    # push it to your fork
-    git push --set-upstream origin FEATURE
-
-## Work on the feature branch
-
-Now the work can be carried out easily on the feature branch by
-keeping it regularly aligned with svn and pushing it to the fork
-
-    # Merge the latest trunk from svn
-    git checkout upstream-trunk
-    git svn rebase
-    git checkout FEATURE
-    git merge upstream-trunk
-
-    # your normal work and commits in FEATURE
-
-    # sending the commits to github
-    git push
-    
-## Producing a patch against trunk
-
-Now the work is completed and you want to attach a patch to the jira
-issue for commit and/or review
-
-    git checkout upstream-trunk
-    git svn rebase
-    git checkout FEATURE
-    git merge upstream-trunk
-
-    # solve any conflicts
-
-    git push
-
-    # producing the patch file
-    git diff -w -p upstream-trunk > ~/FEATURE.patch
-
-
-## Committing to svn
-
-As for the patch, the work is complete and you want to commmit to svn
-(assuming you have rights)
-
-    # getting the latest svn
-    git checkout upstream-trunk
-    git svn rebase
-    git checkout FEATURE
-    git merge upstream-trunk
-    git push
-
-    # taking all the branch commit into upstream as one big commit
-    git checkout upstream-trunk
-    git merge --squash --no-commit FEATURE
-
-    # committing all the changes as git
-    git commit -a
-
-    # committing all the changes to svn
-    git svn dcommit --username=goofy --no-rebase
-
-    # --username is needed only the first commit or if differs from
-    #   the currently logged in
-    # --no-rebase is useful if you're EU based as the apache svn EU
-    #   mirror lag behind some seconds.
-    #
-    # if in EU wait 10 seconds and give a `git svn rebase` to properly
-    #   align your upstream later on.
-    
-## References
-
-- https://wiki.apache.org/general/GitAtApache
+For *non-committers* it is recommended to use in your own forked GitHub repository and create PR from branches there. Further details in <https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork>
\ No newline at end of file
diff --git a/oak-doc/src/site/markdown/diagnostic-builds.md b/oak-doc/src/site/markdown/diagnostic-builds.md
index f209c56..f9e8c53 100644
--- a/oak-doc/src/site/markdown/diagnostic-builds.md
+++ b/oak-doc/src/site/markdown/diagnostic-builds.md
@@ -35,28 +35,19 @@ version of `<version>1.16-SNAPSHOT</version>`.
 
 ### What version shall I use?
 
-Open the svn directory where trunk is and issue a
+Open the Git working directory where trunk is and issue a
 
-    $ svn up
-    $ svn info
+    $ git pull
+    $ git rev-parse --short HEAD
 
 you will see something like
 
-    Working Copy Root Path: /apache/oak-svn-1.0
-    URL: https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.0
-    Repository Root: https://svn.apache.org/repos/asf
-    Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
-    Revision: 1708581
-    Node Kind: directory
-    Schedule: normal
-    Last Changed Author: chetanm
-    Last Changed Rev: 1708547
-    Last Changed Date: 2015-10-14 06:56:40 +0100 (Wed, 14 Oct 2015)
+    9c7d7bf569
 
-what you're interested is the revision number. In our case: `1708581`.
+which is the short Git hash of the most recent commit.
 
 This means you'll produce a bundle with a version of
-`1.15-R2708581`.
+`1.15-R9c7d7bf569`.
 
 **Note that the produced version is lower then the official release
   you're working on. 1.15 vs 1.16.0**
@@ -80,28 +71,19 @@ version of `<version>1.0.23-SNAPSHOT</version>`.
 
 ### What version shall I use?
 
-Open the svn directory where the 1.0 branch is and issue a
+Open the Git working directory where the relevant branch (in the example 1.0) is and issue a
 
-    $ svn up
-    $ svn info
+    $ git pull
+    $ git rev-parse --short HEAD
 
 you will see something like
 
-    Working Copy Root Path: /apache/oak-svn-1.0
-    URL: https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.0
-    Repository Root: https://svn.apache.org/repos/asf
-    Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
-    Revision: 1708581
-    Node Kind: directory
-    Schedule: normal
-    Last Changed Author: chetanm
-    Last Changed Rev: 1708547
-    Last Changed Date: 2015-10-14 06:56:40 +0100 (Wed, 14 Oct 2015)
+        9c7d7bf569
 
-what you're interested is the revision number. In our case: `1708581`.
+which is the short Git hash of the most recent commit in that branch.
 
 This means you'll produce a bundle with a version of
-`1.0.22-R2708581`.
+`1.0.22-R9c7d7bf569`.
 
 **Note that the produced version is lower then the official release
   you're working on. 1.0.22 vs 1.0.23**
@@ -121,18 +103,18 @@ fix is going to be released.
 
 ### Changing the version in all the poms.
 
-Now. From our examples above you either want to produce `1.0.22-R2708581` 
-or `1.15-R2708581`. For sake of simplicty we'll detail only the `1.0.22-R2708581` 
-case. For `1.15-R2708581` you simply have to change the version.
+Now. From our examples above you either want to produce `1.0.22-R9c7d7bf569`` 
+or `1.15-R9c7d7bf569`. For sake of simplicity we'll detail only the `1.0.22-R9c7d7bf569` 
+case. For `1.15-R9c7d7bf569` you simply have to change the version.
 
 Go into `oak-parent` and issue the following maven command.
 
-    oak-parent$ mvn versions:set -DnewVersion=1.0.22-R2708581
+    oak-parent$ mvn versions:set -DnewVersion=1.0.22-R9c7d7bf569
 
 you may encounter the following exception. Simply ignore it. Nothing
 went wrong.
 
-    java.io.FileNotFoundException: /oak-svn-1.0/oak-parent/oak-parent (No such file or directory)
+    java.io.FileNotFoundException: .../oak-parent/oak-parent (No such file or directory)
 
 ### Building the release
 
@@ -141,13 +123,13 @@ Now you can build the release as usual
     jackrabbit-oak$ mvn clean install
 
 and you'll have a full oak build with the version
-`1.0.22-R2708581`. Go into `oak-core/target` and take the produced
+`1.0.22-R9c7d7bf569`. Go into `oak-core/target` and take the produced
 jar.
 
-### Re-setting the svn branch
+### Re-setting the working directory
 
-You don't want to commit the changes back to svn so we reset the
-branch as the original state
+You don't want to commit the changes in Git just reset the
+branch to the original state
 
     jackrabbit-oak$ mvn versions:revert
 
diff --git a/oak-doc/src/site/markdown/downloads.md b/oak-doc/src/site/markdown/downloads.md
index 3acb75b..0c805b3 100644
--- a/oak-doc/src/site/markdown/downloads.md
+++ b/oak-doc/src/site/markdown/downloads.md
@@ -17,8 +17,7 @@
 
 Downloads
 =========
-The latest Oak sources are available for checkout from [svn](https://svn.apache.org/repos/asf/jackrabbit/oak/trunk),
-or you can [clone or fork them](https://github.com/apache/jackrabbit-oak) on GitHub.
+The latest Oak sources are available for cloning from [GitHub](https://github.com/apache/jackrabbit-oak).
 
 See the Jackrabbit [Downloads](http://jackrabbit.apache.org/downloads.html)
 page for stable releases.
\ No newline at end of file
diff --git a/oak-doc/src/site/markdown/participating.md b/oak-doc/src/site/markdown/participating.md
index 7b69fe1..eb85469 100644
--- a/oak-doc/src/site/markdown/participating.md
+++ b/oak-doc/src/site/markdown/participating.md
@@ -43,4 +43,4 @@ RTC or CTR is up to the committer.
  
 [1]: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk
 [2]: https://github.com/apache/jackrabbit-oak
-[3]: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/
\ No newline at end of file
+[3]: https://github.com/apache/jackrabbit-oak/tree/trunk/
\ No newline at end of file
diff --git a/oak-doc/src/site/markdown/query/solr.md b/oak-doc/src/site/markdown/query/solr.md
index 24d24fc..d828d5c 100644
--- a/oak-doc/src/site/markdown/query/solr.md
+++ b/oak-doc/src/site/markdown/query/solr.md
@@ -231,7 +231,7 @@ Configuring a single remote Solr instance consists of providing the URL to conne
 (https://wiki.apache.org/solr/SolrTerminology) that will host the Solr index for the Oak repository via the _solr.http.url_
  property which will have to contain such a URL (e.g. _http://10.10.1.101:8983/solr/oak_). 
 All the configuration and tuning of Solr, other than what's described on this page, will have to be performed on the 
-Solr side; [sample Solr configuration](http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-solr-core/src/main/resources/solr/) 
+Solr side; [sample Solr configuration](https://github.com/apache/jackrabbit-oak/tree/trunk/oak-solr-core/src/main/resources/solr/) 
 files (schema.xml, solrconfig.xml, etc.) to start with can be found in _oak-solr-core_ artifact.
 
 ###### SolrCloud cluster
diff --git a/oak-doc/src/site/markdown/roadmap.md b/oak-doc/src/site/markdown/roadmap.md
index f39ebc7..4e58611 100755
--- a/oak-doc/src/site/markdown/roadmap.md
+++ b/oak-doc/src/site/markdown/roadmap.md
@@ -30,10 +30,10 @@ Maintenance branches
 --------------------
 We currently support the following maintenance branches:
 
-* [Oak 1.22](https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.22/) ([download](https://jackrabbit.apache.org/jcr/downloads.html#oak1.22)) - from Java 8 up to Java 13
-* [Oak 1.8](https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.8/) ([download](https://jackrabbit.apache.org/jcr/downloads.html#oak1.8)) - from Java 8 up to Java 13
-* [Oak 1.6](https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.6/) ([download](https://jackrabbit.apache.org/jcr/downloads.html#oak1.6)) - recommended version for Java 7 (Java 8 and later since 1.6.21) - "end of life" planned for Spring 2022
-* [Oak 1.4](https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.4/) ([download](https://jackrabbit.apache.org/jcr/downloads.html#oak1.4)) - recommended version for Java 7 (Java 8 and later since 1.4.27) - "end of life" planned for Spring 2021
+* [Oak 1.22](https://github.com/apache/jackrabbit-oak/tree/1.22/) ([download](https://jackrabbit.apache.org/jcr/downloads.html#oak1.22)) - from Java 8 up to Java 13
+* [Oak 1.8](https://github.com/apache/jackrabbit-oak/tree/1.8/) ([download](https://jackrabbit.apache.org/jcr/downloads.html#oak1.8)) - from Java 8 up to Java 13
+* [Oak 1.6](https://github.com/apache/jackrabbit-oak/tree/1.6/) ([download](https://jackrabbit.apache.org/jcr/downloads.html#oak1.6)) - recommended version for Java 7 (Java 8 and later since 1.6.21) - "end of life" planned for Spring 2022
+* [Oak 1.4](https://github.com/apache/jackrabbit-oak/tree/1.4/) ([download](https://jackrabbit.apache.org/jcr/downloads.html#oak1.4)) - recommended version for Java 7 (Java 8 and later since 1.4.27) - "end of life" planned for Spring 2021
 
 Users of 1.4 and 1.6 should consider upgrading to the newest stable branch applicable for the Java version in use.
 
@@ -41,6 +41,6 @@ End of life
 -----------
 The following branches have reached "end of life":
 
-* [Oak 1.10](https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.10/)
-* [Oak 1.2](https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.2/)
-* [Oak 1.0](https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.0/)
+* [Oak 1.10](https://github.com/apache/jackrabbit-oak/tree/1.10/)
+* [Oak 1.2](https://github.com/apache/jackrabbit-oak/tree/1.2/)
+* [Oak 1.0](https://github.com/apache/jackrabbit-oak/tree/1.0/)
diff --git a/oak-doc/src/site/markdown/security/authentication/external/defaultusersync.md b/oak-doc/src/site/markdown/security/authentication/external/defaultusersync.md
index 5ef45b0..809a520 100644
--- a/oak-doc/src/site/markdown/security/authentication/external/defaultusersync.md
+++ b/oak-doc/src/site/markdown/security/authentication/external/defaultusersync.md
@@ -195,7 +195,7 @@ The `ExternalPrincipalConfiguration` defines the following configuration options
 [DefaultSyncedIdentity]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authentication/external/basic/DefaultSyncedIdentity.html
 [DefaultSyncHandler]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/DefaultSyncHandler.html
 [ExternalIdentityRef]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalIdentityRef.html
-[DynamicSyncContext]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/DynamicSyncContext.java
+[DynamicSyncContext]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/DynamicSyncContext.java
 [OAK-4101]: https://issues.apache.org/jira/browse/OAK-4101
 [OAK-2687]: https://issues.apache.org/jira/browse/OAK-2687
 [OAK-4301]: https://issues.apache.org/jira/browse/OAK-4301
\ No newline at end of file
diff --git a/oak-doc/src/site/markdown/security/authentication/identitymanagement.md b/oak-doc/src/site/markdown/security/authentication/identitymanagement.md
index f58cb01..0ceeafe 100644
--- a/oak-doc/src/site/markdown/security/authentication/identitymanagement.md
+++ b/oak-doc/src/site/markdown/security/authentication/identitymanagement.md
@@ -84,6 +84,6 @@ OSGi environment, please make sure it gets properly referenced by the
 [ExternalUser]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalUser.html
 [ExternalGroup]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalGroup.html
 [ExternalIdentityRef]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authentication/external/ExternalIdentityRef.html
-[CustomExternalIdentityProvider]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-exercise/src/main/java/org/apache/jackrabbit/oak/exercise/security/authentication/external/CustomExternalIdentityProvider.java
+[CustomExternalIdentityProvider]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-exercise/src/main/java/org/apache/jackrabbit/oak/exercise/security/authentication/external/CustomExternalIdentityProvider.java
 [PrincipalNameResolver]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authentication/external/PrincipalNameResolver.html
 [OAK-5210]: https://issues.apache.org/jira/browse/OAK-5210
\ No newline at end of file
diff --git a/oak-doc/src/site/markdown/security/authorization/composite.md b/oak-doc/src/site/markdown/security/authorization/composite.md
index 8b88b1d..d738608 100644
--- a/oak-doc/src/site/markdown/security/authorization/composite.md
+++ b/oak-doc/src/site/markdown/security/authorization/composite.md
@@ -198,7 +198,7 @@ might otherwise result in severe security issues and heavily impact overall perf
 [PolicyOwner]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authorization/accesscontrol/PolicyOwner.html
 [AggregatedPermissionProvider]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authorization/permission/AggregatedPermissionProvider.html
 [AggregationFilter]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authorization/permission/AggregationFilter.html
-[CompositeAuthorizationConfiguration]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/composite/CompositeAuthorizationConfiguration.java
-[CompositeAccessControlManager]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/composite/CompositeAccessControlManager.java
-[CompositePermissionProvider]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/composite/CompositePermissionProvider.java
-[ThreeRolesAuthorizationConfiguration]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-exercise/src/main/java/org/apache/jackrabbit/oak/exercise/security/authorization/models/simplifiedroles/ThreeRolesAuthorizationConfiguration.java
\ No newline at end of file
+[CompositeAuthorizationConfiguration]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/composite/CompositeAuthorizationConfiguration.java
+[CompositeAccessControlManager]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/composite/CompositeAccessControlManager.java
+[CompositePermissionProvider]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/composite/CompositePermissionProvider.java
+[ThreeRolesAuthorizationConfiguration]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-exercise/src/main/java/org/apache/jackrabbit/oak/exercise/security/authorization/models/simplifiedroles/ThreeRolesAuthorizationConfiguration.java
\ No newline at end of file
diff --git a/oak-doc/src/site/markdown/security/authorization/restriction.md b/oak-doc/src/site/markdown/security/authorization/restriction.md
index 2f64ee4..d3f459d 100644
--- a/oak-doc/src/site/markdown/security/authorization/restriction.md
+++ b/oak-doc/src/site/markdown/security/authorization/restriction.md
@@ -302,8 +302,8 @@ The time-based `RestrictionPattern` used by the example provider above.
     Repository repo = new Jcr(new Oak()).with(securityProvider).createRepository();
 
 <!-- hidden references -->
-[GlobPattern]: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/restriction/GlobPattern.java?view=markup
-[GlobRestrictionTest]: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-exercise/src/test/java/org/apache/jackrabbit/oak/exercise/security/authorization/accesscontrol/L8_GlobRestrictionTest.java?view=markup
+[GlobPattern]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/restriction/GlobPattern.java?view=markup
+[GlobRestrictionTest]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-exercise/src/test/java/org/apache/jackrabbit/oak/exercise/security/authorization/accesscontrol/L8_GlobRestrictionTest.java?view=markup
 [Restriction]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authorization/restriction/Restriction.html
 [RestrictionDefinition]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authorization/restriction/RestrictionDefinition.html
 [RestrictionPattern]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/authorization/restriction/RestrictionPattern.html
diff --git a/oak-doc/src/site/markdown/security/permission/differences.md b/oak-doc/src/site/markdown/security/permission/differences.md
index c831e9d..752839f 100644
--- a/oak-doc/src/site/markdown/security/permission/differences.md
+++ b/oak-doc/src/site/markdown/security/permission/differences.md
@@ -106,7 +106,7 @@ implementations is no longer supported with Oak. Since there are no permissions
 installed by default this flag has become superfluous.
 
 <!-- hidden references -->
-[Permissions]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/Permissions.java
-[PermissionHook]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionHook.java
+[Permissions]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/permission/Permissions.java
+[PermissionHook]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionHook.java
 [OAK-444]: https://issues.apache.org/jira/browse/OAK-444
 [JCR-2963]: https://issues.apache.org/jira/browse/JCR-2963
\ No newline at end of file
diff --git a/oak-doc/src/site/markdown/security/principal/principalprovider.md b/oak-doc/src/site/markdown/security/principal/principalprovider.md
index a7c24f7..6e8b590 100644
--- a/oak-doc/src/site/markdown/security/principal/principalprovider.md
+++ b/oak-doc/src/site/markdown/security/principal/principalprovider.md
@@ -85,7 +85,7 @@ for additional details.
 Since Oak 1.5.3
 
 <!-- references -->
-[PrincipalProviderImpl]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/principal/PrincipalProviderImpl.java
+[PrincipalProviderImpl]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/principal/PrincipalProviderImpl.java
 [CompositePrincipalProvider]: /oak/docs/apidocs/org/apache/jackrabbit/oak/spi/security/principal/CompositePrincipalProvider.html
-[UserPrincipalProvider]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserPrincipalProvider.java
-[ExternalGroupPrincipalProvider]: http://svn.apache.org/repos/asf/jackrabbit/oak/trunk/oak-auth-external/src/main/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/ExternalGroupPrincipalProvider.java
+[UserPrincipalProvider]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserPrincipalProvider.java
+[ExternalGroupPrincipalProvider]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-auth-external/src/main/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/principal/ExternalGroupPrincipalProvider.java
diff --git a/pom.xml b/pom.xml
index f019514..385f16a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,9 +85,10 @@
   </modules>
 
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/jackrabbit/oak/trunk</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jackrabbit/oak/trunk</developerConnection>
-    <url>http://svn.apache.org/viewvc/jackrabbit/oak/trunk</url>
+    <connection>scm:git:https://gitbox.apache.org/repos/asf/jackrabbit-oak.git</connection>
+    <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/jackrabbit-oak.git</developerConnection>
+    <url>https://github.com/apache/jackrabbit-oak/tree/${project.scm.tag}</url>
+    <tag>HEAD</tag>
   </scm>
 
   <build>