Jenkins build is still unstable: sling-karaf-org.apache.sling.karaf-integration-tests-1.8 #70

2017-10-19 Thread Apache Jenkins Server
See 




Jenkins build is still unstable: sling-contrib-launchpad-testing-1.8 #11

2017-10-19 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : sling-contrib-auth-org.apache.sling.auth.xing.oauth-1.8 #9

2017-10-19 Thread Apache Jenkins Server
See 




svn commit: r1812646 - in /sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig: impl/ management/ management/impl/

2017-10-19 Thread sseifert
Author: sseifert
Date: Thu Oct 19 15:10:17 2017
New Revision: 1812646

URL: http://svn.apache.org/viewvc?rev=1812646=rev
Log:
SLING-7208 CAConfig Impl: Make ConfigurationResourceResolverConfig service 
accessible from outside

Added:

sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/ConfigurationResourceResolverConfig.java
  - copied, changed from r1812645, 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResourceResolverConfig.java
Removed:

sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResourceResolverConfig.java
Modified:

sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResolverImpl.java

sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/impl/ConfigurationManagerImpl.java

sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/package-info.java

Modified: 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResolverImpl.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResolverImpl.java?rev=1812646=1812645=1812646=diff
==
--- 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResolverImpl.java
 (original)
+++ 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResolverImpl.java
 Thu Oct 19 15:10:17 2017
@@ -28,6 +28,7 @@ import org.apache.commons.lang3.ArrayUti
 import org.apache.sling.api.resource.Resource;
 import org.apache.sling.caconfig.ConfigurationBuilder;
 import org.apache.sling.caconfig.ConfigurationResolver;
+import 
org.apache.sling.caconfig.management.ConfigurationResourceResolverConfig;
 import 
org.apache.sling.caconfig.management.multiplexer.ConfigurationInheritanceStrategyMultiplexer;
 import 
org.apache.sling.caconfig.management.multiplexer.ConfigurationMetadataProviderMultiplexer;
 import 
org.apache.sling.caconfig.management.multiplexer.ConfigurationOverrideMultiplexer;

Copied: 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/ConfigurationResourceResolverConfig.java
 (from r1812645, 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResourceResolverConfig.java)
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/ConfigurationResourceResolverConfig.java?p2=sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/ConfigurationResourceResolverConfig.java=sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResourceResolverConfig.java=1812645=1812646=1812646=diff
==
--- 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/impl/ConfigurationResourceResolverConfig.java
 (original)
+++ 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/ConfigurationResourceResolverConfig.java
 Thu Oct 19 15:10:17 2017
@@ -16,15 +16,18 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.sling.caconfig.impl;
+package org.apache.sling.caconfig.management;
 
 import java.util.Collection;
 
 import javax.annotation.Nonnull;
 
+import org.osgi.annotation.versioning.ProviderType;
+
 /**
- * Internal service for accessing the ConfigurationResourceResolver 
configuration from other services.
+ * Service for accessing the ConfigurationResourceResolver configuration from 
other services.
  */
