本地jar包在pom配置发布本地仓库和私服
操作工具
idea、maven
本地jar包发到私服
jar1和jar2的包放在resources的lib下面
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<executions>
<execution>
<id>install-jar1</id>
<phase>install</phase>
<configuration>
<file>${
project.basedir}/src/main/resources/lib/jar1-1.1.1.jar</file>
<repositoryLayout>default</repositoryLayout>
<groupId>xx-common</groupId>
<artifactId>xx-common</artifactId>
<version>1.1.1</version>
<packaging>jar