sling-site git commit: basic code highlighting using highlightjs.org

2017-06-29 Thread bdelacretaz
Repository: sling-site
Updated Branches:
  refs/heads/master d1a5b08e7 -> f67993ddc


basic code highlighting using highlightjs.org


Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/f67993dd
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/f67993dd
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/f67993dd

Branch: refs/heads/master
Commit: f67993ddc5accd099ac8b6c8df30493556e3a162
Parents: d1a5b08
Author: Bertrand Delacretaz 
Authored: Thu Jun 29 09:43:40 2017 +0200
Committer: Bertrand Delacretaz 
Committed: Thu Jun 29 09:43:40 2017 +0200

--
 src/main/jbake/templates/header.tpl | 7 +++
 1 file changed, 7 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/sling-site/blob/f67993dd/src/main/jbake/templates/header.tpl
--
diff --git a/src/main/jbake/templates/header.tpl 
b/src/main/jbake/templates/header.tpl
index dc1dec2..4695e8a 100644
--- a/src/main/jbake/templates/header.tpl
+++ b/src/main/jbake/templates/header.tpl
@@ -5,4 +5,11 @@ head {
// For now, try to reproduce the layout of the current website, to be 
able to compare pages
link(rel:"icon", href:"${config.site_contextPath}res/favicon.ico") 
newLine()
link(rel:"stylesheet", 
href:"${config.site_contextPath}res/css/site.css") newLine()
+   
+   // highlightjs.org
+   link(rel:'stylesheet', 
href:'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css')
 newLine()
+   yieldUnescaped ""
+   script {
+   yield 'hljs.initHighlightingOnLoad();'
+   } newLine()
 }
\ No newline at end of file



[1/2] sling-site git commit: basic code highlighting using highlightjs.org

2017-06-29 Thread bdelacretaz
Repository: sling-site
Updated Branches:
  refs/heads/asf-site 1330655a0 -> 37a29a31e


http://git-wip-us.apache.org/repos/asf/sling-site/blob/37a29a31/documentation/development/repository-based-development.html
--
diff --git a/documentation/development/repository-based-development.html 
b/documentation/development/repository-based-development.html
index 8df1f11..0a347b2 100644
--- a/documentation/development/repository-based-development.html
+++ b/documentation/development/repository-based-development.html
@@ -4,6 +4,10 @@
 Apache Sling :: Repository Based Development
 
 
+https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/>
+
+hljs.initHighlightingOnLoad();
+
 
 
 

http://git-wip-us.apache.org/repos/asf/sling-site/blob/37a29a31/documentation/development/resourceresolver-mock.html
--
diff --git a/documentation/development/resourceresolver-mock.html 
b/documentation/development/resourceresolver-mock.html
index 5ad93a5..4614a8f 100644
--- a/documentation/development/resourceresolver-mock.html
+++ b/documentation/development/resourceresolver-mock.html
@@ -4,6 +4,10 @@
 Apache Sling :: Resource Resolver Mock
 
 
+https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/>
+
+hljs.initHighlightingOnLoad();
+
 
 
 

http://git-wip-us.apache.org/repos/asf/sling-site/blob/37a29a31/documentation/development/sling-mock.html
--
diff --git a/documentation/development/sling-mock.html 
b/documentation/development/sling-mock.html
index db2a9a9..a2acccb 100644
--- a/documentation/development/sling-mock.html
+++ b/documentation/development/sling-mock.html
@@ -4,6 +4,10 @@
 Apache Sling :: Sling Mocks
 
 
+https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/>
+
+hljs.initHighlightingOnLoad();
+
 
 
 

http://git-wip-us.apache.org/repos/asf/sling-site/blob/37a29a31/documentation/development/sling-testing-tools.html
--
diff --git a/documentation/development/sling-testing-tools.html 
b/documentation/development/sling-testing-tools.html
index 783ac88..1c02370 100644
--- a/documentation/development/sling-testing-tools.html
+++ b/documentation/development/sling-testing-tools.html
@@ -4,6 +4,10 @@
 Apache Sling :: Sling Testing Tools
 
 
+https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/>
+
+hljs.initHighlightingOnLoad();
+
 
 
 

http://git-wip-us.apache.org/repos/asf/sling-site/blob/37a29a31/documentation/development/sling.html
--
diff --git a/documentation/development/sling.html 
b/documentation/development/sling.html
index 3b1e12e..81d4d35 100644
--- a/documentation/development/sling.html
+++ b/documentation/development/sling.html
@@ -4,6 +4,10 @@
 Apache Sling :: Maven Sling Plugin
 
 
+https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/>
+
+hljs.initHighlightingOnLoad();
+
 
 
 

