You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:11:49 UTC

[sling-org-apache-sling-scripting-sightly-models-provider] annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2 created (now 32f3a3c)

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

rombert pushed a change to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git.


      at 32f3a3c  (tag)
 tagging a41ee90910e4daa3952f5611ab5fa360c9e2ad1e (commit)
      by Radu Cotescu
      on Mon Sep 5 15:26:01 2016 +0000

- Log -----------------------------------------------------------------
org.apache.sling.scripting.sightly.models.provider-1.0.2
-----------------------------------------------------------------------

This annotated tag includes the following new commits:

     new ac1666c  SLING-4704 - Move the Sightly scripting engine artifacts from contrib to bundles
     new 05f5c10  svn:ignore
     new 6807384  Update to Sling Parent 23
     new 332659e  Remove superflous sling.java.version=6 as it's the default now
     new 0bbe25e  set parent version to 24 and add empty relativePath where missing
     new 9d020af  SLING-4734 first try to instantiate model with request then with resource
     new 212ee80  use released version of Models API
     new b05f95a  SLING-4734 skip provider as early as possible if the given class is no model
     new 61deecd  SLING-5036 - Optimise the ModelsFactoryUseProvider to fail as early as possible if it cannot provide an object
     new f03f3a8  SLING-5074 - Provide a way to configure the priority of the Sling Models Use Provider
     new 22c0fc0  Update the main reactor to parent 25
     new 3f0c850  trivial: corrected javadoc
     new ee3c667  trivial: corrected javadoc
     new 5acde02  [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.models.provider-1.0.0
     new 5d8f593  [maven-release-plugin] prepare for next development iteration
     new 4ef83c1  Switch to parent pom 26
     new 81d08b1  SLING-4734 fix javadoc for the adjusted order of adaptations
     new 5c29f03  improve logging
     new cbdb1cf  fix typo
     new d37830b  SLING-5787 - Modularise the Sightly script engine
     new aa342b3  trivial: improved logging for SlingModelsUseProvider
     new 579c1f0  SLING-6028 - Replace Sightly references with HTL in both code and documentation
     new 21c76fb  SLING-6033 - Update Sightly bundles to parent pom 28
     new 3012dd4  trivial: configured javadoc plugin
     new 29ab310  releng: updated dependencies
     new 6d3d9ee  [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.models.provider-1.0.2
     new a41ee90  [maven-release-plugin] copy for tag org.apache.sling.scripting.sightly.models.provider-1.0.2

The 27 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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

[sling-org-apache-sling-scripting-sightly-models-provider] 02/13: Switch to parent pom 26

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit 4ef83c1cc7f33b074ea22d2dc853898a335839c0
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Sun Jan 3 14:07:46 2016 +0000

    Switch to parent pom 26
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1722720 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index fcd5e55..a35632b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.apache.sling</groupId>
         <artifactId>sling</artifactId>
-        <version>25</version>
+        <version>26</version>
         <relativePath />
     </parent>
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 12/13: [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.models.provider-1.0.2

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit 6d3d9ee52d902038418710e03eeda22f93a6acba
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Mon Sep 5 15:25:48 2016 +0000

    [maven-release-plugin] prepare release org.apache.sling.scripting.sightly.models.provider-1.0.2
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1759301 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9ee67c4..3759240 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
     <!-- P R O J E C T                                                           -->
     <!-- ======================================================================= -->
     <artifactId>org.apache.sling.scripting.sightly.models.provider</artifactId>
-    <version>1.0.1-SNAPSHOT</version>
+    <version>1.0.2</version>
     <packaging>bundle</packaging>
 
     <name>Apache Sling Scripting HTL Sling Models Use Provider</name>
@@ -44,9 +44,9 @@
     </description>
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider</developerConnection>
-        <url>http://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.models.provider-1.0.2</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.models.provider-1.0.2</developerConnection>
+        <url>http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.models.provider-1.0.2</url>
     </scm>
 
     <!-- ======================================================================= -->

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 05/13: fix typo

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit cbdb1cf7f4653db3abe376887ef60f43f8c78d00
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri May 13 07:45:09 2016 +0000

    fix typo
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1743612 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/scripting/sightly/models/impl/SlingModelsUseProvider.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
index 0ca99a1..6a5aa17 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
@@ -131,7 +131,7 @@ public class SlingModelsUseProvider implements UseProvider {
                 return ProviderOutcome.failure(new IllegalStateException("Could not get resource from bindings."));
             }
             if (modelFactory.canCreateFromAdaptable(resource, cls)) {
-                LOGGER.debug("Trying to instantiate class {} as Sling Model from request.", cls);
+                LOGGER.debug("Trying to instantiate class {} as Sling Model from resource.", cls);
                 return ProviderOutcome.notNullOrFailure(modelFactory.createModel(resource, cls));
             }
             return ProviderOutcome.failure(

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 06/13: SLING-5787 - Modularise the Sightly script engine

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit d37830b9c9ec70491a003e65515b50c93e0b71b1
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Thu Jun 16 16:07:57 2016 +0000

    SLING-5787 - Modularise the Sightly script engine
    
    * implemented front-end + back-end compilers
    * added new dependency to the JavaScript + Sling Models use providers in order
    to use version 2.0.0 of the org.apache.sling.scripting.sightly.render API package
    * adapted tests
    (closes #147)
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1748750 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index a35632b..d601f41 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,8 +99,8 @@
         <!-- Sightly -->
         <dependency>
             <groupId>org.apache.sling</groupId>
-            <artifactId>org.apache.sling.scripting.sightly</artifactId>
-            <version>1.0.0</version>
+            <artifactId>org.apache.sling.scripting.sightly.compiler.java</artifactId>
+            <version>0.0.1-SNAPSHOT</version>
             <scope>provided</scope>
         </dependency>
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 13/13: [maven-release-plugin] copy for tag org.apache.sling.scripting.sightly.models.provider-1.0.2

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit a41ee90910e4daa3952f5611ab5fa360c9e2ad1e
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Mon Sep 5 15:26:01 2016 +0000

    [maven-release-plugin] copy for tag org.apache.sling.scripting.sightly.models.provider-1.0.2
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.models.provider-1.0.2@1759302 13f79535-47bb-0310-9956-ffa450edef68

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 01/13: [maven-release-plugin] prepare for next development iteration

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit 5d8f593caf9bfc073900c7f1ffe203981163c18c
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Thu Oct 8 11:05:33 2015 +0000

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1707484 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 599c223..fcd5e55 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
     <!-- P R O J E C T                                                           -->
     <!-- ======================================================================= -->
     <artifactId>org.apache.sling.scripting.sightly.models.provider</artifactId>
-    <version>1.0.0</version>
+    <version>1.0.1-SNAPSHOT</version>
     <packaging>bundle</packaging>
 
     <name>Apache Sling Scripting Sightly Models Use Provider</name>
@@ -43,9 +43,9 @@
     </description>
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.models.provider-1.0.0</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.models.provider-1.0.0</developerConnection>
-        <url>http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.scripting.sightly.models.provider-1.0.0</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider</developerConnection>
+        <url>http://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider</url>
     </scm>
 
     <!-- ======================================================================= -->

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 03/13: SLING-4734 fix javadoc for the adjusted order of adaptations

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit 81d08b195ae33160a566d61ed1cba2f2e3812645
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Jan 21 18:07:39 2016 +0000

    SLING-4734 fix javadoc for the adjusted order of adaptations
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1726044 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/scripting/sightly/models/impl/SlingModelsUseProvider.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
index 01a387d..78f5667 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
@@ -44,8 +44,8 @@ import org.slf4j.LoggerFactory;
  * Sightly {@link UseProvider} which will instantiate a referenced Sling Model.
  * </p>
  * <p>
- * For that it tries to use the {@link ModelFactory#createModel(Object, Class)} first with the adaptable {@link Resource}
- * then with the adaptable {@link SlingHttpServletRequest}. It will always fail with an exception (i.e. no other {@code UseProvider} is
+ * For that it tries to use the {@link ModelFactory#createModel(Object, Class)} first with the adaptable {@link SlingHttpServletRequest}
+ * then with the adaptable {@link Resource}. It will always fail with an exception (i.e. no other {@code UseProvider} is
  * asked afterwards and the exception is being rethrown) in case the following two preconditions are fulfilled:
  * </p>
  * <ol>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 07/13: trivial: improved logging for SlingModelsUseProvider

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit aa342b39e9ac001ee42b4113a3e124109f2ff496
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Tue Jul 19 13:53:09 2016 +0000

    trivial: improved logging for SlingModelsUseProvider
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1753390 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/scripting/sightly/models/impl/SlingModelsUseProvider.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
index 6a5aa17..38a0e00 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
@@ -102,7 +102,7 @@ public class SlingModelsUseProvider implements UseProvider {
         try {
             cls = dynamicClassLoaderManager.getDynamicClassLoader().loadClass(identifier);
         } catch (ClassNotFoundException e) {
-            LOGGER.debug("Could not find class with the given name {}: {}", identifier, e.getMessage());
+            LOGGER.debug("Could not find class with the given name {}.", identifier);
             // next use provider will be queried
             return ProviderOutcome.failure();
         }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 08/13: SLING-6028 - Replace Sightly references with HTL in both code and documentation

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit 579c1f0f0b46839a846b46742b201c79c3040c74
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Fri Sep 2 14:51:07 2016 +0000

    SLING-6028 - Replace Sightly references with HTL in both code and documentation
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1758968 13f79535-47bb-0310-9956-ffa450edef68
---
 README.md                                                          | 6 ++++++
 pom.xml                                                            | 7 ++++---
 .../scripting/sightly/models/impl/SlingModelsUseProvider.java      | 4 ++--
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5cc4c9b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,6 @@
+Apache Sling Scripting HTL Sling Models Use Provider
+==================================================
+
+The Apache Sling Scripting HTL Sling Models Use Provider adds support for accessing
+[Sling Models](https://sling.apache.org/documentation/bundles/models.html)
+from HTL's Use-API leveraging the `ModelFactory`.
diff --git a/pom.xml b/pom.xml
index d601f41..cff5b2b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,10 +36,11 @@
     <version>1.0.1-SNAPSHOT</version>
     <packaging>bundle</packaging>
 
-    <name>Apache Sling Scripting Sightly Models Use Provider</name>
+    <name>Apache Sling Scripting HTL Sling Models Use Provider</name>
 
     <description>
-        Apache Sling Scripting Sightly Models Use Provider adds support for accessing Sling Models from Sightly's Use-API leveraging the ModelFactory.
+        Apache Sling Scripting HTL Sling Models Use Provider adds support for accessing Sling Models from HTL's Use-API leveraging the
+        ModelFactory.
     </description>
 
     <scm>
@@ -96,7 +97,7 @@
             <scope>provided</scope>
         </dependency>
 
-        <!-- Sightly -->
+        <!-- HTL -->
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.scripting.sightly.compiler.java</artifactId>
diff --git a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
index 38a0e00..1de27bf 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
@@ -41,7 +41,7 @@ import org.slf4j.LoggerFactory;
 
 /**
  * <p>
- * Sightly {@link UseProvider} which will instantiate a referenced Sling Model.
+ * HTL {@link UseProvider} which will instantiate a referenced Sling Model.
  * </p>
  * <p>
  * For that it tries to use the {@link ModelFactory#createModel(Object, Class)} first with the adaptable {@link SlingHttpServletRequest}
@@ -59,7 +59,7 @@ import org.slf4j.LoggerFactory;
  */
 @Component(
     metatype = true,
-    label = "Apache Sling Scripting Sightly Sling Models Use Provider",
+    label = "Apache Sling Scripting HTL Sling Models Use Provider",
     description = "The Sling Models Use Provider is responsible for instantiating Sling Models to be used with Sightly's Use-API."
 )
 @Service

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 04/13: improve logging

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit 5c29f033e0ebfc303e5bf58176794b6cb52b0531
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri May 13 07:44:26 2016 +0000

    improve logging
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1743611 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/scripting/sightly/models/impl/SlingModelsUseProvider.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
index 78f5667..0ca99a1 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
@@ -122,13 +122,16 @@ public class SlingModelsUseProvider implements UseProvider {
         try {
             // try to instantiate class via Sling Models (first via request, then via resource)
             if (modelFactory.canCreateFromAdaptable(request, cls)) {
+                LOGGER.debug("Trying to instantiate class {} as Sling Model from request.", cls);
                 return ProviderOutcome.notNullOrFailure(modelFactory.createModel(request, cls));
             }
             Resource resource = (Resource) globalBindings.get(SlingBindings.RESOURCE);
             if (resource == null) {
+                LOGGER.debug("Could not get resource from bindings.");
                 return ProviderOutcome.failure(new IllegalStateException("Could not get resource from bindings."));
             }
             if (modelFactory.canCreateFromAdaptable(resource, cls)) {
+                LOGGER.debug("Trying to instantiate class {} as Sling Model from request.", cls);
                 return ProviderOutcome.notNullOrFailure(modelFactory.createModel(resource, cls));
             }
             return ProviderOutcome.failure(

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 09/13: SLING-6033 - Update Sightly bundles to parent pom 28

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit 21c76fb3cc4bf6b057e1217ca50cd12a660a8f0a
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Fri Sep 2 16:03:35 2016 +0000

    SLING-6033 - Update Sightly bundles to parent pom 28
    
    * switched from BND to OSGi annotations
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1758984 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index cff5b2b..2c98bc2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
     <parent>
         <groupId>org.apache.sling</groupId>
         <artifactId>sling</artifactId>
-        <version>26</version>
+        <version>28</version>
         <relativePath />
     </parent>
 
@@ -73,12 +73,12 @@
         <!-- OSGI -->
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
+            <artifactId>osgi.core</artifactId>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
+            <artifactId>osgi.cmpn</artifactId>
             <scope>provided</scope>
         </dependency>
 
@@ -121,7 +121,7 @@
 
         <dependency>
             <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
+            <artifactId>javax.servlet-api</artifactId>
             <scope>provided</scope>
         </dependency>
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 11/13: releng: updated dependencies

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit 29ab310e4b2205734f596aead2be889d8587b82a
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Mon Sep 5 15:25:20 2016 +0000

    releng: updated dependencies
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1759300 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 17c9bd9..9ee67c4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -111,7 +111,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.scripting.sightly.compiler.java</artifactId>
-            <version>0.0.1-SNAPSHOT</version>
+            <version>1.0.0</version>
             <scope>provided</scope>
         </dependency>
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.

[sling-org-apache-sling-scripting-sightly-models-provider] 10/13: trivial: configured javadoc plugin

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit 3012dd423d892f80b9bd35fed569805b201f0b97
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Mon Sep 5 15:05:35 2016 +0000

    trivial: configured javadoc plugin
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1759284 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/pom.xml b/pom.xml
index 2c98bc2..17c9bd9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,6 +63,16 @@
                 <artifactId>maven-bundle-plugin</artifactId>
                 <extensions>true</extensions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <configuration>
+                    <!-- No javadocs -->
+                    <excludePackageNames>
+                        org.apache.sling.scripting.sightly.models.impl
+                    </excludePackageNames>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.