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
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 @@
* 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);