<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.ericlmao</groupId>
<artifactId>alumina</artifactId>
<version>3.0.1</version>
</dependency>
In case other software in your JVM is using this library, you should shade it into your jar and relocate it to your preferred namespace using the maven-shade-plugin
.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>games.negative.alumina</pattern>
<shadedPattern>[YOUR NAMESPACE].alumina</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
maven { url 'https://jitpack.io' }
implementation("com.github.ericlmao:alumina:3.0.1")