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 09:12:41 UTC

[sling-adapter-annotations] annotated tag adapter-annotations-1.0.0 created (now 54d5b12)

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

rombert pushed a change to annotated tag adapter-annotations-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-adapter-annotations.git.


      at 54d5b12  (tag)
 tagging 8ec71c30300b755559659a4d6dc4689238e335b1 (commit)
      by Justin Edelson
      on Thu Jan 12 16:52:50 2012 +0000

- Log -----------------------------------------------------------------
adapter-annotations-1.0.0
-----------------------------------------------------------------------

This annotated tag includes the following new commits:

     new da7c5e4  SLING-2313 - creating a new adapter annotations module and enhancing the sling plugin to generate the adapter JSON file
     new 842967d  SLING-2313 - apparently I forgot to add the pom file
     new 87a75c5  Add svn:ignore prop
     new 00ed342  SLING-2354 - adding Adaptables annotation
     new 79efd03  adding scm info to pom
     new 6a6eda9  [maven-release-plugin] prepare release adapter-annotations-1.0.0
     new 8ec71c3  [maven-release-plugin]  copy for tag adapter-annotations-1.0.0

The 7 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-adapter-annotations] 02/07: SLING-2313 - apparently I forgot to add the pom file

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

rombert pushed a commit to annotated tag adapter-annotations-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-adapter-annotations.git

commit 842967d925a7091cd22629567fcd4e70c21f20f5
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Fri Dec 2 04:34:20 2011 +0000

    SLING-2313 - apparently I forgot to add the pom file
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/adapter-annotations@1209359 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..9e2dfc2
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <artifactId>sling</artifactId>
+        <groupId>org.apache.sling</groupId>
+        <version>12</version>
+        <relativePath>../../parent/pom.xml</relativePath>
+    </parent>
+    <groupId>org.apache.sling</groupId>
+    <artifactId>adapter-annotations</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <name>Sling Adapter Annotations</name>
+    <description>Annotations used to generate Sling Adapter metadata</description>
+</project>
\ No newline at end of file

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

[sling-adapter-annotations] 05/07: adding scm info to pom

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

rombert pushed a commit to annotated tag adapter-annotations-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-adapter-annotations.git

commit 79efd03ec83e1fe328c004c79c0f5bf8d3d2ba43
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Thu Jan 12 15:58:03 2012 +0000

    adding scm info to pom
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/adapter-annotations@1230604 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pom.xml b/pom.xml
index 9e2dfc2..23f7b55 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,4 +32,10 @@
     <version>0.0.1-SNAPSHOT</version>
     <name>Sling Adapter Annotations</name>
     <description>Annotations used to generate Sling Adapter metadata</description>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/maven/adapter-annotations</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/maven/adapter-annotations</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/trunk/maven/adapter-annotations</url>
+    </scm>
 </project>
\ No newline at end of file

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

[sling-adapter-annotations] 07/07: [maven-release-plugin] copy for tag adapter-annotations-1.0.0

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

rombert pushed a commit to annotated tag adapter-annotations-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-adapter-annotations.git

commit 8ec71c30300b755559659a4d6dc4689238e335b1
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Thu Jan 12 16:52:50 2012 +0000

    [maven-release-plugin]  copy for tag adapter-annotations-1.0.0
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/tags/adapter-annotations-1.0.0@1230634 13f79535-47bb-0310-9956-ffa450edef68

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

[sling-adapter-annotations] 04/07: SLING-2354 - adding Adaptables annotation

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

rombert pushed a commit to annotated tag adapter-annotations-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-adapter-annotations.git

commit 00ed342168d6d641133ded43054aea08cc53ed49
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Wed Jan 11 17:24:17 2012 +0000

    SLING-2354 - adding Adaptables annotation
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/adapter-annotations@1230159 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/adapter/annotations/Adaptable.java       |  2 +-
 .../sling/adapter/annotations/Adaptables.java      | 40 ++++++++++++++++++++++
 2 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/adapter/annotations/Adaptable.java b/src/main/java/org/apache/sling/adapter/annotations/Adaptable.java
index a30ad21..f3ca5ea 100644
--- a/src/main/java/org/apache/sling/adapter/annotations/Adaptable.java
+++ b/src/main/java/org/apache/sling/adapter/annotations/Adaptable.java
@@ -25,7 +25,7 @@ import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
 /**
- * The <code>AdaptableInfo</code> annotation defines metadata about an implementation
+ * The <code>Adaptable</code> annotation defines metadata about an implementation
  * of <code>org.apache.sling.api.adapter.Adaptable</code>.
  */
 @Target(ElementType.TYPE)
