Class RepoLinker


  • public class RepoLinker
    extends java.lang.Object
    Creates a Maven repository using symlinks.
    • Constructor Summary

      Constructors 
      Constructor Description
      RepoLinker()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void link​(java.nio.file.Path destination, java.util.List<java.lang.String> artifacts)
      Creates a Maven repository using symlinks.
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RepoLinker

        public RepoLinker()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • link

        public void link​(java.nio.file.Path destination,
                         java.util.List<java.lang.String> artifacts)
                  throws java.lang.Exception
        Creates a Maven repository using symlinks.
        Parameters:
        destination - The destination directory for the Maven repository.
        artifacts - The list of artifacts to symlink. The artifacts are given as a list of path_in_repo=path_to_file
        Throws:
        java.lang.Exception