@Service(value="legacyRepositoryConverter#default") public class DefaultLegacyRepositoryConverter extends Object implements LegacyRepositoryConverter
Constructor and Description |
---|
DefaultLegacyRepositoryConverter(PlexusSisuBridge plexusSisuBridge) |
Modifier and Type | Method and Description |
---|---|
void |
convertLegacyRepository(Path legacyRepositoryDirectory,
Path repositoryDirectory,
List<String> fileExclusionPatterns)
Convert a legacy repository to a modern repository.
|
@Inject public DefaultLegacyRepositoryConverter(PlexusSisuBridge plexusSisuBridge) throws PlexusSisuBridgeException
PlexusSisuBridgeException
public void convertLegacyRepository(Path legacyRepositoryDirectory, Path repositoryDirectory, List<String> fileExclusionPatterns) throws RepositoryConversionException
LegacyRepositoryConverter
convertLegacyRepository
in interface LegacyRepositoryConverter
legacyRepositoryDirectory
- the directory of the legacy repository.repositoryDirectory
- the directory of the modern repository.fileExclusionPatterns
- the list of patterns to exclude from the conversion.RepositoryConversionException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.