]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/maven/MavenConventionsUtils.java
Migrate sources
[gpl/argeo-slc.git] / runtime / org.argeo.slc.repo / src / main / java / org / argeo / slc / repo / maven / MavenConventionsUtils.java
index 3531515cd9ad4a0cd441b55d96b1c0dbc67b66f6..5296895a6b0bc7352e9ed8f37cbb859ce1f3f750 100644 (file)
@@ -63,6 +63,12 @@ public class MavenConventionsUtils {
                                                .getClassifier()) + '.' + artifact.getExtension();
        }
 
+       /** Absolute path to the file */
+       public static String artifactPath(String artifactBasePath, Artifact artifact) {
+               return artifactParentPath(artifactBasePath, artifact) + '/'
+                               + artifactFileName(artifact);
+       }
+
        /** Absolute path to the directories where the files will be stored */
        public static String artifactParentPath(String artifactBasePath,
                        Artifact artifact) {