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:17:49 UTC

[sling-org-apache-sling-testing-jcr-mock] 11/17: SLING-4090 Define package versions for Sling Mock, JCR Mock, OSGi Mock

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

rombert pushed a commit to annotated tag org.apache.sling.testing.jcr-mock-1.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-jcr-mock.git

commit a61646c43956b23ddb9f5d40269c6c6be0868eac
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Wed Oct 22 20:40:31 2014 +0000

    SLING-4090 Define package versions for Sling Mock, JCR Mock, OSGi Mock
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/jcr-mock@1633717 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                            | 27 +++++++++++++++++++++-
 .../sling/testing/mock/jcr/package-info.java       |  1 +
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index da3a379..b0e2b99 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
 
     <artifactId>org.apache.sling.testing.jcr-mock</artifactId>
     <version>1.0.1-SNAPSHOT</version>
-    <packaging>jar</packaging>
+    <packaging>bundle</packaging>
 
     <name>Apache Sling Testing JCR Mock</name>
     <description>Mock implementation of selected JCR APIs.</description>
@@ -94,4 +94,29 @@
   
     </dependencies>
   
+    <build>
+        <plugins>
+    
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <extensions>true</extensions>
+            </plugin>
+      
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-scr-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>generate-scr-scrdescriptor</id>
+                        <goals>
+                            <goal>scr</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+    
+        </plugins>
+    </build>
+  
 </project>
diff --git a/src/main/java/org/apache/sling/testing/mock/jcr/package-info.java b/src/main/java/org/apache/sling/testing/mock/jcr/package-info.java
index cf6e2e7..8477a03 100644
--- a/src/main/java/org/apache/sling/testing/mock/jcr/package-info.java
+++ b/src/main/java/org/apache/sling/testing/mock/jcr/package-info.java
@@ -19,5 +19,6 @@
 /**
  * Mock implementation of selected JCR APIs.
  */
+@aQute.bnd.annotation.Version("1.0")
 package org.apache.sling.testing.mock.jcr;
 

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