http://git-wip-us.apache.org/repos/asf/sling-site/blob/37a29a31/documentation/development/slingstart.html
--
diff --git a/documentation/development/slingstart.html 
b/documentation/development/slingstart.html
index d94bec6..d1f7f4b 100644
--- a/documentation/development/slingstart.html
+++ b/documentation/development/slingstart.html
@@ -4,6 +4,10 @@
 Apache Sling :: The Apache Sling Provisioning Model and Apache 
SlingStart
 
 
+https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/>
+
+hljs.initHighlightingOnLoad();
+
 
 
 

http://git-wip-us.apache.org/repos/asf/sling-site/blob/37a29a31/documentation/development/version-policy.html
--
diff --git a/documentation/development/version-policy.html 
b/documentation/development/version-policy.html
index 635f1f2..71aea86 100644
--- a/documentation/development/version-policy.html
+++ b/documentation/development/version-policy.html
@@ -4,6 +4,10 @@
 Apache Sling :: Version Policy
 
 
+https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/>
+
+hljs.initHighlightingOnLoad();
+
 
 
 

http://git-wip-us.apache.or

[2/2] sling-site git commit: basic code highlighting using highlightjs.org

2017-06-29 Thread bdelacretaz
basic code highlighting using highlightjs.org


Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/37a29a31
Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/37a29a31
Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/37a29a31

Branch: refs/heads/asf-site
Commit: 37a29a31e3998ef5597578db32efbbb5d5ab5361
Parents: 1330655
Author: Bertrand Delacretaz 
Authored: Thu Jun 29 09:47:43 2017 +0200
Committer: Bertrand Delacretaz 
Committed: Thu Jun 29 09:47:43 2017 +0200

--
 archive.html | 4 
 contributing.html| 4 
 documentation.html   | 4 
 documentation/bundles.html   | 4 
 .../accessing-filesystem-resources-extensions-fsresource.html| 4 
 documentation/bundles/apache-sling-commons-thread-pool.html  | 4 
 .../bundles/apache-sling-eventing-and-job-handling.html  | 4 
 .../bundles/bundle-resources-extensions-bundleresource.html  | 4 
 documentation/bundles/caching-services.html  | 4 
 documentation/bundles/commons-html-utilities.html| 4 
 documentation/bundles/configuration-installer-factory.html   | 4 
 documentation/bundles/content-distribution.html  | 4 
 documentation/bundles/content-loading-jcr-contentloader.html | 4 
 .../context-aware-configuration-default-implementation.html  | 4 
 .../context-aware-configuration-override.html| 4 
 .../context-aware-configuration-spi.html | 4 
 .../context-aware-configuration/context-aware-configuration.html | 4 
 documentation/bundles/datasource-providers.html  | 4 
 documentation/bundles/discovery-api-and-impl.html| 4 
 documentation/bundles/dynamic-includes.html  | 4 
 documentation/bundles/file-installer-provider.html   | 4 
 documentation/bundles/internationalization-support-i18n.html | 4 
 documentation/bundles/jcr-installer-provider.html| 4 
 documentation/bundles/log-tracers.html   | 4 
 .../bundles/managing-permissions-jackrabbit-accessmanager.html   | 4 
 .../managing-users-and-groups-jackrabbit-usermanager.html| 4 
 .../manipulating-content-the-slingpostservlet-servlets-post.html | 4 
 documentation/bundles/metrics.html   | 4 
 documentation/bundles/mime-type-support-commons-mime.html| 4 
 documentation/bundles/models.html| 4 
 documentation/bundles/nosql-resource-providers.html  | 4 
 documentation/bundles/org-apache-sling-junit-bundles.html| 4 
 documentation/bundles/osgi-installer.html| 4 
 .../output-rewriting-pipelines-org-apache-sling-rewriter.html| 4 
 .../bundles/rendering-content-default-get-servlets.html  | 4 
 documentation/bundles/repository-initialization.html | 4 
 documentation/bundles/request-analysis.html  | 4 
 documentation/bundles/resource-access-security.html  | 4 
 documentation/bundles/resource-editor.html   | 4 
 documentation/bundles/resource-merger.html   | 4 
 documentation/bundles/scheduler-service-commons-scheduler.html   | 4 
 documentation/bundles/scripting.html | 4 
 documentation/bundles/scripting/scripting-htl.html   | 4 
 documentation/bundles/scripting/scripting-jsp.html   | 4 
 documentation/bundles/scripting/scripting-thymeleaf.html | 4 
 documentation/bundles/servlet-helpers.html   | 4 
 documentation/bundles/sling-health-check-tool.html   | 4 
 documentation/bundles/sling-oak-restrictions.html| 4 
 documentation/bundles/sling-pipes.html   | 4 
 documentation/bundles/sling-query.html   | 4 
 .../bundles/sling-settings-org-apache-sling-settings.html| 4 
 documentation/bundles/subsystem-installer-factory.html   | 4 
 documentation/bundles/validation.html| 4 
 documentation/bundles/web-console-extensions.html| 4 
 documentation/bundles/xml-support.html   | 4 
 documentation/configuration.html | 4 
 documentation/development.html   | 4 
 documentation/development/client-request-logging.html| 4 
 documentati

