git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357898 13f79535-47bb-0310-9956-ffa450edef68tags/archiva-1.4-M3
@@ -29,7 +29,7 @@ import java.util.Date; | |||
/** | |||
* AbstractProgressConsumer | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public abstract class AbstractProgressConsumer | |||
extends AbstractMonitoredConsumer |
@@ -55,7 +55,7 @@ import java.util.Properties; | |||
/** | |||
* ArchivaCli | |||
* | |||
* @version $Id$ | |||
* | |||
* @todo add back reading of archiva.xml from a given location | |||
*/ | |||
public class ArchivaCli |
@@ -29,7 +29,7 @@ import java.util.List; | |||
/** | |||
* ArtifactCountConsumer | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service("knownRepositoryContentConsumer#count-artifacts") | |||
@Scope("prototype") |
@@ -22,7 +22,7 @@ package org.apache.archiva.converter.artifact; | |||
/** | |||
* ArtifactConversionException | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ArtifactConversionException | |||
extends Exception |
@@ -28,7 +28,7 @@ import java.util.Map; | |||
/** | |||
* ArtifactConverter | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface ArtifactConverter | |||
{ |
@@ -67,7 +67,7 @@ import java.util.regex.Matcher; | |||
/** | |||
* LegacyToDefaultConverter | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "artifactConverter#legacy-to-default" ) | |||
public class LegacyToDefaultConverter |
@@ -26,7 +26,7 @@ import java.util.ResourceBundle; | |||
/** | |||
* Messages | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class Messages | |||
{ |
@@ -51,7 +51,7 @@ import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner; | |||
/** | |||
* LegacyToDefaultConverterTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaSpringJUnit4ClassRunner.class ) | |||
@ContextConfiguration( locations = { "classpath*:/META-INF/spring-context.xml", "classpath:/spring-context.xml" } ) |
@@ -32,7 +32,7 @@ import org.apache.commons.io.output.NullOutputStream; | |||
/** | |||
* Checksum - simple checksum hashing routines. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class Checksum | |||
{ |
@@ -26,7 +26,7 @@ import org.apache.commons.io.FilenameUtils; | |||
/** | |||
* Enumeration of available ChecksumAlgorithm techniques. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public enum ChecksumAlgorithm { | |||
SHA1("SHA-1", "sha1", "SHA1"), |
@@ -47,7 +47,7 @@ import java.util.regex.Pattern; | |||
* <dd>The file that is being referenced in the checksum file.</dd> | |||
* </dl> | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ChecksummedFile | |||
{ |
@@ -22,7 +22,7 @@ package org.apache.archiva.checksum; | |||
/** | |||
* Hex - simple hex conversions. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class Hex | |||
{ |
@@ -29,7 +29,7 @@ import java.io.File; | |||
/** | |||
* AbstractChecksumTestCase | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaBlockJUnit4ClassRunner.class ) | |||
public abstract class AbstractChecksumTestCase |
@@ -29,7 +29,7 @@ import org.junit.runner.RunWith; | |||
/** | |||
* ChecksumAlgorithmTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaBlockJUnit4ClassRunner.class ) | |||
public class ChecksumAlgorithmTest |
@@ -31,7 +31,7 @@ import org.junit.runner.RunWith; | |||
/** | |||
* ChecksumTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaBlockJUnit4ClassRunner.class ) | |||
public class ChecksumTest |
@@ -31,7 +31,7 @@ import java.io.IOException; | |||
/** | |||
* ChecksummedFileTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ChecksummedFileTest |
@@ -22,7 +22,7 @@ package org.apache.archiva.common; | |||
/** | |||
* ArchivaException | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ArchivaException | |||
extends Exception |
@@ -26,7 +26,7 @@ import java.net.URI; | |||
* BaseFile - convenient File object that tracks the Base Directory and can provide relative path values | |||
* for the file object based on that Base Directory value. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class BaseFile | |||
extends File |
@@ -26,7 +26,7 @@ import java.util.GregorianCalendar; | |||
/** | |||
* DateUtil - some (not-so) common date utility methods. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class DateUtil | |||
{ |
@@ -27,7 +27,7 @@ import java.net.MalformedURLException; | |||
/** | |||
* PathUtil - simple utility methods for path manipulation. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class PathUtil | |||
{ |
@@ -26,7 +26,7 @@ import org.slf4j.LoggerFactory; | |||
* Slf4JPlexusLogger - temporary logger to provide an Slf4j Logger to those components | |||
* outside of the archiva codebase that require a plexus logger. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class Slf4JPlexusLogger | |||
implements org.codehaus.plexus.logging.Logger |
@@ -47,7 +47,7 @@ import java.util.List; | |||
* Words that are part of the "special word list" will be treated as their index within that heirarchy. | |||
* Words that cannot be identified as special, are treated using normal case-insensitive comparison rules. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class VersionComparator | |||
implements Comparator<String> |
@@ -27,7 +27,7 @@ import java.util.regex.Pattern; | |||
/** | |||
* Version utility methods. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class VersionUtil | |||
{ |
@@ -28,7 +28,7 @@ import java.io.File; | |||
/** | |||
* BaseFileTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class BaseFileTest | |||
extends TestCase |
@@ -28,7 +28,7 @@ import junit.framework.TestCase; | |||
/** | |||
* DateUtilTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class DateUtilTest extends TestCase | |||
{ |
@@ -28,7 +28,7 @@ import junit.framework.TestCase; | |||
/** | |||
* PathUtilTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class PathUtilTest | |||
extends TestCase |
@@ -29,7 +29,7 @@ import junit.framework.TestCase; | |||
/** | |||
* VersionComparatorTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class VersionComparatorTest | |||
extends TestCase |
@@ -22,7 +22,7 @@ package org.apache.archiva.configuration; | |||
/** | |||
* ConfigurationEvent | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ConfigurationEvent | |||
{ |
@@ -22,7 +22,7 @@ package org.apache.archiva.configuration; | |||
/** | |||
* ConfigurationListener | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface ConfigurationListener | |||
{ |
@@ -22,7 +22,7 @@ package org.apache.archiva.configuration; | |||
/** | |||
* Utility methods for testing the configuration property name. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ConfigurationNames | |||
{ |
@@ -45,7 +45,7 @@ import java.util.Map; | |||
/** | |||
* FileTypes | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "fileTypes" ) | |||
public class FileTypes |
@@ -26,7 +26,7 @@ import org.apache.commons.lang.StringUtils; | |||
/** | |||
* FiletypeSelectionPredicate | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class FiletypeSelectionPredicate | |||
implements Predicate |
@@ -28,7 +28,7 @@ import java.util.Map; | |||
/** | |||
* FiletypeToMapClosure | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class FiletypeToMapClosure | |||
implements Closure |
@@ -26,7 +26,7 @@ import java.util.Comparator; | |||
/** | |||
* NetworkProxyComparator | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class NetworkProxyComparator | |||
implements Comparator<NetworkProxyConfiguration> |
@@ -26,7 +26,7 @@ import org.apache.commons.lang.StringUtils; | |||
/** | |||
* NetworkProxySelectionPredicate | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class NetworkProxySelectionPredicate | |||
implements Predicate |
@@ -24,7 +24,7 @@ import org.apache.archiva.configuration.ProxyConnectorConfiguration; | |||
import java.util.Comparator; | |||
/** | |||
* @version $Id$ | |||
* | |||
* @deprecated ProxyConnectorConfigurationOrderComparator | |||
*/ | |||
public class ProxyConnectorConfigurationOrderComparator |
@@ -26,7 +26,7 @@ import org.apache.commons.lang.StringUtils; | |||
/** | |||
* ProxyConnectorPredicate | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ProxyConnectorSelectionPredicate | |||
implements Predicate |
@@ -26,7 +26,7 @@ import java.util.Comparator; | |||
/** | |||
* RepositoryConfigurationComparator | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class RepositoryConfigurationComparator | |||
implements Comparator<AbstractRepositoryConfiguration> |
@@ -33,7 +33,7 @@ import org.junit.runner.RunWith; | |||
/** | |||
* ProxyConnectorConfigurationOrderComparatorTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaBlockJUnit4ClassRunner.class ) | |||
public class ProxyConnectorConfigurationOrderComparatorTest |
@@ -29,7 +29,7 @@ import java.util.Set; | |||
/** | |||
* AbstractMonitoredConsumer | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public abstract class AbstractMonitoredConsumer | |||
implements Consumer |
@@ -22,7 +22,7 @@ package org.apache.archiva.consumers; | |||
/** | |||
* Consumer - the base set of methods for a consumer. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public abstract interface Consumer | |||
{ |
@@ -24,7 +24,7 @@ import org.apache.archiva.common.ArchivaException; | |||
/** | |||
* ConsumerException - details about the failure of a consumer. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ConsumerException | |||
extends ArchivaException |
@@ -22,7 +22,7 @@ package org.apache.archiva.consumers; | |||
/** | |||
* ConsumerMonitor - a monitor for consumers. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface ConsumerMonitor | |||
{ |
@@ -22,7 +22,7 @@ package org.apache.archiva.consumers; | |||
/** | |||
* Consumer for Invalid Repository Content | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface InvalidRepositoryContentConsumer | |||
extends RepositoryContentConsumer |
@@ -22,7 +22,7 @@ package org.apache.archiva.consumers; | |||
/** | |||
* Consumer for Known Repository Content. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface KnownRepositoryContentConsumer | |||
extends RepositoryContentConsumer |
@@ -27,7 +27,7 @@ import java.util.List; | |||
/** | |||
* A consumer of content (files) in the repository. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface RepositoryContentConsumer | |||
extends Consumer |
@@ -30,7 +30,7 @@ import org.apache.tools.ant.types.selectors.SelectorUtils; | |||
/** | |||
* ConsumerWantsFilePredicate | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ConsumerWantsFilePredicate | |||
implements Predicate |
@@ -25,7 +25,7 @@ import org.apache.archiva.consumers.Consumer; | |||
/** | |||
* Selects Consumers that are flaged as 'permanent'. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class PermanentConsumerPredicate | |||
implements Predicate |
@@ -44,7 +44,7 @@ import java.util.List; | |||
/** | |||
* ArtifactMissingChecksumsConsumer - Create missing and/or fix invalid checksums for the artifact. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "knownRepositoryContentConsumer#create-missing-checksums" ) | |||
@Scope( "prototype" ) |
@@ -41,7 +41,7 @@ import java.util.List; | |||
/** | |||
* AutoRemoveConsumer | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "knownRepositoryContentConsumer#auto-remove" ) | |||
@Scope( "prototype" ) |
@@ -39,7 +39,7 @@ import java.util.Map; | |||
/** | |||
* AutoRenameConsumer | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "knownRepositoryContentConsumer#auto-rename" ) | |||
@Scope( "prototype" ) |
@@ -55,7 +55,7 @@ import java.util.List; | |||
/** | |||
* MetadataUpdaterConsumer will create and update the metadata present within the repository. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "knownRepositoryContentConsumer#metadata-updater" ) | |||
@Scope( "prototype" ) |
@@ -44,7 +44,7 @@ import java.util.List; | |||
/** | |||
* ValidateChecksumConsumer - validate the provided checksum against the file it represents. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "knownRepositoryContentConsumer#validate-checksums" ) | |||
@Scope( "prototype" ) |
@@ -67,7 +67,7 @@ import java.util.List; | |||
* be purged. Leaving 2.1-SNAPSHOT in alone. | |||
* </p> | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class CleanupReleasedSnapshotsRepositoryPurge | |||
extends AbstractRepositoryPurge |
@@ -20,7 +20,7 @@ package org.apache.archiva.consumers.core.repository; | |||
*/ | |||
/** | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface RepositoryPurge | |||
{ |
@@ -21,7 +21,7 @@ package org.apache.archiva.consumers.core.repository; | |||
/** | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class RepositoryPurgeException | |||
extends Exception |
@@ -44,7 +44,7 @@ import java.util.List; | |||
/** | |||
* DefaultLegacyRepositoryConverter | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "legacyRepositoryConverter#default" ) | |||
public class DefaultLegacyRepositoryConverter |
@@ -48,7 +48,7 @@ import java.util.List; | |||
* LegacyConverterArtifactConsumer - convert artifacts as they are found | |||
* into the destination repository. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "knownRepositoryContentConsumer#artifact-legacy-to-default-converter" ) | |||
@Scope( "prototype" ) |
@@ -25,7 +25,7 @@ import org.apache.archiva.common.utils.VersionUtil; | |||
/** | |||
* ArchivaArtifact - Mutable artifact object. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ArchivaArtifact | |||
{ |
@@ -22,7 +22,7 @@ package org.apache.archiva.model; | |||
/** | |||
* A tag for objects that are considered ArchivaArtifactPlatformDetails. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface ArchivaArtifactPlatformDetails | |||
{ |
@@ -27,7 +27,7 @@ import java.util.Properties; | |||
/** | |||
* Utility methods for cloning various Archiva Model objects. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ArchivaModelCloner | |||
{ |
@@ -22,7 +22,7 @@ package org.apache.archiva.model; | |||
/** | |||
* Tag for identifying a Compound Key | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface CompoundKey | |||
{ |
@@ -24,7 +24,7 @@ import org.apache.commons.lang.StringUtils; | |||
/** | |||
* Keys - utility methods for converting common objects into string keys. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class Keys | |||
{ |
@@ -22,7 +22,7 @@ package org.apache.archiva.model; | |||
/** | |||
* RepositoryURL - Mutable (and protocol forgiving) URL object. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class RepositoryURL | |||
{ |
@@ -27,7 +27,7 @@ import org.junit.runner.RunWith; | |||
/** | |||
* RepositoryURLTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaBlockJUnit4ClassRunner.class ) | |||
public class RepositoryURLTest |
@@ -33,7 +33,7 @@ import java.util.Properties; | |||
/** | |||
* AbstractUpdatePolicy | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public abstract class AbstractUpdatePolicy | |||
implements PreDownloadPolicy |
@@ -34,7 +34,7 @@ import java.util.Properties; | |||
/** | |||
* {@link PreDownloadPolicy} to check if the requested url has failed before. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "preDownloadPolicy#cache-failures" ) | |||
public class CachedFailuresPolicy |
@@ -35,7 +35,7 @@ import java.util.Properties; | |||
* ChecksumPolicy - a policy applied after the download to see if the file has been downloaded | |||
* successfully and completely (or not). | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "postDownloadPolicy#checksum" ) | |||
public class ChecksumPolicy |
@@ -27,7 +27,7 @@ import java.util.Properties; | |||
* Policy to apply after the download has completed, but before the | |||
* resource is made available to the calling client. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface DownloadErrorPolicy | |||
extends Policy |
@@ -25,7 +25,7 @@ import java.util.Properties; | |||
/** | |||
* DownloadPolicy | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface DownloadPolicy | |||
extends Policy |
@@ -25,7 +25,7 @@ import org.apache.archiva.common.ArchivaException; | |||
* PolicyConfigurationException is thrown when a policy cannot be executed due to a | |||
* configuration issue. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class PolicyConfigurationException | |||
extends ArchivaException |
@@ -24,7 +24,7 @@ import org.apache.archiva.common.ArchivaException; | |||
/** | |||
* PolicyViolationException | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class PolicyViolationException | |||
extends ArchivaException |
@@ -23,7 +23,7 @@ package org.apache.archiva.policies; | |||
* Policy to apply after the download has completed, but before the | |||
* resource is made available to the calling client. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface PostDownloadPolicy | |||
extends DownloadPolicy |
@@ -23,7 +23,7 @@ package org.apache.archiva.policies; | |||
/** | |||
* Policy to apply before the download is attempted. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface PreDownloadPolicy extends DownloadPolicy | |||
{ |
@@ -25,7 +25,7 @@ import org.springframework.stereotype.Service; | |||
/** | |||
* {@link PreDownloadPolicy} to apply for released versions. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service("preDownloadPolicy#releases") | |||
public class ReleasesPolicy |
@@ -25,7 +25,7 @@ import org.springframework.stereotype.Service; | |||
/** | |||
* {@link PreDownloadPolicy} to apply for snapshot versions. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service("preDownloadPolicy#snapshots") | |||
public class SnapshotsPolicy |
@@ -26,7 +26,7 @@ import java.util.Date; | |||
/** | |||
* DefaultUrlFailureCache | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class DefaultUrlFailureCache | |||
implements UrlFailureCache |
@@ -23,7 +23,7 @@ package org.apache.archiva.policies.urlcache; | |||
/** | |||
* Cache for requested URLs that cannot be fetched. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface UrlFailureCache | |||
{ |
@@ -34,7 +34,7 @@ import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner; | |||
/** | |||
* CachedFailuresPolicyTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaSpringJUnit4ClassRunner.class ) | |||
@ContextConfiguration( locations = { "classpath*:/META-INF/spring-context.xml", "classpath*:/spring-context.xml" } ) |
@@ -40,7 +40,7 @@ import static org.junit.Assert.*; | |||
/** | |||
* ChecksumPolicyTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaSpringJUnit4ClassRunner.class ) | |||
@ContextConfiguration( locations = {"classpath*:/META-INF/spring-context.xml", "classpath*:/spring-context.xml"} ) |
@@ -35,7 +35,7 @@ import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner; | |||
/** | |||
* ReleasePolicyTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaSpringJUnit4ClassRunner.class ) | |||
@ContextConfiguration( locations = { "classpath*:/META-INF/spring-context.xml", "classpath*:/spring-context.xml" } ) |
@@ -35,7 +35,7 @@ import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner; | |||
/** | |||
* SnapshotsPolicyTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaSpringJUnit4ClassRunner.class ) | |||
@ContextConfiguration( locations = { "classpath*:/META-INF/spring-context.xml", "classpath*:/spring-context.xml" } ) |
@@ -90,7 +90,7 @@ import java.util.concurrent.ConcurrentHashMap; | |||
/** | |||
* DefaultRepositoryProxyConnectors | |||
* | |||
* @version $Id$ | |||
* | |||
* @todo exception handling needs work - "not modified" is not really an exceptional case, and it has more layers than | |||
* your average brown onion | |||
*/ |
@@ -22,7 +22,7 @@ package org.apache.archiva.proxy; | |||
/** | |||
* NotFoundException - thrown when the resource requested was not found on the remote repository. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class NotFoundException | |||
extends ProxyException |
@@ -29,7 +29,7 @@ package org.apache.archiva.proxy; | |||
* Similar in scope to the <code>HTTP 304 Not Modified</code> response code. | |||
* </p> | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class NotModifiedException | |||
extends ProxyException |
@@ -30,7 +30,7 @@ import java.util.Map; | |||
/** | |||
* This represents a connector for a repository to repository proxy. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ProxyConnector | |||
implements RepositoryConnector |
@@ -24,7 +24,7 @@ import java.util.Comparator; | |||
/** | |||
* ProxyConnectorOrderComparator | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ProxyConnectorOrderComparator | |||
implements Comparator<ProxyConnector> |
@@ -29,7 +29,7 @@ import java.util.List; | |||
/** | |||
* Handler for potential repository proxy connectors. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface RepositoryProxyConnectors | |||
{ |
@@ -69,7 +69,7 @@ import static org.junit.Assert.*; | |||
/** | |||
* AbstractProxyTestCase | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@RunWith( ArchivaSpringJUnit4ClassRunner.class ) | |||
@ContextConfiguration( locations = { "classpath*:/META-INF/spring-context.xml", "classpath:/spring-context.xml" } ) |
@@ -38,7 +38,7 @@ import static org.junit.Assert.assertNotNull; | |||
/** | |||
* CacheFailuresTransferTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class CacheFailuresTransferTest | |||
extends AbstractProxyTestCase |
@@ -36,7 +36,7 @@ import static org.junit.Assert.assertNull; | |||
/** | |||
* ChecksumTransferTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ChecksumTransferTest | |||
extends AbstractProxyTestCase |
@@ -39,7 +39,7 @@ import static org.junit.Assert.*; | |||
/** | |||
* ErrorHandlingTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ErrorHandlingTest | |||
extends AbstractProxyTestCase |
@@ -36,7 +36,7 @@ import static org.junit.Assert.*; | |||
/** | |||
* ManagedDefaultTransferTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ManagedDefaultTransferTest | |||
extends AbstractProxyTestCase |
@@ -33,7 +33,7 @@ import static org.junit.Assert.assertTrue; | |||
/** | |||
* ManagedLegacyTransferTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ManagedLegacyTransferTest | |||
extends AbstractProxyTestCase |
@@ -92,7 +92,7 @@ import static org.junit.Assert.*; | |||
* (1) If it isn't proxied, no point in having a remote. | |||
* </pre> | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class MetadataTransferTest | |||
extends AbstractProxyTestCase |
@@ -40,7 +40,7 @@ import javax.annotation.PostConstruct; | |||
/** | |||
* MockConfiguration | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
@Service( "archivaConfiguration#mock" ) | |||
public class MockConfiguration |
@@ -34,7 +34,7 @@ import static org.junit.Assert.assertTrue; | |||
/** | |||
* SnapshotTransferTest | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class SnapshotTransferTest | |||
extends AbstractProxyTestCase |
@@ -22,7 +22,7 @@ package org.apache.archiva.repository; | |||
/** | |||
* ContentNotFoundException is thrown in response for requests for content that is not the repository. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public class ContentNotFoundException | |||
extends RepositoryException |
@@ -33,7 +33,7 @@ import java.util.Set; | |||
* ManagedRepositoryContent interface for interacting with a managed repository in an abstract way, | |||
* without the need for processing based on filesystem paths, or working with the database. | |||
* | |||
* @version $Id$ | |||
* | |||
*/ | |||
public interface ManagedRepositoryContent | |||
{ |