123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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>edp.davinci</groupId>
- <artifactId>davinci-parent_0.3.1</artifactId>
- <version>0.3.1-SNAPSHOT</version>
- <packaging>pom</packaging>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.0.4.RELEASE</version>
- </parent>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
- <modules>
- <module>assembly</module>
- <module>server</module>
- </modules>
- <properties>
- <main.basedir>${project.basedir}</main.basedir>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <java.version>1.8</java.version>
- <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
- </properties>
- <repositories>
- <!--
- <repository>
- <id>alimaven</id>
- <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
- </repository>
- -->
- <repository>
- <id>central</id>
- <name>Maven Repository</name>
- <url>https://repo1.maven.org/maven2</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>central</id>
- <url>https://repo1.maven.org/maven2</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
- <build>
- <plugins>
- <!-- ========================================================== -->
- <!-- compile -->
- <!-- ========================================================== -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.6.1</version>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- <source>${java.version}</source>
- <target>${java.version}</target>
- <compilerVersion>${java.version}</compilerVersion>
- <optimize>true</optimize>
- <maxmem>1024m</maxmem>
- <fork>true</fork>
- <compilerArguments>
- <bootclasspath>
- ${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar${path.separator}${java.home}/../lib/tools.jar
- </bootclasspath>
- </compilerArguments>
- <compilerArgs>
- <arg>-Xlint:all,-serial,-path</arg>
- <arg>-XDignore.symbol.file</arg>
- </compilerArgs>
- </configuration>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- ========================================================== -->
- <!-- license -->
- <!-- ========================================================== -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>license-maven-plugin</artifactId>
- <version>1.13</version>
- <configuration>
- <!-- config for license:aggregate-add-third-party -->
- <outputDirectory>${main.basedir}</outputDirectory>
- <thirdPartyFilename>LICENSE-3RD-PARTY</thirdPartyFilename>
- <fileTemplate>/org/codehaus/mojo/license/third-party-file-groupByLicense.ftl</fileTemplate>
- <useMissingFile>true</useMissingFile>
- <missingFile>${main.basedir}/LICENSE-3RD-PARTY.properties</missingFile>
- <aggregateMissingLicensesFile>${main.basedir}/LICENSE-3RD-PARTY.properties
- </aggregateMissingLicensesFile>
- <licenseMerges>
- <licenseMerge>Apache 2.0|ASL, version
- 2|http://www.apache.org/licenses/LICENSE-2.0.txt|http://asm.ow2.org/license.html|The Apache
- License, Version 2.0|Apache License|Apache License Version 2|Apache License Version
- 2.0|Apache Software License - Version 2.0|Apache 2.0 License|Apache License 2.0|ASL|Apache
- 2|Apache-2.0|the Apache License, ASL Version 2.0|The Apache Software License, Version
- 2.0|Apache License, Version 2.0|Apache Public License 2.0
- </licenseMerge>
- <licenseMerge>BSD|The BSD 3-Clause License|The BSD License|Modified BSD License|New BSD
- License|New BSD license|Two-clause BSD-style license|BSD licence|BSD New|The New BSD
- License|BSD 3-Clause|BSD 3-clause
- </licenseMerge>
- <licenseMerge>MIT|MIT License|The MIT License</licenseMerge>
- <licenseMerge>LGPL|LGPL, version 2.1|GNU Library or Lesser General Public License (LGPL)
- V2.1|GNU Lesser General Public License (LGPL), Version 2.1|GNU Lesser General Public
- License, Version 2.1|LGPL 2.1
- </licenseMerge>
- <licenseMerge>CDDL|CDDL+GPL|CDDL+GPL License|CDDL + GPLv2 with classpath exception|CDDL
- License|CDDL 1.0|CDDL 1.1|COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version
- 1.0|Common Development and Distribution License (CDDL) v1.0
- </licenseMerge>
- <licenseMerge>EPL|Eclipse Public License - Version 1.0</licenseMerge>
- <licenseMerge>GPL|GPL2 w/ CPE|GPLv2+CE|GNU General Public Library</licenseMerge>
- <licenseMerge>MPL|MPL 1.1</licenseMerge>
- <licenseMerge>Public Domain</licenseMerge>
- <licenseMerge>Common Public License|Common Public License Version 1.0</licenseMerge>
- <licenseMerge>CC0|CC0 1.0 Universal|Public Domain, per Creative Commons CC0</licenseMerge>
- <licenseMerge>Unknown License|Unknown license</licenseMerge>
- </licenseMerges>
- <!-- config for license:aggregate-download-licenses -->
- <aggregateDownloadLicenses.executeOnlyOnRootModule>true
- </aggregateDownloadLicenses.executeOnlyOnRootModule>
- <!--<licensesConfigFile>${main.basedir}/lic/config/licenses.xml</licensesConfigFile>-->
- <licensesOutputFile>dev/lic/licenses.xml</licensesOutputFile>
- <licensesOutputDirectory>dev/lic/licenses/</licensesOutputDirectory>
- <!-- config for license:update-file-header -->
- <licenseName>apache_v2</licenseName>
- <inceptionYear>2016</inceptionYear>
- <organizationName>EDP</organizationName>
- <projectName>Davinci</projectName>
- <roots>
- <root>src/main/java</root>
- <root>src/test/java</root>
- </roots>
- <includes>
- <include>**/*.java</include>
- <include>**/*.xml</include>
- <include>**/*.sh</include>
- <include>**/*.py</include>
- <include>**/*.properties</include>
- <include>**/*.sql</include>
- <include>**/*.yml</include>
- <!--<include>**/*.html</include>-->
- <!--<include>**/*.less</include>-->
- <!--<include>**/*.css</include>-->
- <!--<include>**/*.js</include>-->
- </includes>
- <extraExtensions>
- <scala>java</scala>
- </extraExtensions>
- <canUpdateCopyright>true</canUpdateCopyright>
- <canUpdateDescription>true</canUpdateDescription>
- <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
- <emptyLineAfterHeader>true</emptyLineAfterHeader>
- <processStartTag><<</processStartTag>
- <processEndTag>>></processEndTag>
- <sectionDelimiter>==</sectionDelimiter>
- <encoding>UTF-8</encoding>
- <!-- config for mvn license:update-project-license -->
- <licenseFile>${main.basedir}/LICENSE</licenseFile>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jasig.maven</groupId>
- <artifactId>maven-notice-plugin</artifactId>
- <version>1.0.6.1</version>
- <configuration>
- <noticeTemplate>https://source.jasig.org/licenses/NOTICE.template</noticeTemplate>
- <licenseMapping>
- <param>https://source.jasig.org/licenses/license-mappings.xml</param>
- </licenseMapping>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <!--使用jib插件-->
- <plugin>
- <groupId>com.google.cloud.tools</groupId>
- <artifactId>jib-maven-plugin</artifactId>
- <version>1.7.0</version>
- <configuration>
- <!--from节点用来设置镜像的基础镜像,相当于Docerkfile中的FROM关键字-->
- <from>
- <image>docker.xt.wenhq.top:8083/docker_r/centos:1.0</image>
- </from>
- <to>
- <!--镜像名称和tag,使用了mvn内置变量${project.version},表示当前工程的version-->
- <image>docker.xt.wenhq.top:8083/taihu_jh/taihu_analysis:${project.version}</image>
- <auth>
- <username>admin</username>
- <password>xtwenhongquan</password>
- </auth>
- </to>
- <!--容器相关的属性-->
- <container>
- <useCurrentTimestamp>true</useCurrentTimestamp>
- </container>
- <allowInsecureRegistries>true</allowInsecureRegistries>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|