svn commit: r20234 - /release/sling/

2017-06-29 Thread asanso
Author: asanso
Date: Thu Jun 29 12:09:04 2017
New Revision: 20234

Log:
* Release Apache Sling Authentication Service 1.4.0

Added:
release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar   (with props)
release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.asc
release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.md5
release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.sha1
release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip   (with 
props)
release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip.asc
release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip.md5
release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip.sha1
release/sling/org.apache.sling.auth.core-1.4.0-sources.jar   (with props)
release/sling/org.apache.sling.auth.core-1.4.0-sources.jar.asc
release/sling/org.apache.sling.auth.core-1.4.0-sources.jar.md5
release/sling/org.apache.sling.auth.core-1.4.0-sources.jar.sha1
release/sling/org.apache.sling.auth.core-1.4.0.jar   (with props)
release/sling/org.apache.sling.auth.core-1.4.0.jar.asc
release/sling/org.apache.sling.auth.core-1.4.0.jar.md5
release/sling/org.apache.sling.auth.core-1.4.0.jar.sha1
release/sling/org.apache.sling.auth.core-1.4.0.pom
release/sling/org.apache.sling.auth.core-1.4.0.pom.asc
release/sling/org.apache.sling.auth.core-1.4.0.pom.md5
release/sling/org.apache.sling.auth.core-1.4.0.pom.sha1

Added: release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar
==
Binary file - no diff available.

Propchange: release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar
--
svn:mime-type = application/octet-stream

Added: release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.asc
==
--- release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.asc (added)
+++ release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.asc Thu Jun 29 
12:09:04 2017
@@ -0,0 +1,11 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJZUPVlAAoJEOr260yNsPUSSb0H/3OBup7DfnzzYFyTWDTF2qKW
+3S26MO2AMJlmBE3xO2itJzdfZ885T9jxZ4Yh6O/J1IeobX5bQCoLxVzOVv5rZrn7
+3ogetjcTvuSpdS3IHxQWXZYMpqTRgAcxqkGovKHQc0k2pSgH07IZud3hTd3HzBKZ
+2JUHXgxYfB5J5Gid/COc2mONc53fFlSVPxixPTw1pVobhu9J99r/xMsZtEvMe0Ui
+7bYJ4WO1iXAjwfXPDRwSe3yUp98x98i0FKtyAH/o8IFow+gnfJApDA5F7BPeK9hI
+dG2jJJ+c2kt595RKYnxbmC/4v7P99uzIFXF0Xv+8ngCPQfeQagzMIa46gKCKI5A=
+=Dsr+
+-END PGP SIGNATURE-

Added: release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.md5
==
--- release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.md5 (added)
+++ release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.md5 Thu Jun 29 
12:09:04 2017
@@ -0,0 +1 @@
+2a53948a0177d651b85509a433d39a38
\ No newline at end of file

Added: release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.sha1
==
--- release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.sha1 (added)
+++ release/sling/org.apache.sling.auth.core-1.4.0-javadoc.jar.sha1 Thu Jun 29 
12:09:04 2017
@@ -0,0 +1 @@
+d27384ec18c21c0a2481ab8957b21ee521052428
\ No newline at end of file

Added: release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip
==
Binary file - no diff available.

Propchange: release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip
--
svn:mime-type = application/octet-stream

Added: release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip.asc
==
--- release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip.asc 
(added)
+++ release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip.asc Thu 
Jun 29 12:09:04 2017
@@ -0,0 +1,11 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJZUPVlAAoJEOr260yNsPUSrtIH/0ePc9l4TWW+bO/j8sCjW0gH
+dtJk29Px3Y5dhUAE8lCulzmnhh3zKO6+/hRXCDAp4uZSwVqOrGZbojyJqu12s+Lt
+jKbkSNmY4SYMRHQw13M/12SaJYwn52U1tH8kzdyf3RfGdQ7y3jpbBPnL8Y+g8K90
+7MP8OpB8HOuHaNsxO3Zc4HGtR0kE1ky6p3ujxJk5KBrRtjb/oq+Mw3vaiXENFKrC
+JG9mxQsOxcJbi2igNA5Nm/GLSHZ/mZN9sBE5MYU2OKXe2lKMSDr5Az+Tz5dkObgJ
+GWPFJs2ZZrSiANXlK4oxZzGeJscvT+C+YQ1sQZMAiJWUJZvsVTUzHiMMePoFjBM=
+=cFnf
+-END PGP SIGNATURE-

Added: release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip.md5
==
--- release/sling/org.apache.sling.auth.core-1.4.0-source-release.zip.md5 
(added)
+++ release/sling/org.apache.sling.auth.core-1.4.0-sou

