codefaster-dubbo-template
Version:
springboot、dubbo、nacos项目初始化模版
121 lines (119 loc) • 5.62 kB
text/xml
<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.createTemplate</groupId>
<artifactId>createTemplate</artifactId>
<version>1.0.0</version>
<name>${project.artifactId}</name>
<modules>
<module>createTemplate-parent</module>
<module>createTemplate-provider</module>
<module>createTemplate-api</module>
<module>createTemplate-model</module>
<module>createTemplate-personal-web</module>
<module>createTemplate-admin-web</module>
</modules>
<packaging>pom</packaging>
<properties>
<java.version>1.8</java.version>
<!-- Maven plugins -->
<maven_jar_version>3.0.2</maven_jar_version>
<maven_surefire_version>2.19.1</maven_surefire_version>
<maven_deploy_version>2.8.2</maven_deploy_version>
<maven_compiler_version>3.6.1</maven_compiler_version>
<maven_source_version>3.0.1</maven_source_version>
<maven_javadoc_version>3.0.0</maven_javadoc_version>
<maven_jetty_version>6.1.26</maven_jetty_version>
<maven_checkstyle_version>3.0.0</maven_checkstyle_version>
<maven_jacoco_version>0.8.1</maven_jacoco_version>
<apache-rat-plugin.version>0.12</apache-rat-plugin.version>
</properties>
<distributionManagement>
<repository>
<id>rdc-releases</id>
<url>https://repo.rdc.aliyun.com/repository/30296-release-fwdckA/</url>
</repository>
<snapshotRepository>
<id>rdc-snapshots</id>
<url>https://repo.rdc.aliyun.com/repository/30296-snapshot-gpHhTb/</url>
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven_compiler_version}</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<testSource>1.8</testSource>
<testTarget>1.8</testTarget>
<compilerArgs>
<arg>-verbose</arg>
<arg>-Xlint:all,-options,-path</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven_javadoc_version}</version>
<configuration>
<source>1.8</source>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven_surefire_version}</version>
<configuration>
<skipTests>true</skipTests>
<!-- <testFailureIgnore>true</testFailureIgnore> -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven_jar_version}</version>
<configuration>
<archive>
<addMavenDescriptor>true</addMavenDescriptor>
<index>true</index>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven_source_version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>