maven 项目上传私服pom配置

项目Pom配置

 

修改点一:

<distributionManagement> 

  <repository>

    <id>jeecg</id> 

    <url>http://************/nexus/content/repositories/jeecg</url>

  </repository>

</distributionManagement>

 

修改点二:

<build>

        <pluginManagement>

            <plugins>

                <plugin>

                   <groupId>org.apache.maven.plugins</groupId>

                   <artifactId>maven-compiler-plugin</artifactId>

                    <configuration>

                       <source>1.5</source>

                       <target>1.5</target>

                    </configuration>

                </plugin>

            </plugins>

        </pluginManagement>

</build>

 

 

修改点三:

 本地仓库Maven seting文件

   <servers> 

  <server> 

<id>jeecg</id> 

<username>jeecg</username> 

<password>*****</password> 

  </server> 

     </servers>

你可能感兴趣的:(maven 项目上传私服pom配置)