svn commit: r20235 - /release/sling/

2017-06-29 Thread asanso
Author: asanso
Date: Thu Jun 29 12:09:57 2017
New Revision: 20235

Log:
* Release Apache Sling Authentication Service 1.4.0

* delete old files

Removed:
release/sling/org.apache.sling.auth.core-1.3.26-javadoc.jar
release/sling/org.apache.sling.auth.core-1.3.26-javadoc.jar.asc
release/sling/org.apache.sling.auth.core-1.3.26-javadoc.jar.md5
release/sling/org.apache.sling.auth.core-1.3.26-javadoc.jar.sha1
release/sling/org.apache.sling.auth.core-1.3.26-source-release.zip
release/sling/org.apache.sling.auth.core-1.3.26-source-release.zip.asc
release/sling/org.apache.sling.auth.core-1.3.26-source-release.zip.md5
release/sling/org.apache.sling.auth.core-1.3.26-source-release.zip.sha1
release/sling/org.apache.sling.auth.core-1.3.26-sources.jar
release/sling/org.apache.sling.auth.core-1.3.26-sources.jar.asc
release/sling/org.apache.sling.auth.core-1.3.26-sources.jar.md5
release/sling/org.apache.sling.auth.core-1.3.26-sources.jar.sha1
release/sling/org.apache.sling.auth.core-1.3.26.jar
release/sling/org.apache.sling.auth.core-1.3.26.jar.asc
release/sling/org.apache.sling.auth.core-1.3.26.jar.md5
release/sling/org.apache.sling.auth.core-1.3.26.jar.sha1
release/sling/org.apache.sling.auth.core-1.3.26.pom
release/sling/org.apache.sling.auth.core-1.3.26.pom.asc
release/sling/org.apache.sling.auth.core-1.3.26.pom.md5
release/sling/org.apache.sling.auth.core-1.3.26.pom.sha1



Nexus: Promotion Completed

2017-06-29 Thread Nexus Repository Manager
Message from: https://repository.apache.orgDeployer properties:"userAgent" = "Apache-Maven/3.3.9 (Java 1.8.0_121; Mac OS X 10.9.5)""userId" = "asanso""ip" = "192.147.117.11"Details:The following artifacts have been promoted to the "Releases" [id=releases] repository/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0.pom(SHA1: 5b4ee75c4cf4056b844c603293db2101e3841a1f)/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0.pom.asc(SHA1: 056928a84194c3730d2fcda7bf9cc65cad8415df)/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0-source-release.zip.asc(SHA1: f8d93d3891f0e3cb95e48f9ec693864a6730d689)/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0.jar.asc(SHA1: abdd9708992bc8b47c307cfe430aa6a8fb9c7427)/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0-javadoc.jar(SHA1: d27384ec18c21c0a2481ab8957b21ee521052428)/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0-source-release.zip(SHA1: cb6fca7c5af38aae42f13b6471086a9f92596bc4)/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0.jar(SHA1: 7688fbc998f0fdd890cac79289dff162d212a36b)/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0-javadoc.jar.asc(SHA1: 72e25266a8392482a952924d7930769c704b88d9)/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0-sources.jar(SHA1: 55c1654f099b5f3c172f873d1cadfbb61d6386df)/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0-sources.jar.asc(SHA1: e2ceb1b28b496fcd9af918f5722df29704a3a87c)Action performed by Antonio Sanso (asanso)

svn commit: r1800271 - in /sling/site/trunk/content: downloads.list news.mdtext

2017-06-29 Thread asanso
Author: asanso
Date: Thu Jun 29 12:14:43 2017
New Revision: 1800271

URL: http://svn.apache.org/viewvc?rev=1800271&view=rev
Log:
* Release Apache Sling Authentication Service 1.4.0

Modified:
sling/site/trunk/content/downloads.list
sling/site/trunk/content/news.mdtext

Modified: sling/site/trunk/content/downloads.list
URL: 
http://svn.apache.org/viewvc/sling/site/trunk/content/downloads.list?rev=1800271&r1=1800270&r2=1800271&view=diff
==
--- sling/site/trunk/content/downloads.list (original)
+++ sling/site/trunk/content/downloads.list Thu Jun 29 12:14:43 2017
@@ -25,7 +25,7 @@ Validation Core|org.apache.sling.validat
 Adapter|org.apache.sling.adapter|2.1.10
 Adapter Annotations|adapter-annotations|1.0.0
 API|org.apache.sling.api|2.16.2
-Auth Core|org.apache.sling.auth.core|1.3.26
+Auth Core|org.apache.sling.auth.core|1.4.0
 Auth Form|org.apache.sling.auth.form|1.0.8
 Auth OpenID|org.apache.sling.auth.openid|1.0.4
 Auth Selector|org.apache.sling.auth.selector|1.0.6

