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

cschneider pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal-messages.git


The following commit(s) were added to refs/heads/master by this push:
     new f69def1  Revert "SLING-12132 - Add package message metadata provider 
SPI (#19)"
f69def1 is described below

commit f69def1a9305f380aedf2783d68a9daa55887a6e
Author: Christian Schneider <[email protected]>
AuthorDate: Thu Nov 30 12:03:39 2023 +0100

    Revert "SLING-12132 - Add package message metadata provider SPI (#19)"
    
    This reverts commit f01a9b84ca73204eb7300707b5b7cef9c4696ac3.
---
 pom.xml                                            |  7 -----
 .../spi/PackageMessageMetadataProvider.java        | 35 ----------------------
 .../journal/messages/spi/package-info.java         | 20 -------------
 3 files changed, 62 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9e7c43f..4d4711a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,13 +77,6 @@
             <version>2.0.0</version>
         </dependency>
 
-        <dependency>
-            <groupId>org.apache.sling</groupId>
-            <artifactId>org.apache.sling.distribution.api</artifactId>
-            <version>0.7.0</version>
-            <scope>provided</scope>
-        </dependency>
-
         <!-- Test -->
         <dependency>
             <groupId>junit</groupId>
diff --git 
a/src/main/java/org/apache/sling/distribution/journal/messages/spi/PackageMessageMetadataProvider.java
 
b/src/main/java/org/apache/sling/distribution/journal/messages/spi/PackageMessageMetadataProvider.java
deleted file mode 100644
index 45a7d1e..0000000
--- 
a/src/main/java/org/apache/sling/distribution/journal/messages/spi/PackageMessageMetadataProvider.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * 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.distribution.journal.messages.spi;
-
-import org.apache.sling.distribution.DistributionRequest;
-import org.apache.sling.distribution.journal.messages.PackageMessage;
-import org.osgi.annotation.versioning.ConsumerType;
-
-import java.util.Map;
-
-
-/**
- * This interface can be used to provide metadata for a ${@link 
PackageMessage}.
- */
-@ConsumerType
-public interface PackageMessageMetadataProvider {
-
-       Map<String,String> getMetadata(DistributionRequest request) throws 
Exception;
-}
\ No newline at end of file
diff --git 
a/src/main/java/org/apache/sling/distribution/journal/messages/spi/package-info.java
 
b/src/main/java/org/apache/sling/distribution/journal/messages/spi/package-info.java
deleted file mode 100644
index 6196104..0000000
--- 
a/src/main/java/org/apache/sling/distribution/journal/messages/spi/package-info.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * 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.
- */
[email protected]("1.0.0")
-package org.apache.sling.distribution.journal.messages.spi;
\ No newline at end of file

Reply via email to