diff options
-rw-r--r-- | src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java b/src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java index 2afbff8..198f240 100644 --- a/src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java +++ b/src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java @@ -28,4 +28,8 @@ public class LocatedArtifactCache extends ArtifactCacheBase { return doStore(cachePath, artifact); } + public static File expand(File path) { + return new File(path, "${GROUP}/${NAME}/${META_HASH}/${NAME}-${VERSION}-${CLASSIFIER}-${SPECIFIER}.${EXTENSION}"); + } + } |