Skip to content

unibas-gravis/scalismo-native

Repository files navigation

Scalismo-native - Native libraries packaging for Scalismo

Scalismo is a library for statistical shape modeling and model-based image analysis in Scala.

The scalismo-native project provides a build framework for packaging the native libraries needed by Scalismo into a single Java jar that can be used on Linux, Windows and MacOS platforms.

Note that as a regular Scalismo user, you do not need to build this project and can simply use the already published artifacts as indicated in this tutorial.

ATTENTION: This project will probably only build (or rather: publish) properly on a Linux system!

These native libraries used and their corresponding licenses are:

Copyright and License

All code is available to you under the Apache license, version 2, available at http://www.apache.org/licenses/LICENSE-2.0.

Copyright, University of Basel, 2016.

Deploy to sonatype

Unfortunately, we cannot directly publish to sonatype using sbt. Instead, we need to do a publish, and then upload the files manually. To add insult to insjury, we currently also need to sign the files manually. Do the following:

  • sbt publish
  • navigate to the tmp directly, and there in the subfolder where the files were published
  • sign all the files using: for f in *.jar *.pom; do gpg2 -ab $f ; done
  • directly from this directory, create a zip file
  • upload them manually to https://oss.sonatype.org/#stagingRepositories