123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333 |
- <?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>prod-line</artifactId>
- <groupId>com.huaxia</groupId>
- <version>1.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>prod-line-admin</artifactId>
- <dependencies>
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-core</artifactId>
- <version>${mybatis-plus.version}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-extension</artifactId>
- <version>${mybatis-plus.version}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>com.huaxia</groupId>
- <artifactId>prod-line-bas</artifactId>
- <version>1.0-SNAPSHOT</version>
- <exclusions>
- <exclusion>
- <artifactId>mybatis</artifactId>
- <groupId>org.mybatis</groupId>
- </exclusion>
- <exclusion>
- <artifactId>ruoyi-framework</artifactId>
- <groupId>com.ruoyi</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.huaxia</groupId>
- <artifactId>prod-line-imes</artifactId>
- <version>1.0-SNAPSHOT</version>
- <exclusions>
- <exclusion>
- <artifactId>mybatis</artifactId>
- <groupId>org.mybatis</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.ruoyi</groupId>
- <artifactId>ruoyi-common</artifactId>
- <version>${ruoyi.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>mybatis</artifactId>
- <groupId>org.mybatis</groupId>
- </exclusion>
- <exclusion>
- <groupId>com.ruoyi</groupId>
- <artifactId>ruoyi-framework</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.ruoyi</groupId>
- <artifactId>ruoyi-framework</artifactId>
- <version>${ruoyi.version}-erp</version>
- </dependency>
- <dependency>
- <groupId>com.ruoyi</groupId>
- <artifactId>ruoyi-system</artifactId>
- <version>${ruoyi.version}</version>
- </dependency>
- <dependency>
- <groupId>cmpt</groupId>
- <artifactId>cmpt-ruoyi</artifactId>
- <version>${ruoyi.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>ruoyi-framework</artifactId>
- <groupId>com.ruoyi</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>cmpt</groupId>
- <artifactId>cmpt-ruoyiplus</artifactId>
- <version>1.0.1-SNAPSHOT</version>
- <exclusions>
- <exclusion>
- <groupId>cmpt</groupId>
- <artifactId>cmpt-ruoyi</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- Lombok -->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
- <!-- 测试 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- Mysql驱动包 -->
- <dependency>
- <groupId>com.mysql</groupId>
- <artifactId>mysql-connector-j</artifactId>
- <version>8.2.0</version>
- </dependency>
- <!--sql server驱动-->
- <dependency>
- <groupId>com.microsoft.sqlserver</groupId>
- <artifactId>mssql-jdbc</artifactId>
- <version>9.2.1.jre8</version>
- </dependency>
- <dependency>
- <groupId>cmpt</groupId>
- <artifactId>cmpt-mbr-web</artifactId>
- <version>1.0.1-SNAPSHOT</version>
- </dependency>
- <!-- 文件上传 -->
- <dependency>
- <groupId>cmpt</groupId>
- <artifactId>cmpt-oss</artifactId>
- <version>1.0.1-SNAPSHOT</version>
- </dependency>
- <!-- 变动日志 -->
- <dependency>
- <groupId>cmpt</groupId>
- <artifactId>cmpt-changelog</artifactId>
- <version>1.0.1-SNAPSHOT</version>
- </dependency>
- <!-- <!– 接入ruoyi-sync组织架构同步 –>-->
- <!-- <dependency>-->
- <!-- <groupId>cmpt</groupId>-->
- <!-- <artifactId>cmpt-ruoyi-sync</artifactId>-->
- <!-- <version>1.0.1-SNAPSHOT</version>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>com.soaringloong</groupId>
- <artifactId>jfrm-spring-boot-starter-web</artifactId>
- <version>1.0.1-jdk17-snapshot</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>${project.artifactId}</finalName>
- <plugins>
- <!--<plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>${spring-boot.version}</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.1.0</version>
- <configuration>
- <failOnMissingWebXml>false</failOnMissingWebXml>
- <warName>${project.artifactId}</warName>
- </configuration>
- </plugin>-->
- <!-- 配置文件与资源文件 拷贝到config目录 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.6</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <!-- 配置文件输出到单独的目录 config,这些文件最终不打包到jar中 -->
- <outputDirectory>${project.build.directory}/config</outputDirectory>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <!-- 特殊的资源文件不输出到单独的目录,这些文件最终会打包到jar中 -->
- <excludes>
- <exclude>**/i18n/**</exclude>
- <exclude>**/mybatis/**</exclude>
- <exclude>**/public/**</exclude>
- <exclude>**/static/**</exclude>
- <exclude>**/templates/**</exclude>
- <exclude>**/db/**</exclude>
- <exclude>spy.properties</exclude>
- <exclude>rebel.xml</exclude>
- </excludes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- 配置文件与资源文件 不打进主程序jar包
- 主程序jar包的META-INFO/MANIFEST文件写入依赖jar定义
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${maven-jar-plugin.version}</version>
- <configuration>
- <excludes>
- <exclude>**/application*.yml</exclude>
- <exclude>**/application*.properties</exclude>
- <exclude>**/logback*.xml</exclude>
- <exclude>**/log4j*.xml</exclude>
- <exclude>**/bootstrap.yml</exclude>
- <exclude>**/setting.properties</exclude>
- <exclude>**/rebel.xml</exclude>
- </excludes>
- <archive>
- <manifest>
- <addClasspath>true</addClasspath>
- <classpathPrefix>lib/</classpathPrefix>
- <useUniqueVersions>false</useUniqueVersions>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <!-- 依赖库单独输出到 lib 目录,不打进主程序 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.6.1</version>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <!--
- 各子模块按照实际层级定义各模块对应的属性值,检查所有微服务模块依赖jar文件合并复制到同一个目录
- 详见各子模块中 boot-jar-output 属性定义
- -->
- <!--
- <outputDirectory>${boot-jar-output}/lib</outputDirectory>
- -->
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- <includeScope>runtime</includeScope>
- <excludeTransitive>false</excludeTransitive>
- <stripVersion>false</stripVersion>
- <!--<silent>true</silent>-->
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>false</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- springboot 重新打主程序jar包,排除所有maven依赖jar -->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>${spring-boot.version}</version>
- <configuration>
- <includeSystemScope>true</includeSystemScope>
- <mainClass>com.huaxia.ProdApplication</mainClass>
- <!-- 排除所有maven依赖jar -->
- <includes>
- <include>
- <groupId>null</groupId>
- <artifactId>null</artifactId>
- </include>
- </includes>
- <layout>ZIP</layout>
- <!--<outputDirectory>${boot-jar-output}</outputDirectory>-->
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal><!-- 重新打包成springboot的可运行jar包 -->
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|