Added locator reimplementation which is based on configurable stack of strategies...
authorJohn Dennis Casey <jdcasey@apache.org>
Tue, 6 Jun 2006 23:13:56 +0000 (23:13 +0000)
committerJohn Dennis Casey <jdcasey@apache.org>
Tue, 6 Jun 2006 23:13:56 +0000 (23:13 +0000)
commit42f54993bf5f5d72d2cd1eb487fd4b6a74053924
treefee377e1322262bd7a1b98b164bffbdbe26ac0e0
parentdae84e2db8d6316867ed2e2790b5d49b9f05a345
Added locator reimplementation which is based on configurable stack of strategies...they are about halfway tested as of now (will continue testing tomorrow). Also, moved the DownloadManager functionality to .download package, for consistency.

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@412235 13f79535-47bb-0310-9956-ffa450edef68
25 files changed:
pom.xml
src/main/java/org/apache/maven/shared/io/Locator.java [deleted file]
src/main/java/org/apache/maven/shared/io/download/DefaultDownloadManager.java [moved from src/main/java/org/apache/maven/shared/io/DefaultDownloadManager.java with 94% similarity]
src/main/java/org/apache/maven/shared/io/download/DownloadFailedException.java [moved from src/main/java/org/apache/maven/shared/io/DownloadFailedException.java with 91% similarity]
src/main/java/org/apache/maven/shared/io/download/DownloadManager.java [moved from src/main/java/org/apache/maven/shared/io/DownloadManager.java with 84% similarity]
src/main/java/org/apache/maven/shared/io/location/ArtifactBasedLocatorStrategy.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/location/ArtifactLocation.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/location/ClasspathResourceLocatorStrategy.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/location/FileBasedLocation.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/location/FileLocatorStrategy.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/location/Location.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/location/Locator.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/location/LocatorStrategy.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/location/URLLocation.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/location/UrlBasedLocatorStrategy.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/logging/DefaultMessageHolder.java [new file with mode: 0644]
src/main/java/org/apache/maven/shared/io/logging/MessageHolder.java [new file with mode: 0644]
src/test/java/org/apache/maven/shared/io/LocatorTest.java [deleted file]
src/test/java/org/apache/maven/shared/io/location/AbstractLocationTest.java [new file with mode: 0644]
src/test/java/org/apache/maven/shared/io/location/ArtifactLocationTest.java [new file with mode: 0644]
src/test/java/org/apache/maven/shared/io/location/FileBasedLocationTest.java [new file with mode: 0644]
src/test/java/org/apache/maven/shared/io/location/FileLocatorStrategyTest.java [new file with mode: 0644]
src/test/java/org/apache/maven/shared/io/location/LocatorTest.java [new file with mode: 0644]
src/test/java/org/apache/maven/shared/io/location/URLLocationTest.java [new file with mode: 0644]
src/test/java/org/apache/maven/shared/io/logging/DefaultMessageHolderTest.java [new file with mode: 0644]