| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <?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">
- <parent>
- <artifactId>ruoyi</artifactId>
- <groupId>com.ruoyi</groupId>
- <version>3.8.3</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <packaging>jar</packaging>
- <artifactId>oneDay-tour</artifactId>
- <description>
- web服务入口
- </description>
- <dependencies>
- <!-- spring-boot-devtools -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-devtools</artifactId>
- <optional>true</optional> <!-- 表示依赖不会传递 -->
- </dependency>
- <!-- swagger3-->
- <dependency>
- <groupId>io.springfox</groupId>
- <artifactId>springfox-boot-starter</artifactId>
- </dependency>
- <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-models</artifactId>
- <version>1.6.2</version>
- </dependency>
- <!-- Mysql驱动包 -->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- </dependency>
- <!-- 核心模块-->
- <dependency>
- <groupId>com.ruoyi</groupId>
- <artifactId>ruoyi-framework</artifactId>
- </dependency>
- <!-- 定时任务-->
- <dependency>
- <groupId>com.ruoyi</groupId>
- <artifactId>ruoyi-quartz</artifactId>
- </dependency>
- <!-- 代码生成-->
- <dependency>
- <groupId>com.ruoyi</groupId>
- <artifactId>ruoyi-generator</artifactId>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>2.1.1.RELEASE</version>
- <configuration>
- <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.0.0</version>
- <configuration>
- <failOnMissingWebXml>false</failOnMissingWebXml>
- <warName>${project.artifactId}</warName>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>8</source>
- <target>8</target>
- </configuration>
- </plugin>
- <!-- <plugin>-->
- <!-- <groupId>com.spotify</groupId>-->
- <!-- <artifactId>docker-maven-plugin</artifactId>-->
- <!-- <version>1.0.0</version>-->
- <!-- <!–将插件绑定在某个phase执行–>-->
- <!-- <executions>-->
- <!-- <execution>-->
- <!-- <id>build-image</id>-->
- <!-- <!–用户只需执行mvn package ,就会自动执行mvn docker:build–>-->
- <!-- <phase>package</phase>-->
- <!-- <goals>-->
- <!-- <goal>build</goal>-->
- <!-- </goals>-->
- <!-- </execution>-->
- <!-- </executions>-->
- <!-- <configuration>-->
- <!-- <!–指定生成的镜像名,这里是我们的作者名+项目名–>-->
- <!-- <imageName>lizhipeng/${project.artifactId}</imageName>-->
- <!-- <!–指定标签 这里指定的是镜像的版本,我们默认版本是latest–>-->
- <!-- <imageTags>-->
- <!-- <imageTag>latest</imageTag>-->
- <!-- </imageTags>-->
- <!-- <!–指定基础镜像jdk1.8–>-->
- <!-- <baseImage>java</baseImage>-->
- <!-- <!–-->
- <!-- 镜像制作人本人信息-->
- <!-- <maintainer>bruceliu@email.com</maintainer>-->
- <!-- –>-->
- <!-- <!–切换到ROOT目录–>-->
- <!-- <workdir>/ROOT</workdir>-->
- <!-- <!–查看我们的java版本–>-->
- <!-- <cmd>["java", "-version"]</cmd>-->
- <!-- <!–${project.build.finalName}.jar是打包后生成的jar包的名字–>-->
- <!-- <entryPoint>["java", "-jar", "/${project.build.finalName}.jar"]</entryPoint>-->
- <!-- <!–指定远程 docker api地址–>-->
- <!-- <dockerHost>http://119.45.134.58:12315</dockerHost>-->
- <!-- <!– 这里是复制 jar 包到 docker 容器指定目录配置 –>-->
- <!-- <resources>-->
- <!-- <resource>-->
- <!-- <targetPath>/</targetPath>-->
- <!-- <!–jar 包所在的路径 此处配置的 即对应 target 目录–>-->
- <!-- <directory>${project.build.directory}</directory>-->
- <!-- <!–用于指定需要复制的文件 需要包含的 jar包 ,这里对应的是 Dockerfile中添加的文件名 –>-->
- <!-- <include>${project.build.finalName}.jar</include>-->
- <!-- </resource>-->
- <!-- </resources>-->
- <!-- </configuration>-->
- <!-- </plugin>-->
- </plugins>
- <finalName>${project.artifactId}</finalName>
- </build>
- </project>
|