For users:

For developers:

  1. Update repository resolvers in sbt files to point to the new URLs:
    
    - val statismo = "statismo" at "http://statismo.cs.unibas.ch/repository"
    + val statismoPublic = "Statismo (public)" at "http://statismo.cs.unibas.ch/repository/public"
    + val statismoPrivate = "Statismo (private)" at "https://statismo.cs.unibas.ch/repository/private"
    
  2. Define access to the private repository: create $HOME/.ivy2/.credentials-statismo-private with the following content:
    # IMPORTANT: make sure to chmod 600 this file.
    host=statismo.cs.unibas.ch
    realm=Statismo Unibas Private Software Repository
    user=<user>
    password=<password>
    
  3. Grant sbt access to the private repository. Example:
    
    object Creds {
      val statismoPrivate = Credentials(Path.userHome / ".ivy2" / ".credentials-statismo-private")
    }
    
    [...]
          resolvers ++= stkResolvers,
          credentials += Creds.statismoPrivate,
          publishTo := Some(publishURL),
    [...]
    
  4. Update the path where files are published to. Example for a private project:
    
    - val publishURL = Resolver.file("file", new File("/export/contrib/statismo/repo"))"
    + val publishURL = Resolver.file("file", new File("/export/contrib/statismo/repo/private"))"