diff --git a/src/main/java/org/apache/sling/adapter/annotations/Adaptables.java b/src/main/java/org/apache/sling/adapter/annotations/Adaptables.java
new file mode 100644
index 0000000..6c0bb5b
--- /dev/null
+++ b/src/main/java/org/apache/sling/adapter/annotations/Adaptables.java
@@ -0,0 +1,40 @@
+/*
+ * 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.adapter.annotations;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * The <code>Adaptables</code> annotation allows multiple
+ * <code>org.apache.sling.api.adapter.annotations.Adaptable</code> annotations
+ * to be added to a single class.
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.CLASS)
+@Documented
+public @interface Adaptables {
+
+    /**
+     * The adaptable annotations.
+     */
+    Adaptable[] value();
+
+}

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

[sling-adapter-annotations] 06/07: [maven-release-plugin] prepare release adapter-annotations-1.0.0

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

rombert pushed a commit to annotated tag adapter-annotations-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-adapter-annotations.git

commit 6a6eda99476de4492fe872ffc25003631b7c280d
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Thu Jan 12 16:52:47 2012 +0000

    [maven-release-plugin] prepare release adapter-annotations-1.0.0
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/adapter-annotations@1230633 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 23f7b55..b9a3013 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,8 +17,7 @@
   specific language governing permissions and limitations
   under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
     <modelVersion>4.0.0</modelVersion>
     <parent>
@@ -29,13 +28,13 @@
     </parent>
     <groupId>org.apache.sling</groupId>
     <artifactId>adapter-annotations</artifactId>
-    <version>0.0.1-SNAPSHOT</version>
+    <version>1.0.0</version>
     <name>Sling Adapter Annotations</name>
     <description>Annotations used to generate Sling Adapter metadata</description>
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/maven/adapter-annotations</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/maven/adapter-annotations</developerConnection>
-        <url>http://svn.apache.org/viewvc/sling/trunk/maven/adapter-annotations</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/adapter-annotations-1.0.0</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/adapter-annotations-1.0.0</developerConnection>
+        <url>http://svn.apache.org/viewvc/sling/tags/adapter-annotations-1.0.0</url>
     </scm>
 </project>
\ No newline at end of file

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

[sling-adapter-annotations] 03/07: Add svn:ignore prop

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

rombert pushed a commit to annotated tag adapter-annotations-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-adapter-annotations.git

commit 87a75c5241f1d07b01871f03b4f830d73bfa932a
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Dec 12 08:36:41 2011 +0000

    Add svn:ignore prop
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/adapter-annotations@1213163 13f79535-47bb-0310-9956-ffa450edef68

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

[sling-adapter-annotations] 01/07: SLING-2313 - creating a new adapter annotations module and enhancing the sling plugin to generate the adapter JSON file

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

rombert pushed a commit to annotated tag adapter-annotations-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-adapter-annotations.git

commit da7c5e440d9e0fa14bde8d04c0ee7d2561e65589
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Fri Dec 2 02:51:45 2011 +0000

    SLING-2313 - creating a new adapter annotations module and enhancing the sling plugin to generate the adapter JSON file
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/adapter-annotations@1209336 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/adapter/annotations/Adaptable.java       | 47 ++++++++++++++++++++++
 .../apache/sling/adapter/annotations/Adapter.java  | 43 ++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/src/main/java/org/apache/sling/adapter/annotations/Adaptable.java b/src/main/java/org/apache/sling/adapter/annotations/Adaptable.java
new file mode 100644
index 0000000..a30ad21
--- /dev/null
+++ b/src/main/java/org/apache/sling/adapter/annotations/Adaptable.java
@@ -0,0 +1,47 @@
+/*
+ * 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.adapter.annotations;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * The <code>AdaptableInfo</code> annotation defines metadata about an implementation
+ * of <code>org.apache.sling.api.adapter.Adaptable</code>.
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.CLASS)
+@Documented
+public @interface Adaptable {
+    
+    /**
+     * The class which can be adapted.
+     */
+    Class<?> adaptableClass();
+    
+    /**
+     * The possible adapters for this adaptable.
+     */
+    Adapter[] adapters();
+    
+
+}
\ No newline at end of file
diff --git a/src/main/java/org/apache/sling/adapter/annotations/Adapter.java b/src/main/java/org/apache/sling/adapter/annotations/Adapter.java
new file mode 100644
index 0000000..e2d4891
--- /dev/null
+++ b/src/main/java/org/apache/sling/adapter/annotations/Adapter.java
@@ -0,0 +1,43 @@
+/*
+ * 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.adapter.annotations;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * The <code>Adapter</code> annotation the target of the adaptation of an
+ * <code>Adaptable</code> and, optionally, the condition under which the
+ * adaptation will produce a non-null result.
+ */
+@Target(ElementType.TYPE)
+@Retention(RetentionPolicy.CLASS)
+@Documented
+public @interface Adapter {
+    /**
+     * The list of classes to which the adaptable can be adapted.
+     * */
+    Class<?>[] value();
+
+    /**
+     * The condition under which an adaptation will be successful.
+     */
+    String condition() default "";
+}

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