Skip to main content
100%

Installs java lib into local maven repo

✓ Published0🌍 Public
CCarlos-Augusto
Last edited Aug 23, 2021
Created on Aug 23, 2021

This example shows how to install a local JAR file into a Maven repository using the maven-install-plugin. It configures the plugin with the groupId, artifactId, and version for `com.cryptshare.api:cryptshare-api:5.0.0.184`, pointing to a file at `${basedir}/jars/cryptshare-api-5.0.0.184.jar`. The plugin executes its `install-file` goal during the `validate` phase, generating a POM automatically. The snippet also declares the same artifact as a dependency, demonstrating the workflow for using a library that cannot be fetched from a remote repository.

AI-generated description

Similar vizzes