This project has retired. For details please refer to its
Attic page.
RepositoryMetadataReader
org.apache.maven.archiva.repository.metadata
Class RepositoryMetadataReader
java.lang.Object
org.apache.maven.archiva.repository.metadata.RepositoryMetadataReader
public class RepositoryMetadataReader
- extends java.lang.Object
RepositoryMetadataReader - read maven-metadata.xml files.
Method Summary |
static org.apache.maven.archiva.model.ArchivaRepositoryMetadata |
read(java.io.File metadataFile)
Read and return the ArchivaRepositoryMetadata object from the provided xml file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryMetadataReader
public RepositoryMetadataReader()
read
public static org.apache.maven.archiva.model.ArchivaRepositoryMetadata read(java.io.File metadataFile)
throws RepositoryMetadataException
- Read and return the
ArchivaRepositoryMetadata
object from the provided xml file.
- Parameters:
metadataFile
- the maven-metadata.xml file to read.
- Returns:
- the archiva repository metadata object that represents the provided file contents.
- Throws:
RepositoryMetadataException