First Steps

First of all, import the Maven repository:

<repository>
  <id>edlicense-repo</id>
  <url>https://repo.edlicense.com/repository/maven-releases/</url>
</repository>

Then the dependency:

<dependency>
  <groupId>com.edwardbelt</groupId>
  <artifactId>edlicense</artifactId>
  <version>1.1</version>
  <scope>compile</scope>
</dependency>

Make sure you have the Maven shade plugin:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-shade-plugin</artifactId>
    <version>3.4.1</version>
    <executions>
        <execution>
            <phase>package</phase>
            <goals>
                <goal>shade</goal>
            </goals>
            <configuration>
                <minimizeJar>true</minimizeJar>
            </configuration>
        </execution>
    </executions>
</plugin>

Last updated

Was this helpful?