After a lot of struggling because Maven is hard, I managed to get a Maven repo for MGLib set up. It can be accessed at http://repo.caseif.net/content/groups/public/. Below is what you'll need to include in your pom.xml to include MGLib as a depedency.
In the <repositories> tags:
<repositories> <repository> <id>caseif-repo</id> <url>http://repo.caseif.net/content/groups/public/</url> </repository> ... </repositories>
In the <dependencies> tags:
<dependencies> <dependency> <groupId>net.amigocraft.mglib</groupId> <artifactId>mglib</artifactId> <scope>provided</scope> <version>0.4.0</version> </dependency> ... </dependencies>
And that's it, you're set! Make sure to always build against the latest version of the library to enable the newest featureset.
Bleeding-edge builds are also available via the Maven repository. For example, to use the latest BE build after the release of 0.4.0, you would use
0.4.0-SNAPSHOT. Be warned: dev builds may be unstable, and are not officially supported.
Note: The first build available from the Maven repository is
0.3.0. This means that
0.3.0-SNAPSHOT may not be used.