I am trying to plug MWS libraries into my small Spring Boot application. I tried to find solution into this post. So far, no ideas out of there.
Is there are any way I can plugin 3rd party into my pom.xml
file and make it easily installable into other developers machines? I tried this solution and also this guide.
I put MWS Java client files under src/dist
and tried to install as mvn install:install-file -Dfile="/<my-path>/dist/MWSClientJavaRuntime-1.0.jar" -DgroupId=amazon -DartifactId=mws-client -Dversion=1.0 -Dpackaging=jar
and got the response:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building test-api 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install-file (default-cli) @ hiccasoft-api ---
[INFO] pom.xml not found in MWSClientJavaRuntime-1.0.jar
[INFO] Installing /home/test/<part-of-my-path>/dist/MWSClientJavaRuntime-1.0.jar to /home/test/.m2/repository/amazon/mws-client/1.0/mws-client-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.661 s
[INFO] Finished at: 2019-02-20T19:33:26+01:00
[INFO] Final Memory: 13M/300M
[INFO] ------------------------------------------------------------------------
What should I do with this? How to work with "installed" locally 3rd library and how to distribute it between other developers?