Modified: sling/site/trunk/content/news.mdtext
URL: 
http://svn.apache.org/viewvc/sling/site/trunk/content/news.mdtext?rev=1800271&r1=1800270&r2=1800271&view=diff
==
--- sling/site/trunk/content/news.mdtext (original)
+++ sling/site/trunk/content/news.mdtext Thu Jun 29 12:14:43 2017
@@ -1,5 +1,6 @@
 Title: News
 
+* New Releases: Apache Sling Auth Core 1.4.0 (June 29th, 2017)
 * New Releases: Apache Sling Event 4.2.4, JCR Content Parser 1.2.4, File 
System Resource Provider 2.1.6, File System Resource Provider 1.4.6 (June 26th, 
2017)
 * New Releases: Apache Sling Security 1.1.4 (June 21st, 2017)
 * New Releases: Apache Sling Testing Clients 1.1.4, Apache Sling Testing Email 
1.0.0, Apache Sling Resource Merger 1.3.4 (June 20th, 2017)




svn commit: r1014704 - in /websites/staging/sling/trunk/content: ./ downloads.html news.html

2017-06-29 Thread buildbot
Author: buildbot
Date: Thu Jun 29 12:15:09 2017
New Revision: 1014704

Log:
Staging update by buildbot for sling

Modified:
websites/staging/sling/trunk/content/   (props changed)
websites/staging/sling/trunk/content/downloads.html
websites/staging/sling/trunk/content/news.html

Propchange: websites/staging/sling/trunk/content/
--
--- cms:source-revision (original)
+++ cms:source-revision Thu Jun 29 12:15:09 2017
@@ -1 +1 @@
-1799953
+1800271

Modified: websites/staging/sling/trunk/content/downloads.html
==
--- websites/staging/sling/trunk/content/downloads.html (original)
+++ websites/staging/sling/trunk/content/downloads.html Thu Jun 29 12:15:09 2017
@@ -316,9 +316,9 @@ h2:hover > .headerlink, h3:hover > .head
 
 
 Auth Core
