summaryrefslogtreecommitdiffstats
path: root/archiva-security
diff options
context:
space:
mode:
authorEdwin L. Punzalan <epunzalan@apache.org>2006-10-26 09:15:23 +0000
committerEdwin L. Punzalan <epunzalan@apache.org>2006-10-26 09:15:23 +0000
commit2b1e907f1070d1ceef1f9e211363af3aacd2b95c (patch)
tree87e3dc71eb1d1c01c214771d04c1dc98359deb3a /archiva-security
parent15fe0128dd35bc08124b4ee76d59b360ad6541cb (diff)
downloadarchiva-2b1e907f1070d1ceef1f9e211363af3aacd2b95c.tar.gz
archiva-2b1e907f1070d1ceef1f9e211363af3aacd2b95c.zip
- verified copyright headers
- optimized imports - ran code formatting git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@467926 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-security')
-rw-r--r--archiva-security/pom.xml20
-rw-r--r--archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaGuestRoleProfile.java2
-rw-r--r--archiva-security/src/main/java/org/apache/maven/archiva/security/RepositoryObserverDynamicRoleProfile.java2
-rw-r--r--archiva-security/src/main/resources/META-INF/plexus/components.xml17
4 files changed, 38 insertions, 3 deletions
diff --git a/archiva-security/pom.xml b/archiva-security/pom.xml
index e43414aa4..da4f8e867 100644
--- a/archiva-security/pom.xml
+++ b/archiva-security/pom.xml
@@ -1,4 +1,22 @@
-<?xml version="1.0"?><project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~
+ ~ Licensed 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.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>archiva</artifactId>
<groupId>org.apache.maven.archiva</groupId>
diff --git a/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaGuestRoleProfile.java b/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaGuestRoleProfile.java
index c8ba7d127..caf4766b2 100644
--- a/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaGuestRoleProfile.java
+++ b/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaGuestRoleProfile.java
@@ -18,8 +18,8 @@ package org.apache.maven.archiva.security;
import org.codehaus.plexus.rbac.profile.AbstractRoleProfile;
-import java.util.List;
import java.util.ArrayList;
+import java.util.List;
/**
* @todo why does this need to be created in the client app?
diff --git a/archiva-security/src/main/java/org/apache/maven/archiva/security/RepositoryObserverDynamicRoleProfile.java b/archiva-security/src/main/java/org/apache/maven/archiva/security/RepositoryObserverDynamicRoleProfile.java
index 91c730d20..fd76c1e2f 100644
--- a/archiva-security/src/main/java/org/apache/maven/archiva/security/RepositoryObserverDynamicRoleProfile.java
+++ b/archiva-security/src/main/java/org/apache/maven/archiva/security/RepositoryObserverDynamicRoleProfile.java
@@ -18,8 +18,8 @@ package org.apache.maven.archiva.security;
import org.codehaus.plexus.rbac.profile.AbstractDynamicRoleProfile;
-import java.util.List;
import java.util.ArrayList;
+import java.util.List;
/**
* @plexus.component role="org.codehaus.plexus.rbac.profile.DynamicRoleProfile"
diff --git a/archiva-security/src/main/resources/META-INF/plexus/components.xml b/archiva-security/src/main/resources/META-INF/plexus/components.xml
index 8accc36fe..3f5190db0 100644
--- a/archiva-security/src/main/resources/META-INF/plexus/components.xml
+++ b/archiva-security/src/main/resources/META-INF/plexus/components.xml
@@ -1,3 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ ~ Copyright 2005-2006 The Apache Software Foundation.
+ ~
+ ~ Licensed 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.
+ -->
+
<component-set>
<components>
<!-- TODO: wouldn't need to redeclare if it was composition -->