+@ProviderType
 public interface ConfigurationResourceResolverConfig {
 
 /**

Modified: 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/impl/ConfigurationManagerImpl.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/impl/ConfigurationManagerImpl.java?rev=1812646=1812645=1812646=diff
==
--- 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/impl/ConfigurationManagerImpl.java
 (original)
+++ 
sling/trunk/bundles/extensions/caconfig/impl/src/main/java/org/apache/sling/caconfig/management/impl/ConfigurationManagerImpl.java
 Thu Oct 19 15:10:17 2017
@@ -36,11 +36,11 @@ import org.apache.commons.collections.it
 import org.apache.commons.lang3.StringUtils;
 import 

Jenkins build is back to normal : sling-tooling-trunk-1.8 #396

2017-10-19 Thread Apache Jenkins Server
See 




svn commit: r1812644 - in /sling/trunk/bundles/scripting/sightly/java-compiler/src: main/java/org/apache/sling/scripting/sightly/java/compiler/impl/ test/java/org/apache/sling/scripting/sightly/compil

2017-10-19 Thread radu
Author: radu
Date: Thu Oct 19 14:13:38 2017
New Revision: 1812644

URL: http://svn.apache.org/viewvc?rev=1812644=rev
Log:
SLING-7205 - Generate import statements for data-sly-use Java use objects

* made sure the classes added to the import list are also used in the 
renderContext.call()
method to generate proper usage information in bytecode

Modified:

sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/CodeGenVisitor.java

sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/ExpressionTranslator.java

sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/JavaSource.java

sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/TypeInference.java

sling/trunk/bundles/scripting/sightly/java-compiler/src/test/java/org/apache/sling/scripting/sightly/compiler/java/JavaClassBackendCompilerTest.java

sling/trunk/bundles/scripting/sightly/java-compiler/src/test/resources/imports.html

sling/trunk/bundles/scripting/sightly/java-compiler/src/test/resources/imports.html.java

Modified: 
sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/CodeGenVisitor.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/CodeGenVisitor.java?rev=1812644=1812643=1812644=diff
==
--- 
sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/CodeGenVisitor.java
 (original)
+++ 
sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/CodeGenVisitor.java
 Thu Oct 19 14:13:38 2017
@@ -117,7 +117,8 @@ public class CodeGenVisitor implements C
 @Override
 public void visit(VariableBinding.Start variableBinding) {
 source.startBlock();
-TypeInfo typeInfo = 
TypeInference.inferTypes(variableBinding.getExpression(), analyzer, 
unitBuilder.getImports());
+TypeInfo typeInfo = TypeInference
+.inferTypes(variableBinding.getExpression(), analyzer, 
unitBuilder.getImports(), unitBuilder.getJavaImportsAnalyzer());
 Type type = typeInfo.typeOf(variableBinding.getExpression());
 String properName = declare(variableBinding.getVariableName(), type);
 source.beginAssignment(properName, type.getNativeClass());
@@ -125,7 +126,8 @@ public class CodeGenVisitor implements C
 variableBinding.getExpression(),
 source,
 analyzer,
-typeInfo);
+typeInfo,
+unitBuilder.getImports());
 source.endStatement();
 }
 
@@ -142,7 +144,8 @@ public class CodeGenVisitor implements C
 
 @Override
 public void visit(VariableBinding.Global globalAssignment) {
-TypeInfo typeInfo = 
TypeInference.inferTypes(globalAssignment.getExpression(), analyzer, 
unitBuilder.getImports());
+TypeInfo typeInfo = TypeInference
+.inferTypes(globalAssignment.getExpression(), analyzer, 
unitBuilder.getImports(), unitBuilder.getJavaImportsAnalyzer());
 VariableDescriptor descriptor = 
analyzer.declareGlobal(globalAssignment.getVariableName());
 String name = descriptor.getAssignedName();
 source.append(name).assign();
@@ -150,7 +153,8 @@ public class CodeGenVisitor implements C
 globalAssignment.getExpression(),
 source,
 analyzer,
-typeInfo);
+typeInfo,
+unitBuilder.getImports());
 source.endStatement();
 String listCoercionVar = descriptor.getListCoercion();
 if (listCoercionVar != null) {

Modified: 
sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/ExpressionTranslator.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/ExpressionTranslator.java?rev=1812644=1812643=1812644=diff
==
--- 
sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/ExpressionTranslator.java
 (original)
+++ 
sling/trunk/bundles/scripting/sightly/java-compiler/src/main/java/org/apache/sling/scripting/sightly/java/compiler/impl/ExpressionTranslator.java
 Thu Oct 19 14:13:38 2017
@@ -17,7 +17,9 @@
 package org.apache.sling.scripting.sightly.java.compiler.impl;
 
 import java.util.Map;
+import 

svn commit: r1812645 - /sling/trunk/tooling/maven/htl-maven-plugin/src/test/resources/test-project/src/main/resources/apps/projects/Pojo.java

2017-10-19 Thread radu
Author: radu
Date: Thu Oct 19 14:13:43 2017
New Revision: 1812645

URL: http://svn.apache.org/viewvc?rev=1812645=rev
Log:
SLING-7155 - htl-maven-plugin: Add option to precompile the HTL scripts

* added license header for test file to pass RAT check

Modified:

sling/trunk/tooling/maven/htl-maven-plugin/src/test/resources/test-project/src/main/resources/apps/projects/Pojo.java

Modified: 
sling/trunk/tooling/maven/htl-maven-plugin/src/test/resources/test-project/src/main/resources/apps/projects/Pojo.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/tooling/maven/htl-maven-plugin/src/test/resources/test-project/src/main/resources/apps/projects/Pojo.java?rev=1812645=1812644=1812645=diff
==
--- 
sling/trunk/tooling/maven/htl-maven-plugin/src/test/resources/test-project/src/main/resources/apps/projects/Pojo.java
 (original)
+++ 
sling/trunk/tooling/maven/htl-maven-plugin/src/test/resources/test-project/src/main/resources/apps/projects/Pojo.java
 Thu Oct 19 14:13:43 2017
@@ -1,3 +1,19 @@
+/***
+ * 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 apps.projects;
 
 public class Pojo {}




[sling-site] branch master updated: Revert "use simpler notation for charset"

2017-10-19 Thread kwin
This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
 new c9ad30d  Revert "use simpler notation for charset"
c9ad30d is described below

commit c9ad30dfdd43bccb5101648e8e4820786b06e83b
Author: Konrad Windszus 
AuthorDate: Thu Oct 19 16:05:02 2017 +0200

Revert "use simpler notation for charset"

This reverts commit 769620081d6524f54d355413506fcb08fee00923.
---
 src/main/jbake/templates/header.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/jbake/templates/header.tpl 
b/src/main/jbake/templates/header.tpl
index 27c8a2e..4695e8a 100644
--- a/src/main/jbake/templates/header.tpl
+++ b/src/main/jbake/templates/header.tpl
@@ -1,5 +1,5 @@
 head {
-   meta("charset":"UTF-8") newLine()
+   meta("http-equiv":"Content-Type", content:"text/html;charset=UTF-8") 
newLine()
title("${config.blog_title} :: ${content.title}") newLine()
 
// For now, try to reproduce the layout of the current website, to be 
able to compare pages

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" '].


Jenkins build became unstable: sling-launchpad-builder-1.8 #10725

2017-10-19 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : sling-bundles-jcr-resource-1.8 #86

2017-10-19 Thread Apache Jenkins Server
See 




Jenkins build is back to normal : sling-bundles-servlets-get-1.8 #35

2017-10-19 Thread Apache Jenkins Server
See 




Build failed in Jenkins: sling-bundles-jcr-resource-1.8 #85

2017-10-19 Thread Apache Jenkins Server
See 


Changes:

[ieb] SLING-7140 Support redirects to URLs provided by the underlying resource 
provider.

--
[...truncated 1.60 KB...]
Established TCP socket on 32790
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-bundles-jcr-resource-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 32790
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -U clean 
deploy
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.sling:org.apache.sling.jcr.resource:bundle:3.0.5-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
be unique: org.apache.sling:org.apache.sling.api:jar -> version 2.16.0 vs 
2.16.3-SNAPSHOT @ line 233, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] 
[INFO] 
[INFO] Building Apache Sling JCR Resource Resolver 3.0.5-SNAPSHOT
[INFO] 
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.api/2.16.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.api/2.16.3-SNAPSHOT/maven-metadata.xml
 (1008 B at 1.9 KB/sec)
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.api/2.16.3-SNAPSHOT/org.apache.sling.api-2.16.3-20171013.131105-29.pom
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.api/2.16.3-SNAPSHOT/org.apache.sling.api-2.16.3-20171013.131105-29.pom
 (6 KB at 14.1 KB/sec)
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.api/2.16.3-SNAPSHOT/org.apache.sling.api-2.16.3-20171013.131105-29.jar
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.api/2.16.3-SNAPSHOT/org.apache.sling.api-2.16.3-20171013.131105-29.jar
 (127 KB at 184.9 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ 
org.apache.sling.jcr.resource ---
[INFO] Deleting 

[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ 
org.apache.sling.jcr.resource ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run 
(set-bundle-required-execution-environment) @ org.apache.sling.jcr.resource ---
[INFO] Executing tasks

main:
Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from sling.java.version=7
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ org.apache.sling.jcr.resource ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
org.apache.sling.jcr.resource ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
org.apache.sling.jcr.resource ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ 
org.apache.sling.jcr.resource ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 31 source files to 

[INFO] 
:
 

 uses or overrides a deprecated API.
[INFO] 
:
 Recompile with -Xlint:deprecation for 

Build failed in Jenkins: sling-bundles-servlets-get-1.8 #34

2017-10-19 Thread Apache Jenkins Server
See 


Changes:

[ieb] SLING-7140 Support redirects to URLs provided by the underlying resource 
provider.

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

Updating https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get at 
revision '2017-10-19T11:45:27.818 +'
U 
src/main/java/org/apache/sling/servlets/get/impl/helpers/StreamRendererServlet.java
U pom.xml
At revision 1812621

Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 35497
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[sling-bundles-servlets-get-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 35497
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -U clean 
deploy
[INFO] Scanning for projects...
[INFO] 
[INFO] 
[INFO] Building Apache Sling Default GET Servlets 2.1.27-SNAPSHOT
[INFO] 
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.api/2.16.3-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/sling/org.apache.sling.api/2.16.3-SNAPSHOT/maven-metadata.xml
 (1008 B at 1.8 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ 
org.apache.sling.servlets.get ---
[INFO] Deleting 

[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-java) @ 
org.apache.sling.servlets.get ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (ban-maven-scr-plugin) @ 
org.apache.sling.servlets.get ---
[INFO] 
[INFO] --- javaversion-maven-plugin:1.0.0:set-java-version (default) @ 
org.apache.sling.servlets.get ---
[INFO] Setting Bundle-RequiredExecutionEnvironment=JavaSE-1.7 from 
sling.java.version=7
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ org.apache.sling.servlets.get ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
org.apache.sling.servlets.get ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
org.apache.sling.servlets.get ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ 
org.apache.sling.servlets.get ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to 

[INFO] 
:
 Some input files use or override a deprecated API.
[INFO] 
:
 Recompile with -Xlint:deprecation for details.
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
:[45,37]
 cannot find symbol
  symbol:   class ExternalizableInputStream
  location: package org.apache.sling.api.resource
[ERROR] 
:[54,37]
 cannot find symbol
  symbol:   class ExternalizableInputStream
  location: package org.apache.sling.api.resource
[ERROR] 

[sling-org-apache-sling-resourceresolver] branch master updated: SLING-7140 Support redirects to URLs provided by teh underlying resource provider.

2017-10-19 Thread ieb
This is an automated email from the ASF dual-hosted git repository.

ieb pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resourceresolver.git


The following commit(s) were added to refs/heads/master by this push:
 new ec3844b  SLING-7140 Support redirects to URLs provided by teh 
underlying resource provider.
ec3844b is described below

commit ec3844be2612f48cb3e599792bc05c36c36cc031
Author: Ian Boston 
AuthorDate: Thu Oct 19 12:43:23 2017 +0100

SLING-7140 Support redirects to URLs provided by teh underlying resource 
provider.
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index cb179e2..0478dd7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,7 +108,7 @@
 
 org.apache.sling
 org.apache.sling.api
-2.16.2
+2.16.3-SNAPSHOT
 provided
 
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" '].


svn commit: r1812621 - in /sling/trunk: bundles/api/src/main/java/org/apache/sling/api/resource/ bundles/jcr/resource/ bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/ bundle

2017-10-19 Thread ieb
Author: ieb
Date: Thu Oct 19 11:42:07 2017
New Revision: 1812621

URL: http://svn.apache.org/viewvc?rev=1812621=rev
Log:
SLING-7140 Support redirects to URLs provided by the underlying resource 
provider.


Added:

sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ExternalizableInputStream.java

sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/URIProvider.java

sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrExternalizableInputStream.java
Modified:

sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/package-info.java
sling/trunk/bundles/jcr/resource/pom.xml

sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/HelperData.java

sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResource.java

sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrProviderStateFactory.java

sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java

sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrModifiableValueMapTest.java

sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/helper/JcrNodeResourceIteratorTest.java

sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrItemResourceFactoryTest.java

sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrNodeResourceTest.java

sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrTestNodeResource.java
sling/trunk/bundles/servlets/get/pom.xml

sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/StreamRendererServlet.java
sling/trunk/launchpad/builder/src/main/provisioning/sling.txt

Added: 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ExternalizableInputStream.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ExternalizableInputStream.java?rev=1812621=auto
==
--- 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ExternalizableInputStream.java
 (added)
+++ 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ExternalizableInputStream.java
 Thu Oct 19 11:42:07 2017
@@ -0,0 +1,49 @@
+/*
+ * 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.api.resource;
+
+import java.net.URI;
+
+/**
+ * This interface is normally used to extend an InputStream to indicate that 
it has a URI form that could
+ * be used in place of the InputStream if desired. It is used in situations 
where the internal of a ResourceProvider
+ * wants to offload IO to channels that do not pass through the JVM. The URI 
that is returned may have restrictions
+ * imposed on it requiring it to be used immediately. Do not store the URI for 
later usage as it will, in most cases,
+ * have expired.
+ *
+ * @since 2.11.0
+ */
+public interface ExternalizableInputStream {
+
+/**
+ * Get a URI that is specific to the current session, and may be used 
anywhere. May return null if this
+ * type of URI is not available.
+ * @return a URI intended for any network context.
+ */
+URI getURI();
+
+/**
+ * Get a URI that is specific to the current session and may only be used 
in a private context. A private network context means
+ * that the URI may only be resolvable inside a private network. Usign 
this URL in any context will not always work, and
+ * may leak information about the private network.
+ * @return a URI intended for a private network context.
+ */
+URI getPrivateURI();
+}

Added: 
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/URIProvider.java
URL: 

[sling-site] branch asf-site updated: Source code moved to Git

2017-10-19 Thread bdelacretaz
This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 947d44e  Source code moved to Git
947d44e is described below

commit 947d44e8ba12a85aabd00ee8fd6be8aa8d6108d0
Author: Bertrand Delacretaz 
AuthorDate: Thu Oct 19 12:50:09 2017 +0200

Source code moved to Git
---
 project-information.html | 36 +---
 tags/adaptTo.html|  2 ++
 tags/api.html|  2 ++
 tags/authentication.html |  2 ++
 tags/bundles.html|  2 ++
 tags/caching.html|  2 ++
 tags/commons.html|  2 ++
 tags/community.html  |  2 ++
 tags/configuration.html  |  2 ++
 tags/contentdistribution.html|  2 ++
 tags/contentloading.html |  2 ++
 tags/core.html   |  2 ++
 tags/databases.html  |  2 ++
 tags/development.html|  2 ++
 tags/discovery.html  |  2 ++
 tags/documentation.html  |  2 ++
 tags/downloads.html  |  2 ++
 tags/eclipse.html|  2 ++
 tags/editors.html|  2 ++
 tags/embedding.html  |  2 ++
 tags/error.html  |  2 ++
 tags/errorhandling.html  |  2 ++
 tags/events.html |  2 ++
 tags/featureflags.html   |  2 ++
 tags/formauth.html   |  2 ++
 tags/{commons.html => git.html}  |  4 +++-
 tags/{mocks.html => github.html} |  4 +++-
 tags/groovy.html |  2 ++
 tags/healthchecks.html   |  2 ++
 tags/htl.html|  2 ++
 tags/html.html   |  2 ++
 tags/i18n.html   |  2 ++
 tags/ide.html|  2 ++
 tags/installer.html  |  2 ++
 tags/issuetracker.html   |  2 ++
 tags/jackrabbit.html |  2 ++
 tags/jcr.html|  2 ++
 tags/jobs.html   |  2 ++
 tags/jsp.html|  2 ++
 tags/launchers.html  |  2 ++
 tags/launchpad.html  |  2 ++
 tags/logging.html|  2 ++
 tags/mailinglists.html   |  2 ++
 tags/maven.html  |  2 ++
 tags/metrics.html|  2 ++
 tags/mimetypes.html  |  2 ++
 tags/mocks.html  |  2 ++
 tags/models.html |  2 ++
 tags/modules.html|  2 ++
 tags/news.html   |  2 ++
 tags/nodetypes.html  |  2 ++
 tags/nosql.html  |  2 ++
 tags/oak.html|  2 ++
 tags/obsolete.html   |  2 ++
 tags/openid.html |  2 ++
 tags/operations.html |  2 ++
 tags/osgi.html   |  2 ++
 tags/pipes.html  |  2 ++
 tags/pmc.html|  2 ++
 tags/postprocessing.html |  2 ++
 tags/postservlet.html|  2 ++
 tags/publishing.html |  2 ++
 tags/repoinit.html   |  2 ++
 tags/repository.html |  2 ++
 tags/requests.html   |  2 ++
 tags/resourcemappings.html   |  2 ++
 tags/resourceproviders.html  |  2 ++
 tags/resourceresolver.html   |  2 ++
 tags/resources.html  |  2 ++
 tags/runmodes.html   |  2 ++
 tags/scheduling.html |  2 ++
 tags/scriptresolver.html |  2 ++
 tags/scripts.html|  2 ++
 tags/security.html   |  2 ++
 tags/serviceusers.html   |  2 ++
 tags/servletresolver.html|  2 ++
 tags/servlets.html   |  2 ++
 tags/slingquery.html |  2 ++
 tags/slingstart.html |  2 ++
 tags/sourcecode.html |  2 ++
 tags/testing.html|  2 ++
 tags/threads.html|  2 ++
 tags/thymeleaf.html  |  2 ++
 tags/tutorial.html   |  2 ++
 tags/tutorials.html  |  2 ++
 tags/urls.html   |  2 ++
 tags/validation.html |  2 ++
 tags/webconsole.html |  2 ++
 tags/xml.html|  2 ++
 tags/xslt.html   |  2 ++
 90 files changed, 185 insertions(+), 33 deletions(-)

diff --git a/project-information.html b/project-information.html
index d71bd85..f00b29d 100644
--- a/project-information.html
+++ b/project-information.html
@@ -73,7 +73,7 @@
 
 
 Home 
   
-mailinglists issuetracker sourcecode 
+mailinglists issuetracker sourcecode git github 
 
 
 Project Information
@@ -134,35 +134,9 @@
 This project uses JIRA a J2EE-based, issue tracking and project management 
application. Issues, bugs, and feature requests should be submitted to the 
following issue tracking 

[sling-site] branch asf-site updated: push latest unpublished changes

2017-10-19 Thread bdelacretaz
This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 5e16927  push latest unpublished changes
5e16927 is described below

commit 5e16927c21bcb0653221a67a049c40e11823d040
Author: Bertrand Delacretaz 
AuthorDate: Thu Oct 19 12:39:07 2017 +0200

push latest unpublished changes
---
 downloads.html | 28 ++--
 releases.html  |  4 +++-
 2 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/downloads.html b/downloads.html
index c39d4b9..6798ec1 100644
--- a/downloads.html
+++ b/downloads.html
@@ -209,8 +209,8 @@
 Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.discovery.commons-1.0.20-source-release.zip.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.discovery.commons-1.0.20-source-release.zip.md5;>md5)
 Discovery 
