Now almost all development projects are used by MAVEN projects, but sometimes you can use the diff gate or the new jar may not be able to search the Web in the Pom file configuration should be how to write, so write down this blog.
For example, I now want to join the Aaa.jar this package open cmd, enter the command inside MVN install:install-file-dfile= want to add the location of the jar package (such as E:/aaa.jar)-dgroupid= This package is placed in the location of your local library (for example, the COM. Company name). You have this package related to this name Com.xxxx.BBB)-dartifactid=bbb-dversion=0.0.1-dpackaging=jar after this execution in the warehouse com/ There is a bbb-0.0.1.jar bag under the xxxx/bbb/bbb/o.o.1. Then configure the configuration in the Pom to be able to. Com.xxxx.BBB BBB 0.0.1 Note: The AAA and BBB names are not the same, general AAA is the name of the original package, BBB can be used to understand the name. Project or normal use of the original AAA inside the method has no effect.
about using a command to add a jar into your own pom file-maven Project Add jar Package