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:25:18 UTC

[sling-org-apache-sling-commons-osgi] 04/11: SLING-4520 Commons OSGi: Define package versions via package-info.java this additionally exports the package org.apache.sling.commons.osgi.bundleversion which was not exported before, but i assume this was by accident

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

rombert pushed a commit to annotated tag org.apache.sling.commons.osgi-2.3.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-osgi.git

commit 0b498b4f5c9a3e85215e52ffbb67481701307edf
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Thu Mar 19 11:12:37 2015 +0000

    SLING-4520 Commons OSGi: Define package versions via package-info.java
    this additionally exports the package org.apache.sling.commons.osgi.bundleversion which was not exported before, but i assume this was by accident
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/osgi@1667703 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                              |  7 -------
 .../commons/osgi/bundleversion/package-info.java     | 20 ++++++++++++++++++++
 .../org/apache/sling/commons/osgi/package-info.java  | 20 ++++++++++++++++++++
 3 files changed, 40 insertions(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index b7db359..8f846e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,13 +50,6 @@
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Export-Package>
-                            org.apache.sling.commons.osgi;version=2.2.0
-                        </Export-Package>
-                    </instructions>
-                </configuration>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
diff --git a/src/main/java/org/apache/sling/commons/osgi/bundleversion/package-info.java b/src/main/java/org/apache/sling/commons/osgi/bundleversion/package-info.java
new file mode 100644
index 0000000..b770576
--- /dev/null
+++ b/src/main/java/org/apache/sling/commons/osgi/bundleversion/package-info.java
@@ -0,0 +1,20 @@
+/*
+ * 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.
+ */
+@aQute.bnd.annotation.Version("2.2")
+package org.apache.sling.commons.osgi.bundleversion;
diff --git a/src/main/java/org/apache/sling/commons/osgi/package-info.java b/src/main/java/org/apache/sling/commons/osgi/package-info.java
new file mode 100644
index 0000000..ccd9e91
--- /dev/null
+++ b/src/main/java/org/apache/sling/commons/osgi/package-info.java
@@ -0,0 +1,20 @@
+/*
+ * 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.
+ */
+@aQute.bnd.annotation.Version("2.2")
+package org.apache.sling.commons.osgi;

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