summaryrefslogtreecommitdiffstats
path: root/archiva-reports-standard/src
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-reports-standard/src
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-reports-standard/src')
-rw-r--r--archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/ReportGroup.java14
-rw-r--r--archiva-reports-standard/src/test/repository/groupId/artifactId/maven-metadata.xml1
-rw-r--r--archiva-reports-standard/src/test/repository/groupId/unexpectedfile.xml4
-rw-r--r--archiva-reports-standard/src/test/repository/maven-metadata.xml1
-rw-r--r--archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessorTest.xml17
-rw-r--r--archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldArtifactReportProcessorTest.xml1
-rw-r--r--archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldSnapshotArtifactReportProcessorTest.xml1
7 files changed, 31 insertions, 8 deletions
diff --git a/archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/ReportGroup.java b/archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/ReportGroup.java
index eec3b01f9..50a5a4bab 100644
--- a/archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/ReportGroup.java
+++ b/archiva-reports-standard/src/main/java/org/apache/maven/archiva/reporting/ReportGroup.java
@@ -1,12 +1,5 @@
package org.apache.maven.archiva.reporting;
-import org.apache.maven.artifact.Artifact;
-import org.apache.maven.artifact.repository.ArtifactRepository;
-import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
-import org.apache.maven.model.Model;
-
-import java.util.Map;
-
/*
* Copyright 2005-2006 The Apache Software Foundation.
*
@@ -23,6 +16,13 @@ import java.util.Map;
* limitations under the License.
*/
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.artifact.repository.ArtifactRepository;
+import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;
+import org.apache.maven.model.Model;
+
+import java.util.Map;
+
/**
* A grouping or report processors for execution as a visible report from the web interface - eg, "health",
* "old artifacts", etc.
diff --git a/archiva-reports-standard/src/test/repository/groupId/artifactId/maven-metadata.xml b/archiva-reports-standard/src/test/repository/groupId/artifactId/maven-metadata.xml
index a8ea6e7e0..0e044a3bd 100644
--- a/archiva-reports-standard/src/test/repository/groupId/artifactId/maven-metadata.xml
+++ b/archiva-reports-standard/src/test/repository/groupId/artifactId/maven-metadata.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
diff --git a/archiva-reports-standard/src/test/repository/groupId/unexpectedfile.xml b/archiva-reports-standard/src/test/repository/groupId/unexpectedfile.xml
index 44c9d51ff..9e6f5c68a 100644
--- a/archiva-reports-standard/src/test/repository/groupId/unexpectedfile.xml
+++ b/archiva-reports-standard/src/test/repository/groupId/unexpectedfile.xml
@@ -1,4 +1,5 @@
-This file is here to make sure that it will not be processed during unit <!--
+<?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");
@@ -14,4 +15,5 @@ This file is here to make sure that it will not be processed during unit <!--
~ limitations under the License.
-->
+This file is here to make sure that it will not be processed during unit
test. \ No newline at end of file
diff --git a/archiva-reports-standard/src/test/repository/maven-metadata.xml b/archiva-reports-standard/src/test/repository/maven-metadata.xml
index 9efaee38c..2b1b5b1a1 100644
--- a/archiva-reports-standard/src/test/repository/maven-metadata.xml
+++ b/archiva-reports-standard/src/test/repository/maven-metadata.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
diff --git a/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessorTest.xml b/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessorTest.xml
index 862124666..f0c16341f 100644
--- a/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessorTest.xml
+++ b/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/DuplicateArtifactFileReportProcessorTest.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>
<component>
diff --git a/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldArtifactReportProcessorTest.xml b/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldArtifactReportProcessorTest.xml
index caee1840a..34b01e482 100644
--- a/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldArtifactReportProcessorTest.xml
+++ b/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldArtifactReportProcessorTest.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~
diff --git a/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldSnapshotArtifactReportProcessorTest.xml b/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldSnapshotArtifactReportProcessorTest.xml
index 032e17e16..1f7cfcecd 100644
--- a/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldSnapshotArtifactReportProcessorTest.xml
+++ b/archiva-reports-standard/src/test/resources/org/apache/maven/archiva/reporting/OldSnapshotArtifactReportProcessorTest.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
~ Copyright 2005-2006 The Apache Software Foundation.
~