-1.3.26
-Bundle (http://www.apache.org/dist/sling/org.apache.sling.auth.core-1.3.26.jar.asc";>asc,
 http://www.apache.org/dist/sling/org.apache.sling.auth.core-1.3.26.jar.md5";>md5)
-Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.auth.core-1.3.26-source-release.zip.asc";>asc,
 http://www.apache.org/dist/sling/org.apache.sling.auth.core-1.3.26-source-release.zip.md5";>md5)
+1.4.0
+Bundle 
(http://www.apache.org/dist/sling/org.apache.sling.auth.core-1.4.0.jar.asc";>asc,
 http://www.apache.org/dist/sling/org.apache.sling.auth.core-1.4.0.jar.md5";>md5)
+Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.auth.core-1.4.0-source-release.zip.asc";>asc,
 http://www.apache.org/dist/sling/org.apache.sling.auth.core-1.4.0-source-release.zip.md5";>md5)
 
 
 Auth Form
@@ -1556,7 +1556,7 @@ h2:hover > .headerlink, h3:hover > .head
 
 
   
-Rev. 1799953 by sseifert on Mon, 26 Jun 2017 17:15:32 +
+Rev. 1800271 by asanso on Thu, 29 Jun 2017 12:14:43 +
   

 Apache Sling, Sling, Apache, the Apache feather logo, and the Apache 
Sling project

Modified: websites/staging/sling/trunk/content/news.html
==
--- websites/staging/sling/trunk/content/news.html (original)
+++ websites/staging/sling/trunk/content/news.html Thu Jun 29 12:15:09 2017
@@ -116,6 +116,7 @@ h2:hover > .headerlink, h3:hover > .head
 }
 h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, 
h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, 
dt:hover > .elementid-permalink { visibility: visible }
 
+New Releases: Apache Sling Auth Core 1.4.0 (June 29th, 2017)
 New Releases: Apache Sling Event 4.2.4, JCR Content Parser 1.2.4, File 
System Resource Provider 2.1.6, File System Resource Provider 1.4.6 (June 26th, 
2017)
 New Releases: Apache Sling Security 1.1.4 (June 21st, 2017)
 New Releases: Apache Sling Testing Clients 1.1.4, Apache Sling Testing 
Email 1.0.0, Apache Sling Resource Merger 1.3.4 (June 20th, 2017)
@@ -605,7 +606,7 @@ Apache Sling Scripting Sightly JS Use Pr
 Apache Sling has graduated into a top level project! (June 17, 2009)
 
   
-Rev. 1799953 by sseifert on Mon, 26 Jun 2017 17:15:32 +
+Rev. 1800271 by asanso on Thu, 29 Jun 2017 12:14:43 +
   

 Apache Sling, Sling, Apache, the Apache feather logo, and the Apache 
Sling project




svn commit: r1800272 - /sling/trunk/launchpad/builder/src/main/provisioning/sling.txt

2017-06-29 Thread asanso
Author: asanso
Date: Thu Jun 29 12:15:18 2017
New Revision: 1800272

URL: http://svn.apache.org/viewvc?rev=1800272&view=rev
Log:
* Release Apache Sling Authentication Service 1.4.0

Modified:
sling/trunk/launchpad/builder/src/main/provisioning/sling.txt

Modified: sling/trunk/launchpad/builder/src/main/provisioning/sling.txt
URL: 
http://svn.apache.org/viewvc/sling/trunk/launchpad/builder/src/main/provisioning/sling.txt?rev=1800272&r1=1800271&r2=1800272&view=diff
==
--- sling/trunk/launchpad/builder/src/main/provisioning/sling.txt (original)
+++ sling/trunk/launchpad/builder/src/main/provisioning/sling.txt Thu Jun 29 
12:15:18 2017
@@ -36,7 +36,7 @@
 org.apache.httpcomponents/httpclient-osgi/4.4.1
 org.apache.sling/org.apache.sling.adapter/2.1.10
 org.apache.sling/org.apache.sling.api/2.16.2
-org.apache.sling/org.apache.sling.auth.core/1.3.26
+org.apache.sling/org.apache.sling.auth.core/1.4.0
 org.apache.sling/org.apache.sling.auth.form/1.0.8
 org.apache.sling/org.apache.sling.bundleresource.impl/2.2.0
 org.apache.sling/org.apache.sling.commons.classloader/1.4.0




Build failed in Jenkins: sling-launchpad-builder-1.8 #10581

2017-06-29 Thread Apache Jenkins Server
See 


Changes:

[asanso] * Release Apache Sling Authentication Service 1.4.0

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H18 (ubuntu xenial) in workspace 

Updating https://svn.apache.org/repos/asf/sling/trunk/launchpad/builder at 
revision '2017-06-29T12:30:14.216 +'
U src/main/provisioning/sling.txt
At revision 1800273

Parsing POMs
Established TCP socket on 44622
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-launchpad-builder-1.8] $ /home/jenkins/tools/java/latest1.8/bin/java 
-Xmx2g -Xms256m -cp 
/home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging
 jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/apache-maven-3.3.9 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven33-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 44622
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 -U clean 
deploy
[INFO] Scanning for projects...
[INFO] Extended Maven classpath (scope 'provided') by the dependencies 
extracted from the Sling model.
[INFO] 
[INFO] 
[INFO] Building Apache Sling Launchpad Application Builder 10-SNAPSHOT
[INFO] 
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.launchpad.base/5.6.4-2.6.18/org.apache.sling.launchpad.base-5.6.4-2.6.18.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.launchpad.base/5.6.4-2.6.18/org.apache.sling.launchpad.base-5.6.4-2.6.18.pom
 (15 KB at 28.5 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.log/5.0.2/org.apache.sling.commons.log-5.0.2.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.log/5.0.2/org.apache.sling.commons.log-5.0.2.pom
 (16 KB at 588.3 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.installer.core/3.8.10/org.apache.sling.installer.core-3.8.10.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.installer.core/3.8.10/org.apache.sling.installer.core-3.8.10.pom
 (7 KB at 328.8 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.auth.core/1.4.0/org.apache.sling.auth.core-1.4.0.pom
[WARNING] The POM for org.apache.sling:org.apache.sling.auth.core:jar:1.4.0 is 
missing, no dependency information available
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.scheduler/2.6.2/org.apache.sling.commons.scheduler-2.6.2.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.commons.scheduler/2.6.2/org.apache.sling.commons.scheduler-2.6.2.pom
 (9 KB at 154.5 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.engine/2.6.8/org.apache.sling.engine-2.6.8.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.engine/2.6.8/org.apache.sling.engine-2.6.8.pom
 (10 KB at 460.9 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.fsresource/2.1.6/org.apache.sling.fsresource-2.1.6.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.fsresource/2.1.6/org.apache.sling.fsresource-2.1.6.pom
 (8 KB at 201.8 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.jcr.contentparser/1.2.4/org.apache.sling.jcr.contentparser-1.2.4.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.jcr.contentparser/1.2.4/org.apache.sling.jcr.contentparser-1.2.4.pom
 (6 KB at 234.2 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.jcr.contentloader/2.2.4/org.apache.sling.jcr.contentloader-2.2.4.pom
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.sling.jcr.contentloader/2.2.4/org.apache.sling.jcr.contentloader-2.2.4.pom
 (13 KB at 494.7 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/apache/sling/org.apache.s

svn commit: r1800275 - in /sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi: HApiType.java impl/HApiTypeImpl.java impl/HApiTypeLazyWrapper.java impl/HApiUtilImpl.java

2017-06-29 Thread dulvac
Author: dulvac
Date: Thu Jun 29 12:51:24 2017
New Revision: 1800275

URL: http://svn.apache.org/viewvc?rev=1800275&view=rev
Log:
SLING-6978 [HApi] NPE if type is fetched from cache before the end of 
initialization

Added:

sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiTypeLazyWrapper.java
Modified:

sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/HApiType.java

sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiTypeImpl.java

sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiUtilImpl.java

Modified: 
sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/HApiType.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/HApiType.java?rev=1800275&r1=1800274&r2=1800275&view=diff
==
--- 
sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/HApiType.java
 (original)
+++ 
sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/HApiType.java
 Thu Jun 29 12:51:24 2017
@@ -27,6 +27,7 @@ import java.util.Map;
 /**
  * A Hypermedia API type.
  */
+
 @ProviderType
 public interface HApiType {
 

Modified: 
sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiTypeImpl.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiTypeImpl.java?rev=1800275&r1=1800274&r2=1800275&view=diff
==
--- 
sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiTypeImpl.java
 (original)
+++ 
sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiTypeImpl.java
 Thu Jun 29 12:51:24 2017
@@ -23,7 +23,10 @@ import org.apache.sling.hapi.HApiType;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import java.util.*;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
 
 /**
  * {@inheritDoc}

Added: 
sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiTypeLazyWrapper.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiTypeLazyWrapper.java?rev=1800275&view=auto
==
--- 
sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiTypeLazyWrapper.java
 (added)
+++ 
sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiTypeLazyWrapper.java
 Thu Jun 29 12:51:24 2017
@@ -0,0 +1,188 @@
+/***
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ 
**/
+package org.apache.sling.hapi.impl;
+
+import org.apache.sling.api.resource.Resource;
+import org.apache.sling.api.resource.ResourceResolver;
+import org.apache.sling.hapi.HApiException;
+import org.apache.sling.hapi.HApiProperty;
+import org.apache.sling.hapi.HApiType;
+import org.apache.sling.hapi.HApiUtil;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import javax.jcr.RepositoryException;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * {@inheritDoc}
+ */
+public class HApiTypeLazyWrapper implements HApiType {
+public static final Logger LOG = 
LoggerFactory.getLogger(HApiTypeLazyWrapper.class);
+private final HApiUtil util;
+private final ResourceResolver resolver;
+private String serverUrl;
+private final Resource resource;
+
+/**
+ * A new HApiType that is just a weak reference by name
+ * @param util
+ * @param resolver
+ * @param name
+ */
+public HApiTypeLazyWrapper(HApiUtil util, ResourceResolver resolver, 
String serverUrl, String name) {
+this.util = util;
+this.resolver = resolver;
+this.serverUrl = serverUrl;
+ 

svn commit: r1800283 - in /sling/trunk/installer/factories/packages: pom.xml src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java

2017-06-29 Thread kwin
Author: kwin
Date: Thu Jun 29 13:57:05 2017
New Revision: 1800283

URL: http://svn.apache.org/viewvc?rev=1800283&view=rev
Log:
SLING-6484 remove workaround as FileVault 3.1.40 fixed the bug with 
JcrPackage.isInstalled()

Modified:
sling/trunk/installer/factories/packages/pom.xml

sling/trunk/installer/factories/packages/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java

Modified: sling/trunk/installer/factories/packages/pom.xml
URL: 
http://svn.apache.org/viewvc/sling/trunk/installer/factories/packages/pom.xml?rev=1800283&r1=1800282&r2=1800283&view=diff
==
--- sling/trunk/installer/factories/packages/pom.xml (original)
+++ sling/trunk/installer/factories/packages/pom.xml Thu Jun 29 13:57:05 2017
@@ -79,7 +79,7 @@
 
 org.apache.jackrabbit.vault
 org.apache.jackrabbit.vault
-3.1.30
+3.1.40
 provided
 
 

Modified: 
sling/trunk/installer/factories/packages/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/installer/factories/packages/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java?rev=1800283&r1=1800282&r2=1800283&view=diff
==
--- 
sling/trunk/installer/factories/packages/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java
 (original)
+++ 
sling/trunk/installer/factories/packages/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java
 Thu Jun 29 13:57:05 2017
@@ -215,16 +215,12 @@ public class PackageTransformer implemen
 return;
 }
 
-// if this is a SNAPSHOT version we always trigger a reinstall 
-// (this workaround can be removed once 
https://issues.apache.org/jira/browse/JCRVLT-155 is implemented)
-if (!pkgId.getVersionString().endsWith("-SNAPSHOT")) {
-// check if package was installed previously by some other 
means (or even by a previous run of the installer)
-if (pkg.isInstalled()) {
-String message = MessageFormat.format("Package {0} was 
installed externally. Marking as installed.", pkgId);
-logger.info(message);
-this.setFinishedState(ResourceState.INSTALLED, null, 
message);
-return;
-}
+// check if package was installed previously by some other 
means (or even by a previous run of the installer)
+if (pkg.isInstalled()) {
+String message = MessageFormat.format("Package {0} was 
installed externally. Marking as installed.", pkgId);
+logger.info(message);
+this.setFinishedState(ResourceState.INSTALLED, null, 
message);
+return;
 }
 
 // check if dependencies are installed




svn commit: r1800321 - in /sling/trunk/tooling/maven/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc: JspCServletContext.java JspcMojo.java

2017-06-29 Thread pauls
Author: pauls
Date: Thu Jun 29 21:15:49 2017
New Revision: 1800321

URL: http://svn.apache.org/viewvc?rev=1800321&view=rev
Log:
SLING-6982: Add support for additional resource roots to the JSPC plugin. Patch 
provided by Tobias Bocanegra (This closes #244).

Modified:

sling/trunk/tooling/maven/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspCServletContext.java

sling/trunk/tooling/maven/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspcMojo.java

Modified: 
sling/trunk/tooling/maven/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspCServletContext.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/tooling/maven/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspCServletContext.java?rev=1800321&r1=1800320&r2=1800321&view=diff
==
--- 
sling/trunk/tooling/maven/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspCServletContext.java
 (original)
+++ 
sling/trunk/tooling/maven/maven-jspc-plugin/src/main/java/org/apache/sling/maven/jspc/JspCServletContext.java
 Thu Jun 29 21:15:49 2017
@@ -20,10 +20,12 @@ import java.io.File;
 import java.io.InputStream;
 import java.net.MalformedURLException;
 import java.net.URL;
+import java.util.ArrayList;
 import java.util.Enumeration;
 import java.util.EventListener;
 import java.util.HashSet;
 import java.util.Hashtable;
+import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import java.util.Vector;
@@ -40,6 +42,7 @@ import javax.servlet.SessionCookieConfig
 import javax.servlet.SessionTrackingMode;
 import javax.servlet.descriptor.JspConfigDescriptor;
 
+import org.apache.commons.io.IOUtils;
 import org.apache.maven.plugin.logging.Log;
 
 /**
@@ -66,17 +69,22 @@ public class JspCServletContext implemen
 /**
  * Servlet context attributes.
  */
-protected Hashtable attributes;
+private Hashtable attributes;
 
 /**
  * The log writer we will write log messages to.
  */
-protected Log log;
+private Log log;
 
 /**
  * The base URL (document root) for this context.
  */
-protected URL resourceBaseURL;
+private URL resourceBaseURL;
+
+/**
+ * alternative base urls
+ */
+private List baseURLs = new ArrayList<>();
 
 /**
  * Create a new instance of this ServletContext implementation.
@@ -85,9 +93,18 @@ public class JspCServletContext implemen
  * @param resourceBaseURL Resource base URL
  */
 public JspCServletContext(Log log, URL resourceBaseURL) {
-attributes = new Hashtable<>();
+this.attributes = new Hashtable<>();
 this.log = log;
 this.resourceBaseURL = resourceBaseURL;
+this.baseURLs.add(resourceBaseURL);
+}
+
+/**
+ * Adds an alternative base url for finding resources.
+ * @param altBaseURL alternative resource base
+ */
+public void addAlternativeBaseURL(URL altBaseURL) {
+this.baseURLs.add(altBaseURL);
 }
 
 // - Public Methods
@@ -181,7 +198,7 @@ public class JspCServletContext implemen
  */
 @Override
 public String getRealPath(String path) {
-if (!resourceBaseURL.getProtocol().equals("file")) {
+if (!"file".equals(resourceBaseURL.getProtocol())) {
 return null;
 }
 
@@ -223,26 +240,23 @@ public class JspCServletContext implemen
 }
 
 if (!path.startsWith("/")) {
-throw new MalformedURLException("Path '" + path
-+ "' does not start with '/'");
+throw new MalformedURLException("Path '" + path + "' does not 
start with '/'");
 }
 
-URL url = new URL(resourceBaseURL, path.substring(1));
-InputStream is = null;
-try {
-is = url.openStream();
-} catch (Throwable t) {
-url = null;
-} finally {
-if (is != null) {
-try {
-is.close();
-} catch (Throwable t2) {
-// Ignore
-}
+for (URL base: baseURLs) {
+URL url = new URL(base, path.substring(1));
+InputStream is = null;
+try {
+is = url.openStream();
+// open stream succeeds, so resource exists.
+return url;
+} catch (Throwable t) {
+// ignore
+} finally {
+IOUtils.closeQuietly(is);
 }
 }
-return url;
+return null;
 }
 
 /**
@@ -284,13 +298,12 @@ public class JspCServletContext implemen
 return (thePaths);
 }
 
-String theFiles[] = theBaseDir.list();
-for (int i = 0; i < theFiles.length; i++) {
-File testFile = new File(basePath + File.separator + theFiles[i]);
+for (String theFile : theBaseDir.list()) {
+F