@Singleton @Named(value="maven1") public class M1GavCalculator extends Object implements GavCalculator
GavCalculator. Heavily under-maintained.| Constructor and Description |
|---|
M1GavCalculator() |
| Modifier and Type | Method and Description |
|---|---|
String |
gavToPath(Gav gav)
// XXX this is not accurate, m1 is using packaging as an artifact folder name.
|
Gav |
pathToGav(String str)
Calculates GAV from provided repository path.
|
public Gav pathToGav(String str)
GavCalculatorpathToGav in interface GavCalculatorstr - the repository pathpublic String gavToPath(Gav gav)
gavToPath in interface GavCalculatororg.apache.maven.artifact.repository.layout.LegacyRepositoryLayout#pathOf(org.apache.maven.artifact.Artifact),
org.apache.maven.artifact.handler.DefaultArtifactHandler#getDirectory()Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.