对比新文件 |
| | |
| | | <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| | | <modelVersion>4.0.0</modelVersion> |
| | | <parent> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-parent</artifactId> |
| | | <version>2.3.3.RELEASE</version> |
| | | <relativePath/> <!-- lookup parent from repository --> |
| | | </parent> |
| | | <groupId>com.gk.firework</groupId> |
| | | <artifactId>firework</artifactId> |
| | | <version>1.0.0</version> |
| | | <name>firework</name> |
| | | |
| | | <!-- <properties>--> |
| | | <!-- <java.version>1.8</java.version>--> |
| | | <!-- <project.name>firework</project.name>--> |
| | | <!-- <!– docker配置远程地址和本地证书–>--> |
| | | <!-- <docker.host>https://121.239.169.27:12375</docker.host>--> |
| | | <!-- <docker.cert>D:\docker</docker.cert>--> |
| | | <!-- </properties>--> |
| | | |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>javax.activation</groupId> |
| | | <artifactId>activation</artifactId> |
| | | <version>1.1</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>javax.mail</groupId> |
| | | <artifactId>mail</artifactId> |
| | | <version>1.4</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.apache.axis/axis --> |
| | | <dependency> |
| | | <groupId>org.apache.axis</groupId> |
| | | <artifactId>axis</artifactId> |
| | | <version>1.4</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/joda-time/joda-time --> |
| | | <dependency> |
| | | <groupId>joda-time</groupId> |
| | | <artifactId>joda-time</artifactId> |
| | | <version>2.10.13</version> |
| | | </dependency> |
| | | |
| | | <!-- https://mvnrepository.com/artifact/javax.xml.rpc/javax.xml.rpc-api --> |
| | | <dependency> |
| | | <groupId>javax.xml.rpc</groupId> |
| | | <artifactId>javax.xml.rpc-api</artifactId> |
| | | <version>1.1.2</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>commons-discovery</groupId> |
| | | <artifactId>commons-discovery</artifactId> |
| | | <version>0.5</version> |
| | | <exclusions> |
| | | <exclusion> |
| | | <groupId>commons-logging</groupId> |
| | | <artifactId>commons-logging</artifactId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>commons-logging</groupId> |
| | | <artifactId>commons-logging</artifactId> |
| | | <version>1.2</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/wsdl4j/wsdl4j --> |
| | | <dependency> |
| | | <groupId>wsdl4j</groupId> |
| | | <artifactId>wsdl4j</artifactId> |
| | | <version>1.5.2</version> |
| | | </dependency> |
| | | |
| | | |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-data-jdbc</artifactId> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-web</artifactId> |
| | | <exclusions> |
| | | <exclusion> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-logging</artifactId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.google.zxing</groupId> |
| | | <artifactId>core</artifactId> |
| | | <version>3.4.1</version> |
| | | </dependency> |
| | | <!-- 日志打印 --> |
| | | <!--<dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-logging</artifactId> |
| | | </dependency>--> |
| | | |
| | | <dependency> |
| | | <groupId>org.mybatis.spring.boot</groupId> |
| | | <artifactId>mybatis-spring-boot-starter</artifactId> |
| | | <version>2.1.3</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-log4j --> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-log4j</artifactId> |
| | | <version>1.3.8.RELEASE</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter --> |
| | | <dependency> |
| | | <groupId>com.baomidou</groupId> |
| | | <artifactId>mybatis-plus-boot-starter</artifactId> |
| | | <version>3.3.2</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter --> |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>druid-spring-boot-starter</artifactId> |
| | | <version>1.1.22</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-devtools</artifactId> |
| | | <scope>runtime</scope> |
| | | <optional>true</optional> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>mysql</groupId> |
| | | <artifactId>mysql-connector-java</artifactId> |
| | | <scope>runtime</scope> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-configuration-processor</artifactId> |
| | | <optional>true</optional> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-test</artifactId> |
| | | <scope>test</scope> |
| | | <exclusions> |
| | | <exclusion> |
| | | <groupId>org.junit.vintage</groupId> |
| | | <artifactId>junit-vintage-engine</artifactId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec --> |
| | | <dependency> |
| | | <groupId>commons-codec</groupId> |
| | | <artifactId>commons-codec</artifactId> |
| | | <version>1.14</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 --> |
| | | <dependency> |
| | | <groupId>org.apache.commons</groupId> |
| | | <artifactId>commons-lang3</artifactId> |
| | | <version>3.11</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.apache.poi/poi --> |
| | | <dependency> |
| | | <groupId>org.apache.poi</groupId> |
| | | <artifactId>poi</artifactId> |
| | | <version>4.1.2</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.apache.poi</groupId> |
| | | <artifactId>poi-ooxml</artifactId> |
| | | <version>4.1.2</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.springframework/spring-beans --> |
| | | <dependency> |
| | | <groupId>org.springframework</groupId> |
| | | <artifactId>spring-beans</artifactId> |
| | | <version>5.2.8.RELEASE</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.java-websocket/Java-WebSocket --> |
| | | <dependency> |
| | | <groupId>org.java-websocket</groupId> |
| | | <artifactId>Java-WebSocket</artifactId> |
| | | <version>1.5.1</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-websocket</artifactId> |
| | | <version>2.1.0.RELEASE</version> |
| | | </dependency> |
| | | |
| | | <!-- 整合swagger2--> |
| | | <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 --> |
| | | <dependency> |
| | | <groupId>io.springfox</groupId> |
| | | <artifactId>springfox-swagger2</artifactId> |
| | | <version>2.8.0</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui --> |
| | | <dependency> |
| | | <groupId>io.springfox</groupId> |
| | | <artifactId>springfox-swagger-ui</artifactId> |
| | | <version>2.8.0</version> |
| | | </dependency> |
| | | |
| | | <!-- 整合redis auth2--> |
| | | <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security --> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-security</artifactId> |
| | | <version>2.3.3.RELEASE</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-redis --> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-data-redis</artifactId> |
| | | <version>2.3.3.RELEASE</version> |
| | | <exclusions> |
| | | <exclusion> |
| | | <groupId>io.lettuce</groupId> |
| | | <artifactId>lettuce-core</artifactId> |
| | | </exclusion> |
| | | </exclusions> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/redis.clients/jedis --> |
| | | <dependency> |
| | | <groupId>redis.clients</groupId> |
| | | <artifactId>jedis</artifactId> |
| | | <version>3.3.0</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.springframework.security.oauth/spring-security-oauth2 --> |
| | | <dependency> |
| | | <groupId>org.springframework.security.oauth</groupId> |
| | | <artifactId>spring-security-oauth2</artifactId> |
| | | <version>2.3.3.RELEASE</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-core --> |
| | | <dependency> |
| | | <groupId>org.springframework.security</groupId> |
| | | <artifactId>spring-security-core</artifactId> |
| | | <version>5.3.4.RELEASE</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>cn.hutool</groupId> |
| | | <artifactId>hutool-all</artifactId> |
| | | <version>5.0.6</version> |
| | | </dependency> |
| | | <!--json tools--> |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>fastjson</artifactId> |
| | | <version>2.0.17</version> |
| | | </dependency> |
| | | <!--jwt--> |
| | | <dependency> |
| | | <groupId>io.jsonwebtoken</groupId> |
| | | <artifactId>jjwt</artifactId> |
| | | <version>0.9.0</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.security</groupId> |
| | | <artifactId>spring-security-jwt</artifactId> |
| | | <version>1.0.9.RELEASE</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/com.liferay/org.apache.commons.fileupload --> |
| | | <dependency> |
| | | <groupId>com.liferay</groupId> |
| | | <artifactId>org.apache.commons.fileupload</artifactId> |
| | | <version>1.2.2.LIFERAY-PATCHED-1</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.jetbrains/annotations --> |
| | | <dependency> |
| | | <groupId>org.jetbrains</groupId> |
| | | <artifactId>annotations</artifactId> |
| | | <version>20.1.0</version> |
| | | </dependency> |
| | | <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> |
| | | <dependency> |
| | | <groupId>org.projectlombok</groupId> |
| | | <artifactId>lombok</artifactId> |
| | | <version>1.18.12</version> |
| | | <scope>provided</scope> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.apache.httpcomponents</groupId> |
| | | <artifactId>httpclient</artifactId> |
| | | <version>4.5</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-validation</artifactId> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.baomidou</groupId> |
| | | <artifactId>mybatis-plus-extension</artifactId> |
| | | <version>3.4.1</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.aspectj</groupId > |
| | | <artifactId>aspectjweaver</artifactId > |
| | | <version>1.8.13</version > |
| | | </dependency> |
| | | |
| | | |
| | | <dependency> |
| | | <groupId>e-iceblue</groupId> |
| | | <artifactId>spire.office.free</artifactId> |
| | | <version>3.1.1</version> |
| | | </dependency> |
| | | |
| | | </dependencies> |
| | | <repositories> |
| | | <repository> |
| | | <id>com.e-iceblue</id> |
| | | <url>http://repo.e-iceblue.cn/repository/maven-public/</url> |
| | | </repository> |
| | | </repositories> |
| | | <build> |
| | | <resources> |
| | | <resource> |
| | | <directory>src/main/java</directory> |
| | | <includes> |
| | | <include>**/*.xml</include> |
| | | </includes> |
| | | </resource> |
| | | <!--设置自己目录下的配置文件--> |
| | | <resource> |
| | | <!--下方resources的文件夹名字要和自己项目的文件夹名确认一致才行 很多人就是忽略了名字不一致 --> |
| | | <directory>src/main/resources</directory> |
| | | <includes> |
| | | <include>**/*</include> |
| | | </includes> |
| | | </resource> |
| | | </resources> |
| | | <plugins> |
| | | <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | <configuration> |
| | | <mainClass>com.gk.firework.FireworkApplication</mainClass> |
| | | <fork>true</fork> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |
| | | <goals> |
| | | <goal>repackage</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- docker插件--> |
| | | <!-- <plugin>--> |
| | | <!-- <groupId>com.spotify</groupId>--> |
| | | <!-- <artifactId>docker-maven-plugin</artifactId>--> |
| | | <!-- <version>1.0.0</version>--> |
| | | <!-- <!–将插件绑定在某个phase执行–>--> |
| | | <!-- <executions>--> |
| | | <!-- <execution>--> |
| | | <!-- <id>remove-image</id>--> |
| | | <!-- <phase>package</phase>--> |
| | | <!-- <goals>--> |
| | | <!-- <goal>removeImage</goal>--> |
| | | <!-- </goals>--> |
| | | <!-- <configuration>--> |
| | | <!-- <imageName>--> |
| | | <!-- ${project.artifactId}-${project.version}--> |
| | | <!-- </imageName>--> |
| | | <!-- <imageTags>--> |
| | | <!-- <imageTag>latest</imageTag>--> |
| | | <!-- </imageTags>--> |
| | | <!-- </configuration>--> |
| | | <!-- </execution>--> |
| | | <!-- <execution>--> |
| | | <!-- <id>build-image</id>--> |
| | | <!-- <!–将插件绑定在package这个phase上。也就是说,用户只需执行mvn package ,就会自动执行mvn docker:build–>--> |
| | | <!-- <phase>package</phase>--> |
| | | <!-- <goals>--> |
| | | <!-- <goal>build</goal>--> |
| | | <!-- </goals>--> |
| | | <!-- </execution>--> |
| | | <!-- </executions>--> |
| | | <!-- <configuration>--> |
| | | <!-- <!–指定生成的镜像名–>--> |
| | | <!-- <imageName>--> |
| | | <!-- ${project.artifactId}-${project.version}--> |
| | | <!-- </imageName>--> |
| | | <!-- <!–指定标签–>--> |
| | | <!-- <imageTags>--> |
| | | <!-- <imageTag>latest</imageTag>--> |
| | | <!-- </imageTags>--> |
| | | <!-- <!– 指定 Dockerfile 路径 ${project.basedir}:项目根路径下–>--> |
| | | <!-- <dockerDirectory>${project.basedir}</dockerDirectory>--> |
| | | <!-- <!–指定远程 docker api地址–>--> |
| | | <!-- <dockerHost>${docker.host}</dockerHost>--> |
| | | <!-- <dockerCertPath>${docker.cert}</dockerCertPath>--> |
| | | <!-- <!– 这里是复制 jar 包到 docker 容器指定目录配置 –>--> |
| | | <!-- <resources>--> |
| | | <!-- <resource>--> |
| | | <!-- <targetPath>/</targetPath>--> |
| | | <!-- <!–jar 包所在的路径 此处配置的 即对应 target 目录–>--> |
| | | <!-- <directory>${project.build.directory}</directory>--> |
| | | <!-- <!– 需要包含的 jar包 ,这里对应的是 Dockerfile中添加的文件名 –>--> |
| | | <!-- <include>${project.build.finalName}.jar</include>--> |
| | | <!-- </resource>--> |
| | | <!-- </resources>--> |
| | | <!-- <!– 以下两行是为了docker push到DockerHub使用的。 –>--> |
| | | <!-- <serverId>docker-hub</serverId>--> |
| | | <!-- <registryUrl>https://index.docker.io/v1</registryUrl>--> |
| | | <!-- </configuration>--> |
| | | <!-- </plugin>--> |
| | | </plugins> |
| | | </build> |
| | | |
| | | </project> |