Package org.apache.maven.artifact.repository.metadata

Examples of org.apache.maven.artifact.repository.metadata.Metadata.clone()


    final Metadata metadata = parseMetadata(getClass().getClassLoader().getResourceAsStream(resourceName));

    ArrayList<Metadata> metadatas = new ArrayList<Metadata>(count);

    for (int i = 0; i < count; i++) {
      metadatas.add(metadata.clone());
    }

    return metadatas;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.