代码拉取完成,页面将自动刷新
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.onlyxiahui</groupId>
<artifactId>only-common-web-lib</artifactId>
<version>0.0.1</version>
<packaging>jar</packaging>
<name>only-common-web-lib</name>
<url>https://gitee.com/onlylibrary/only-common-web-lib</url>
<properties>
<!-- 属性定义 -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.version>1.8</jdk.version>
<!-- 主要依赖库的版本定义 -->
<org.springframework.version>4.2.6.RELEASE</org.springframework.version>
</properties>
<repositories>
<repository>
<id>com.onlyxiahui</id>
<url>https://gitee.com/onlyxiahui/maven/raw/master/repository</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.onlyxiahui</groupId>
<artifactId>only-general</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>com.onlyxiahui</groupId>
<artifactId>only-common-message</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>com.onlyxiahui</groupId>
<artifactId>only-common-lib-util</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>com.onlyxiahui</groupId>
<artifactId>only-common-web</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>com.onlyxiahui</groupId>
<artifactId>only-spring-context</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>com.onlyxiahui</groupId>
<artifactId>only-spring-web</artifactId>
<version>0.0.1</version>
</dependency>
</dependencies>
<build>
<finalName>only-common-web-lib</finalName>
<plugins>
<!-- clean插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<!-- 忽略Junit测试 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!-- compiler插件, 设定JDK版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<encoding>UTF8</encoding>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<!-- resource插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<!-- source插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase><!-- 要绑定到的生命周期的阶段 在verify之后,install之前执行下面指定的goal -->
<goals>
<goal>jar-no-fork</goal><!-- 类似执行mvn source:jar -->
</goals>
</execution>
</executions>
</plugin>
<!-- javadoc插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.1</version>
<configuration>
<source>${jdk.version}</source>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<!-- 关掉JDK1.8的变态检查 -->
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<!-- gpg signature -->
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
-->
<!-- install插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<!-- deploy发布插件 -->
<!-- deploy -P release -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<!-- 更新元数据 <configuration><updateReleaseInfo>true</updateReleaseInfo>
</configuration> -->
</plugin>
<!-- dependency插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.2</version>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</build>
<!-- 用来支持项目发布到私服中,用来配合deploy插件的使用 -->
<distributionManagement>
<!-- 发布版本 -->
<repository>
<id>releases</id>
<name>public</name>
<url>file:../../maven/repository</url>
<!-- <url>http://10.200.11.21:8081/nexus/content/repositories/releases/</url> -->
</repository>
<!-- 快照版本 -->
<!--
<snapshotRepository>
<id>snapshots</id>
<name>Snapshots</name>
<url>http://10.200.11.21:8081/nexus/content/repositories/snapshots</url>
</snapshotRepository>
-->
</distributionManagement>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<name>XiaHui</name>
<email>onlyxiahui@qq.com</email>
<roles>
<role>developer</role>
</roles>
<timezone>+8</timezone>
</developer>
</developers>
<scm>
<connection>scm:https://gitee.com/onlylibrary/only-common-web-lib.git</connection>
<developerConnection>scm:https://gitee.com/onlylibrary/only-common-web-lib.git</developerConnection>
<url>https://gitee.com/onlylibrary/only-common-web-lib</url>
</scm>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。