Building the API client library requires:
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>Avalara.SDK</groupId>
<artifactId>Avalara.SDK</artifactId>
<version>2.4.29</version>
<scope>compile</scope>
</dependency>
Add this dependency to your project's build file:
repositories {
mavenCentral() // Needed if the 'Avalara.SDK' jar has been published to maven central.
mavenLocal() // Needed if the 'Avalara.SDK' jar has been published to the local maven repo.
}
dependencies {
implementation "Avalara.SDK:Avalara.SDK:2.4.29"
}
First, generate the JAR by executing:
mvn clean package
Then, manually install the following JARs:
target/Avalara.SDK-2.4.29.jar
target/lib/*.jar