Maven Installation
Stable
PlugFace is accessible from Maven Central.
To download the latest stable release in Maven, add the following snippet to the pom.xml
:
<dependency>
<groupId>org.plugface</groupId>
<artifactId>plugface-core</artifactId>
<version>${release.version}</version>
</dependency>
or, if using Spring
<dependency>
<groupId>org.plugface</groupId>
<artifactId>plugface-spring</artifactId>
<version>${release.version}</version>
</dependency>
Snapshots
Snapshots are accessible via Sonatype Nexus.
Add this line to your pom.xml
file:
<repositories>
<repository>
<id>oss.sonatype.org-snapshot</id>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
and then:
<dependency>
<groupId>org.plugface</groupId>
<artifactId>plugface-core</artifactId>
<version>${snapshot.version}-SNAPSHOT</version>
</dependency>
or, if using Spring
<dependency>
<groupId>org.plugface</groupId>
<artifactId>plugface-spring</artifactId>
<version>${snapshot.version}-SNAPSHOT</version>
</dependency>
JitPack
PlugFace is also accessible via JitPack, follow the instruction at the provided link
on how to enable and get the latest version or the latest snapshot from the develop
branch, which is the semi-stable WIP branch.
Notice that if using the JitPack version, the group-id is not the same as the one from Maven Central:
<dependency>
<groupId>com.github.matteojoliveau.PlugFace</groupId>
<artifactId>plugface-core</artifactId>
<version>${release.version}</version>
</dependency>
<dependency>
<groupId>com.github.matteojoliveau.PlugFace</groupId>
<artifactId>plugface-core</artifactId>
<version>develop-SNAPSHOT</version>
</dependency>