|
|
@ -160,25 +160,50 @@
|
|
|
|
</dependencies>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--私服上传需以下配置,并注释以上build所有-->
|
|
|
|
<!-- 上传到公司私服, mvn clean deploy -Dmaven.test.skip=true -->
|
|
|
|
<!--从私服下载配置-->
|
|
|
|
<build>
|
|
|
|
<repositories>
|
|
|
|
<plugins>
|
|
|
|
<!--本地-->
|
|
|
|
<plugin>
|
|
|
|
<repository>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<id>nexus</id>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<name>nexus</name>
|
|
|
|
<version>3.3</version>
|
|
|
|
<url>http://10.108.10.53:8081/repository/maven-public/</url>
|
|
|
|
<configuration>
|
|
|
|
<releases>
|
|
|
|
<source>1.8</source>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<target>1.8</target>
|
|
|
|
</releases>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<snapshots>
|
|
|
|
</configuration>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</plugin>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
<plugin>
|
|
|
|
</snapshots>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
</repository>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
</repositories>
|
|
|
|
<version>2.4</version>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
<!--上传到私服配置-->
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
|
|
|
|
<version>2.2.1</version>
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
|
|
<id>attach-sources</id>
|
|
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
|
|
<goal>jar</goal>
|
|
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
|
|
|
|
<version>2.7</version>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<updateReleaseInfo>true</updateReleaseInfo>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
</build>
|
|
|
|
<distributionManagement>
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<repository>
|
|
|
|
<id>nexus-releases</id>
|
|
|
|
<id>nexus-releases</id>
|
|
|
|