public class MavenMetadataReader extends Object
Constructor and Description |
---|
MavenMetadataReader() |
Modifier and Type | Method and Description |
---|---|
static ArchivaRepositoryMetadata |
read(Path metadataFile)
Read and return the
ArchivaRepositoryMetadata object from the provided xml file. |
static ArchivaRepositoryMetadata |
read(StorageAsset metadataFile) |
public MavenMetadataReader()
public static ArchivaRepositoryMetadata read(StorageAsset metadataFile) throws XMLException, IOException
XMLException
IOException
public static ArchivaRepositoryMetadata read(Path metadataFile) throws XMLException
ArchivaRepositoryMetadata
object from the provided xml file.metadataFile
- the maven-metadata.xml file to read.XMLException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.