* limitations under the License.
*/
+import org.apache.lucene.analysis.Analyzer;
+import org.apache.lucene.analysis.SimpleAnalyzer;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.index.Term;
-import org.apache.lucene.analysis.Analyzer;
-import org.apache.lucene.analysis.SimpleAnalyzer;
import org.apache.maven.artifact.repository.ArtifactRepository;
import java.io.File;
import org.apache.lucene.analysis.Analyzer;
import org.apache.maven.artifact.repository.ArtifactRepository;
-import java.util.List;
import java.util.Arrays;
+import java.util.List;
/**
* @author Edwin Punzalan
import java.util.Iterator;\r
import java.util.List;\r
import java.util.Map;\r
-import java.util.StringTokenizer;\r
import java.util.Set;\r
+import java.util.StringTokenizer;\r
\r
/**\r
* <p/>\r
\r
import org.apache.maven.artifact.Artifact;\r
\r
-import java.util.Map;\r
import java.util.HashMap;\r
+import java.util.Map;\r
\r
/**\r
* This is the object type contained in the list that will be returned by the\r
import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;\r
import org.apache.maven.artifact.repository.metadata.ArtifactRepositoryMetadata;\r
import org.apache.maven.artifact.repository.metadata.GroupRepositoryMetadata;\r
+import org.apache.maven.artifact.repository.metadata.Metadata;\r
+import org.apache.maven.artifact.repository.metadata.Plugin;\r
import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;\r
import org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata;\r
import org.apache.maven.artifact.repository.metadata.Versioning;\r
-import org.apache.maven.artifact.repository.metadata.Metadata;\r
-import org.apache.maven.artifact.repository.metadata.Plugin;\r
import org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader;\r
-import org.apache.maven.repository.indexing.query.SinglePhraseQuery;\r
import org.apache.maven.repository.indexing.query.Query;\r
import org.apache.maven.repository.indexing.query.RangeQuery;\r
+import org.apache.maven.repository.indexing.query.SinglePhraseQuery;\r
import org.codehaus.plexus.PlexusTestCase;\r
import org.codehaus.plexus.util.FileUtils;\r
\r
import java.io.InputStream;\r
import java.io.InputStreamReader;\r
import java.net.URL;\r
-import java.util.List;\r
import java.util.Iterator;\r
+import java.util.List;\r
\r
/**\r
* This class tests the MetadataRepositoryIndex.\r
* limitations under the License.\r
*/\r
\r
-import org.codehaus.plexus.PlexusTestCase;\r
-import org.codehaus.plexus.util.FileUtils;\r
-import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;\r
-import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;\r
+import org.apache.maven.artifact.Artifact;\r
+import org.apache.maven.artifact.factory.ArtifactFactory;\r
import org.apache.maven.artifact.repository.ArtifactRepository;\r
-import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;\r
-import org.apache.maven.artifact.repository.metadata.GroupRepositoryMetadata;\r
+import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;\r
+import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;\r
import org.apache.maven.artifact.repository.metadata.ArtifactRepositoryMetadata;\r
+import org.apache.maven.artifact.repository.metadata.GroupRepositoryMetadata;\r
+import org.apache.maven.artifact.repository.metadata.RepositoryMetadata;\r
import org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata;\r
import org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader;\r
-import org.apache.maven.artifact.Artifact;\r
-import org.apache.maven.artifact.factory.ArtifactFactory;\r
-import org.apache.maven.repository.digest.DefaultDigester;\r
-import org.apache.maven.repository.digest.Digester;\r
import org.apache.maven.model.Model;\r
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;\r
+import org.apache.maven.repository.digest.DefaultDigester;\r
+import org.apache.maven.repository.digest.Digester;\r
+import org.codehaus.plexus.PlexusTestCase;\r
+import org.codehaus.plexus.util.FileUtils;\r
\r
import java.io.File;\r
+import java.io.FileReader;\r
import java.io.InputStream;\r
import java.io.InputStreamReader;\r
-import java.io.FileReader;\r
-import java.util.List;\r
+import java.net.URL;\r
import java.util.Iterator;\r
+import java.util.List;\r
import java.util.Map;\r
import java.util.Set;\r
-import java.net.URL;\r
\r
/**\r
* <p/>\r
-<?xml version="1.0" encoding="UTF-8"?><project>
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
<parent>
<artifactId>maven</artifactId>
<groupId>org.apache.maven</groupId>
<metadata>\r
-<groupId>org.apache.maven</groupId>\r
-<artifactId>maven-artifact</artifactId>\r
-<version>2.0.1</version>\r
+ <groupId>org.apache.maven</groupId>\r
+ <artifactId>maven-artifact</artifactId>\r
+ <version>2.0.1</version>\r
</metadata>\r
<metadata>\r
-<groupId>org.apache.maven</groupId>\r
-<artifactId>maven-artifact</artifactId>\r
-<version>2.0.1</version>\r
-<versioning>\r
-<release>2.0.1</release>\r
-<versions>\r
-<version>2.0.1</version>\r
-</versions>\r
-<lastUpdated>20051212044643</lastUpdated>\r
-</versioning>\r
+ <groupId>org.apache.maven</groupId>\r
+ <artifactId>maven-artifact</artifactId>\r
+ <version>2.0.1</version>\r
+ <versioning>\r
+ <release>2.0.1</release>\r
+ <versions>\r
+ <version>2.0.1</version>\r
+ </versions>\r
+ <lastUpdated>20051212044643</lastUpdated>\r
+ </versioning>\r
</metadata>\r
<metadata>\r
-<groupId>org.apache.maven</groupId>\r
-<plugins>\r
- <plugin>\r
- <prefix>org.apache.maven</prefix>\r
- <artifactId>org.apache.maven-maven-plugin</artifactId>\r
- </plugin>\r
-</plugins>\r
+ <groupId>org.apache.maven</groupId>\r
+ <plugins>\r
+ <plugin>\r
+ <prefix>org.apache.maven</prefix>\r
+ <artifactId>org.apache.maven-maven-plugin</artifactId>\r
+ </plugin>\r
+ </plugins>\r
</metadata>\r
<metadata>\r
-<groupId>test</groupId>\r
-<plugins>\r
- <plugin>\r
- <prefix></prefix>\r
- <artifactId>test-test-plugin</artifactId>\r
- </plugin>\r
-</plugins>\r
+ <groupId>test</groupId>\r
+ <plugins>\r
+ <plugin>\r
+ <prefix></prefix>\r
+ <artifactId>test-test-plugin</artifactId>\r
+ </plugin>\r
+ </plugins>\r
</metadata>\r