1 Star 0 Fork 31

香蕉你个巴拉/alinesno-cloud-service-community

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 16.24 KB
一键复制 编辑 原始数据 按行查看 历史
Easton 提交于 2020-02-02 09:44 . 初始化版本。
<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.alinesno.cloud</groupId>
<artifactId>alinesno-cloud-starter-parent</artifactId>
<version>${revision}</version>
<description>工程父类,定义版本和编译信息</description>
<packaging>pom</packaging>
<url>https://gitee.com/landonniao/linesno-cloud-service</url>
<name>alinesno-cloud-starter-parent</name>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.4.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>WeiXiaoJin</name>
<email>luoandon@gmail.com</email>
<url>https://github.com/fangjian0423</url>
</developer>
<developer>
<name>WeiXiaoJin</name>
<url>https://gitee.com/WENDY-W</url>
</developer>
<developer>
<name>jiahuawalden</name>
<url>https://gitee.com/jiahuahe</url>
</developer>
<developer>
<name>OuChongJi</name>
<url>https://gitee.com/Oc204</url>
</developer>
</developers>
<properties>
<!-- alinesno_version_start -->
<revision>2.1.0-Alpha</revision>
<!-- alinesno_version_end -->
<!-- compile -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.source.version>1.8</java.source.version>
<java.target.version>1.8</java.target.version>
<java.version>1.8</java.version>
<argLine>-Dfile.encoding=UTF-8</argLine>
<skipTests>true</skipTests>
<nexus.repository>http://nexus.linesno.com/nexus</nexus.repository>
<!-- docker registry -->
<docker.repostory>registry-vpc.cn-shenzhen.aliyuncs.com</docker.repostory>
<docker.public.repostory>registry.cn-shenzhen.aliyuncs.com</docker.public.repostory>
<docker.registry.name>alinesno-cloud</docker.registry.name>
<docker.maven.plugin.version>0.4.13</docker.maven.plugin.version>
<jib.maven.plugin.version>1.8.0</jib.maven.plugin.version>
<!-- spring cloud -->
<spring-cloud.version>Greenwich.SR3</spring-cloud.version>
<spring-cloud-alibaba.version>2.1.0.RELEASE</spring-cloud-alibaba.version>
<spring-cloud-starter-zipkin.version>2.1.4.RELEASE</spring-cloud-starter-zipkin.version>
<brave-dubbo.version>5.8.0</brave-dubbo.version>
<!-- plugin version -->
<sonar.maven.plugin.version>3.5.0.1254</sonar.maven.plugin.version>
<versions.maven.plugin.version>2.7</versions.maven.plugin.version>
<!-- email -->
<javax.mail.version>1.4.7</javax.mail.version>
<geronimo.javamail_1.4_spec.version>1.6</geronimo.javamail_1.4_spec.version>
<!-- poi -->
<poi.version>3.15</poi.version>
<easypoi.web.version>3.0.3</easypoi.web.version>
<cxf.version>3.0.2</cxf.version>
<openoffice.version>3.2.1</openoffice.version>
<!-- zxing -->
<google.zxing.javase.version>3.3.0</google.zxing.javase.version>
<google.zxing.core.version>3.3.0</google.zxing.core.version>
<!-- guava -->
<guava.version>18.0</guava.version>
<!-- curator -->
<curator.version>2.10.0</curator.version>
<!-- json -->
<json.smart.version>2.2</json.smart.version>
<fastjson.version>1.2.47</fastjson.version>
<gson.version>2.8.5</gson.version>
<!-- velocity -->
<velocity.version>1.7</velocity.version>
<!-- swagger -->
<swagger2.version>2.8.0</swagger2.version>
<swagger.ui.version>2.8.0</swagger.ui.version>
<!-- hutool -->
<hutool.version>4.5.3</hutool.version>
<!-- dubbo -->
<dubbo-spring-boot.version>2.7.4.1</dubbo-spring-boot.version>
<dubbo-spring-boot-actuator.version>2.7.4.1</dubbo-spring-boot-actuator.version>
<dubbo.version>2.7.4.1</dubbo.version>
<druid-spring-boot.version>1.1.17</druid-spring-boot.version>
<spring-boot-admin.version>2.1.6</spring-boot-admin.version>
</properties>
<modules>
<!-- common core_start -->
<module>alinesno-cloud-dependencies</module>
<module>alinesno-cloud-core/alinesno-cloud-common-config</module>
<module>alinesno-cloud-core/alinesno-cloud-common-core</module>
<module>alinesno-cloud-core/alinesno-cloud-common-facade</module>
<module>alinesno-cloud-core/alinesno-cloud-common-generate</module>
<module>alinesno-cloud-core/alinesno-cloud-common-monitor</module>
<module>alinesno-cloud-core/alinesno-cloud-common-static</module>
<!-- common core_end -->
<!-- component_start
<module>alinesno-cloud-component/alinesno-cloud-component-socket</module>
-->
<module>alinesno-cloud-component/alinesno-cloud-component-kafka-producer</module>
<!-- component_end -->
<!-- base start -->
<module>alinesno-cloud-base/alinesno-cloud-base-boot-starter</module>
<module>alinesno-cloud-base/alinesno-cloud-base-notice-starter</module>
<module>alinesno-cloud-base/alinesno-cloud-base-workflow-starter</module>
<module>alinesno-cloud-base/alinesno-cloud-base-storage-starter</module>
<module>alinesno-cloud-base/alinesno-cloud-base-print-starter</module>
<!-- base end -->
<!-- watch_start -->
<module>alinesno-cloud-monitor/alinesno-cloud-watcher-agent</module>
<module>alinesno-cloud-monitor/alinesno-cloud-watcher-starter</module>
<!-- watch_end -->
<!-- project-web_start -->
<module>alinesno-cloud-web/alinesno-cloud-common-web-starter</module>
<module>alinesno-cloud-web/alinesno-cloud-common-web-starter-basic-auth</module>
<!-- project-web_end -->
<!-- project-gateway_start -->
<module>alinesno-cloud-gateway/alinesno-cloud-gateway-core</module>
<module>alinesno-cloud-gateway/alinesno-cloud-gateway-admin</module>
<!-- project-gateway_start -->
<!-- 应用服务 -->
<module>alinesno-cloud-project/alinesno-cloud-portal-web</module>
<module>alinesno-cloud-project/alinesno-cloud-base-boot-web</module>
<!-- web end -->
</modules>
<dependencyManagement>
<dependencies>
<!-- druid_start -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>${druid-spring-boot.version}</version>
</dependency>
<!-- druid_end -->
<!-- curator_start -->
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>${curator.version}</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-client</artifactId>
<version>${curator.version}</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-test</artifactId>
<version>${curator.version}</version>
<scope>test</scope>
</dependency>
<!-- curator_start -->
<!-- spring cloud_start -->
<!--
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
-->
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
<version>${spring-boot-admin.version}</version>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-server</artifactId>
<version>${spring-boot-admin.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zipkin</artifactId>
<version>${spring-cloud-starter-zipkin.version}</version>
</dependency>
<dependency>
<groupId>io.zipkin.brave</groupId>
<artifactId>brave-instrumentation-dubbo</artifactId>
<version>${brave-dubbo.version}</version>
</dependency>
<!--
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>${spring-cloud-alibaba.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-spring-boot-actuator</artifactId>
<version>${dubbo-spring-boot-actuator.version}</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
<version>${dubbo-spring-boot.version}</version>
</dependency>
-->
<!-- spring cloud_end -->
<!-- spring boot_start -->
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>${dubbo.version}</version>
</dependency>
<!-- spring boot_end -->
<!-- hutool start -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
<!-- hutool start -->
<!--Swagger2 start -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${swagger2.version}</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>${swagger.ui.version}</version>
</dependency>
<!--Swagger2 end -->
<!-- velocity start -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>${velocity.version}</version>
</dependency>
<!-- velocity end -->
<!-- guava_start -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<!-- guava_end -->
<!-- json start -->
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
<version>${json.smart.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<!-- json end -->
<!-- zxing start -->
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>${google.zxing.core.version}</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>javase</artifactId>
<version>${google.zxing.javase.version}</version>
</dependency>
<!-- zxing end -->
<!-- java mail start -->
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>${javax.mail.version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-javamail_1.4_spec</artifactId>
<version>${geronimo.javamail_1.4_spec.version}</version>
</dependency>
<!-- java mail end -->
<!-- poi start -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>${poi.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>${poi.version}</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>${poi.version}</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
<version>${poi.version}</version>
</dependency>
<!-- apache common start -->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<!-- apache common end -->
</dependencies>
</dependencyManagement>
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>alinesno</id>
<url>http://repository.linesno.com</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<!-- 私服发布需在setting.xml中配置鉴权账号 -->
<distributionManagement>
<repository>
<id>releases</id>
<name>Nexus Release Repository</name>
<url>${nexus.repository}/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>Nexus Snapshot Repository</name>
<url>${nexus.repository}/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<!-- 编译源代码插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.source.version}</source>
<target>${java.source.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<failOnError>false</failOnError>
<verbose>true</verbose>
<fork>true</fork>
<compilerArgument>-nowarn</compilerArgument>
</configuration>
</plugin>
<!-- sonar 插件 -->
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>${sonar.maven.plugin.version}</version>
</plugin>
<!-- docker 插件 -->
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${docker.maven.plugin.version}</version>
<configuration>
<!-- 镜像中心 -->
<serverId>docker-aliyun</serverId>
<registryUrl>${docker.repostory}</registryUrl>
<!-- 优化参数 -->
<forceTags>true</forceTags>
<imageTags>
<imageTag>${project.version}</imageTag>
<imageTag>latest</imageTag>
</imageTags>
<!-- 打包 -->
<imageName>${docker.repostory}/${docker.registry.name}/${project.artifactId}:${project.version}</imageName>
<baseImage>java:8</baseImage>
<cmd>["java", "-version"]</cmd>
<entryPoint>["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/ROOT/${project.build.finalName}.jar" , "--spring.profiles.active=hub"]</entryPoint>
<resources>
<resource>
<targetPath>/ROOT/</targetPath>
<directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
</configuration>
</plugin>
<!-- google docker打包插件
mvn compile jib:build
mvn compile jib:dockerBuild
mvn compile jib:buildTar
-->
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>${jib.maven.plugin.version}</version>
<configuration>
<from>
<image>frolvlad/alpine-java:jdk8-slim</image>
</from>
<to>
<image>${docker.repostory}/${docker.registry.name}/${project.artifactId}:${project.version}</image>
<tags>
<tag>${project.version}</tag>
<tag>latest</tag>
</tags>
</to>
<container>
<jvmFlags>
<jvmFlag>-Dfile.encoding=UTF-8</jvmFlag>
<!-- 调整成 -e JAVA_TOOL_OPTIONS="-Xms1G -Xmx1G -Dspring.profiles.active=prod" 传递参数,以适应多种环境
<jvmFlag>-Xms128m</jvmFlag>
<jvmFlag>-Xmx512m</jvmFlag>
<jvmFlag>-Dspring.profiles.active=hub</jvmFlag>
-->
<jvmFlag>-XX:+UseParNewGC</jvmFlag>
<jvmFlag>-XX:+UseConcMarkSweepGC</jvmFlag>
<jvmFlag>-XX:+DisableExplicitGC</jvmFlag>
<jvmFlag>-Xdebug</jvmFlag>
<jvmFlag>-Duser.timezone=GMT+08</jvmFlag>
<jvmFlag>-Djava.security.egd=file:/dev/./urandom</jvmFlag>
</jvmFlags>
<useCurrentTimestamp>false</useCurrentTimestamp>
</container>
<allowInsecureRegistries>true</allowInsecureRegistries>
</configuration>
</plugin>
<!--version_plugin_start -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions.maven.plugin.version}</version>
</plugin>
<!--version_plugin_end -->
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/oodcloud/alinesno-cloud-service-community.git
git@gitee.com:oodcloud/alinesno-cloud-service-community.git
oodcloud
alinesno-cloud-service-community
alinesno-cloud-service-community
master

搜索帮助