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:14:46 UTC
[sling-org-apache-sling-serviceusermapper] 16/18: Remove unused SCR
plugin, fix javadoc
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.serviceusermapper-1.2.6
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-serviceusermapper.git
commit 0baa5bafb1934d6be1cfdb58aee6f76631163dc6
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Fri Mar 24 11:23:56 2017 +0000
Remove unused SCR plugin, fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/serviceusermapper@1788409 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 18 +++++++++---------
.../sling/serviceusermapping/ServiceUserValidator.java | 2 ++
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/pom.xml b/pom.xml
index 98c87cb..2195ab0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,10 +49,6 @@
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
- <artifactId>maven-scr-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
@@ -70,6 +66,15 @@
</instructions>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <excludePackageNames>
+ org.apache.sling.serviceusermapping.impl
+ </excludePackageNames>
+ </configuration>
+ </plugin>
</plugins>
</build>
<dependencies>
@@ -102,11 +107,6 @@
<artifactId>osgi.core</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.scr.annotations</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.event</artifactId>
<version>1.3.1</version>
diff --git a/src/main/java/org/apache/sling/serviceusermapping/ServiceUserValidator.java b/src/main/java/org/apache/sling/serviceusermapping/ServiceUserValidator.java
index eaa77f7..72faa34 100644
--- a/src/main/java/org/apache/sling/serviceusermapping/ServiceUserValidator.java
+++ b/src/main/java/org/apache/sling/serviceusermapping/ServiceUserValidator.java
@@ -29,6 +29,8 @@ public interface ServiceUserValidator {
* Validates the configured service user ID.
*
* @param serviceUserId The ID of the configured service user.
+ * @param serviceName The name of the service
+ * @param subServiceName The optional sub service name.
* @return {@code true} if the configured service user is valid; {@code false} otherwise.
*/
boolean isValid(String serviceUserId, String serviceName, String subServiceName);
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.