Base2.0.4Bundle 
(http://www.apache.org/dist/sling/org.apache.sling.discovery.base-2.0.4.jar.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.discovery.base-2.0.4.jar.md5;>md5)
 Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.discovery.base-2.0.4-source-release.zip.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.discovery.base-2.0.4-source-release.zip.md5;>md5)
-Discovery 
Oak1.2.20Bundle 
(http://www.apache.org/dist/sling/org.apache.sling.discovery.oak-1.2.20.jar.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.discovery.oak-1.2.20.jar.md5;>md5)
-Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.discovery.oak-1.2.20-source-release.zip.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.discovery.oak-1.2.20-source-release.zip.md5;>md5)
+Discovery 
Oak1.2.22Bundle 
(http://www.apache.org/dist/sling/org.apache.sling.discovery.oak-1.2.22.jar.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.discovery.oak-1.2.22.jar.md5;>md5)
+Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.discovery.oak-1.2.22-source-release.zip.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.discovery.oak-1.2.22-source-release.zip.md5;>md5)
 Discovery 
Standalone1.0.2Bundle
 (http://www.apache.org/dist/sling/org.apache.sling.discovery.standalone-1.0.2.jar.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.discovery.standalone-1.0.2.jar.md5;>md5)
 Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.discovery.standalone-1.0.2-source-release.zip.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.discovery.standalone-1.0.2-source-release.zip.md5;>md5)
 Discovery 
