Example usage for org.apache.maven.artifact.metadata ArtifactMetadata getGroupId

List of usage examples for org.apache.maven.artifact.metadata ArtifactMetadata getGroupId

Introduction

In this page you can find the example usage for org.apache.maven.artifact.metadata ArtifactMetadata getGroupId.

Prototype

String getGroupId();

Source Link

Usage

From source file:org.apache.archiva.converter.artifact.LegacyRepositoryLayout.java

License:Apache License

private String pathOfRepositoryMetadata(ArtifactMetadata metadata, String filename) {
    StringBuilder path = new StringBuilder(128);

    path.append(metadata.getGroupId()).append(PATH_SEPARATOR).append("poms").append(PATH_SEPARATOR);

    path.append(filename);/*w  w  w .  ja va 2s. c  o  m*/

    return path.toString();
}