Author: cziegeler
Date: Tue Aug 15 15:14:59 2017
New Revision: 1805085

URL: http://svn.apache.org/viewvc?rev=1805085&view=rev
Log:
Add service vendor

Modified:
    sling/trunk/bundles/extensions/repoinit/parser/pom.xml
    
sling/trunk/bundles/extensions/repoinit/parser/src/main/java/org/apache/sling/repoinit/parser/impl/RepoInitParserService.java

Modified: sling/trunk/bundles/extensions/repoinit/parser/pom.xml
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/repoinit/parser/pom.xml?rev=1805085&r1=1805084&r2=1805085&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/repoinit/parser/pom.xml (original)
+++ sling/trunk/bundles/extensions/repoinit/parser/pom.xml Tue Aug 15 15:14:59 
2017
@@ -82,17 +82,22 @@
             </plugin>
     </plugins>
   </build>
-  
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-      <version>2.4</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>osgi.core</artifactId>
+        </dependency>
+      <!-- testing -->
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>2.4</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
 </project>

Modified: 
sling/trunk/bundles/extensions/repoinit/parser/src/main/java/org/apache/sling/repoinit/parser/impl/RepoInitParserService.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/repoinit/parser/src/main/java/org/apache/sling/repoinit/parser/impl/RepoInitParserService.java?rev=1805085&r1=1805084&r2=1805085&view=diff
==============================================================================
--- 
sling/trunk/bundles/extensions/repoinit/parser/src/main/java/org/apache/sling/repoinit/parser/impl/RepoInitParserService.java
 (original)
+++ 
sling/trunk/bundles/extensions/repoinit/parser/src/main/java/org/apache/sling/repoinit/parser/impl/RepoInitParserService.java
 Tue Aug 15 15:14:59 2017
@@ -25,10 +25,14 @@ import java.util.List;
 import org.apache.sling.repoinit.parser.RepoInitParser;
 import org.apache.sling.repoinit.parser.RepoInitParsingException;
 import org.apache.sling.repoinit.parser.operations.Operation;
+import org.osgi.framework.Constants;
 import org.osgi.service.component.annotations.Component;
 
 /** ACL definitions parser service */
-@Component(service=RepoInitParser.class)
+@Component(service=RepoInitParser.class,
+    property = {
+            Constants.SERVICE_VENDOR + "=The Apache Software Foundation"
+    })
 public class RepoInitParserService implements RepoInitParser {
 
     @Override


Reply via email to