Support1.0.0Bundle 
(http://www.apache.org/dist/sling/org.apache.sling.discovery.support-1.0.0.jar.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.discovery.support-1.0.0.jar.md5;>md5)
@@ -451,8 +451,8 @@
 Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.security-1.1.6-source-release.zip.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.security-1.1.6-source-release.zip.md5;>md5)
 Service User 
Mapper1.3.4Bundle 
(http://www.apache.org/dist/sling/org.apache.sling.serviceusermapper-1.3.4.jar.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.serviceusermapper-1.3.4.jar.md5;>md5)
 Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.serviceusermapper-1.3.4-source-release.zip.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.serviceusermapper-1.3.4-source-release.zip.md5;>md5)
-Servlet 
Helpers1.1.0Bundle 
(http://www.apache.org/dist/sling/org.apache.sling.servlet-helpers-1.1.0.jar.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.servlet-helpers-1.1.0.jar.md5;>md5)
-Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.servlet-helpers-1.1.0-source-release.zip.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.servlet-helpers-1.1.0-source-release.zip.md5;>md5)
+Servlet 
Helpers1.1.2Bundle 
(http://www.apache.org/dist/sling/org.apache.sling.servlet-helpers-1.1.2.jar.asc;>asc,
 http://www.apache.org/dist/sling/org.apache.sling.servlet-helpers-1.1.2.jar.md5;>md5)
+Source
 ZIP (http://www.apache.org/dist/sling/org.apache.sling.servlet-helpers-1.1.2-source-release.zip.asc;>asc,
 

Jenkins build is still unstable: sling-karaf-org.apache.sling.karaf-integration-tests-1.8 #69

2017-10-19 Thread Apache Jenkins Server
See