¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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.7.3</version> |
| | | <relativePath/> <!-- lookup parent from repository --> |
| | | </parent> |
| | | <groupId>com.yuanchu</groupId> |
| | | <artifactId>lims-laboratory</artifactId> |
| | | <version>0.0.1-SNAPSHOT</version> |
| | | <name>lims-laboratory</name> |
| | | <description>lims-laboratory</description> |
| | | <packaging>pom</packaging> |
| | | |
| | | <modules> |
| | | <module>user-server</module> |
| | | <module>sys</module> |
| | | <module>framework</module> |
| | | <module>standard-server</module> |
| | | <module>inspection-server</module> |
| | | <module>laboratory-server</module> |
| | | </modules> |
| | | |
| | | <properties> |
| | | <java.version>1.8</java.version> |
| | | <log4j.version>1.2.17</log4j.version> |
| | | <mysql.version>8.0.28</mysql.version> |
| | | <jwt.version>4.4.0</jwt.version> |
| | | <swagger.version>3.0.0</swagger.version> |
| | | <knife4j-spring-ui.version>3.0.3</knife4j-spring-ui.version> |
| | | <druid.version>1.2.18</druid.version> |
| | | <mybatis-plus.version>3.5.3.1</mybatis-plus.version> |
| | | <openfeign.version>3.1.3</openfeign.version> |
| | | <feign-okhttp.version>11.0</feign-okhttp.version> |
| | | <shiro.version>1.5.3</shiro.version> |
| | | |
| | | <!-- æå
å导åºçè·¯å¾ --> |
| | | <package.path>${project.build.directory}/LIMS</package.path> |
| | | </properties> |
| | | |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-web</artifactId> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-test</artifactId> |
| | | </dependency> |
| | | |
| | | <!--çé¨ç½²a--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-devtools</artifactId> |
| | | <scope>runtime</scope> |
| | | <optional>true</optional> |
| | | </dependency> |
| | | |
| | | <!--lombok--> |
| | | <dependency> |
| | | <groupId>org.projectlombok</groupId> |
| | | <artifactId>lombok</artifactId> |
| | | </dependency> |
| | | |
| | | <!--Swagger3--> |
| | | <dependency> |
| | | <groupId>io.springfox</groupId> |
| | | <artifactId>springfox-boot-starter</artifactId> |
| | | <version>${swagger.version}</version> |
| | | </dependency> |
| | | |
| | | <!--mybatis-plus--> |
| | | <dependency> |
| | | <groupId>com.baomidou</groupId> |
| | | <artifactId>mybatis-plus-boot-starter</artifactId> |
| | | <version>${mybatis-plus.version}</version> |
| | | </dependency> |
| | | |
| | | <!--åç«¯æ³¨éæ£éªå·¥å
·--> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-validation</artifactId> |
| | | </dependency> |
| | | </dependencies> |
| | | <dependencyManagement> |
| | | <dependencies> |
| | | <!--log4j--> |
| | | <dependency> |
| | | <groupId>log4j</groupId> |
| | | <artifactId>log4j</artifactId> |
| | | <version>${log4j.version}</version> |
| | | </dependency> |
| | | |
| | | <!--mysql--> |
| | | <dependency> |
| | | <groupId>mysql</groupId> |
| | | <artifactId>mysql-connector-java</artifactId> |
| | | <version>${mysql.version}</version> |
| | | </dependency> |
| | | |
| | | <!--æ°æ®åºè¿æ¥æ± --> |
| | | <dependency> |
| | | <groupId>com.alibaba</groupId> |
| | | <artifactId>druid</artifactId> |
| | | <version>${druid.version}</version> |
| | | </dependency> |
| | | |
| | | <!--Swagger3-Uiç¾å--> |
| | | <dependency> |
| | | <groupId>com.github.xiaoymin</groupId> |
| | | <artifactId>knife4j-spring-ui</artifactId> |
| | | <version>${knife4j-spring-ui.version}</version> |
| | | </dependency> |
| | | |
| | | <!--mybatis-plus代ç çæå¨--> |
| | | <dependency> |
| | | <groupId>com.baomidou</groupId> |
| | | <artifactId>mybatis-plus-generator</artifactId> |
| | | <version>${mybatis-plus.version}</version> |
| | | </dependency> |
| | | |
| | | <!--feign--> |
| | | <dependency> |
| | | <groupId>org.springframework.cloud</groupId> |
| | | <artifactId>spring-cloud-starter-openfeign</artifactId> |
| | | <version>${openfeign.version}</version> |
| | | </dependency> |
| | | |
| | | <!--okhttp--> |
| | | <dependency> |
| | | <groupId>io.github.openfeign</groupId> |
| | | <artifactId>feign-okhttp</artifactId> |
| | | <version>${feign-okhttp.version}</version> |
| | | </dependency> |
| | | |
| | | <!--å®å
¨æ¡æ¶shiro--> |
| | | <dependency> |
| | | <groupId>org.apache.shiro</groupId> |
| | | <artifactId>shiro-spring-boot-starter</artifactId> |
| | | <version>${shiro.version}</version> |
| | | </dependency> |
| | | |
| | | <!--jwt--> |
| | | <dependency> |
| | | <groupId>com.auth0</groupId> |
| | | <artifactId>java-jwt</artifactId> |
| | | <version>${jwt.version}</version> |
| | | </dependency> |
| | | </dependencies> |
| | | </dependencyManagement> |
| | | |
| | | <build> |
| | | <plugins> |
| | | <!-- ä¸çº¿é¨ç½² JARå¯å¨å离ä¾èµlibåé
ç½® --> |
| | | <!-- æå
jar --> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-jar-plugin</artifactId> |
| | | <configuration> |
| | | <!-- 䏿å
èµæºæä»¶ --> |
| | | <excludes> |
| | | <exclude>*.**</exclude> |
| | | </excludes> |
| | | <archive> |
| | | <manifest> |
| | | <addClasspath>true</addClasspath> |
| | | <!-- MANIFEST.MF ä¸ Class-Path å å
¥åç¼ --> |
| | | <classpathPrefix>lib/</classpathPrefix> |
| | | <!-- jarå
ä¸å
å«å¯ä¸çæ¬æ è¯ --> |
| | | <useUniqueVersions>false</useUniqueVersions> |
| | | <!-- æå®å
¥å£ç±» --> |
| | | <mainClass>com.yuanchu.limslaboratory.SysApplication</mainClass> |
| | | </manifest> |
| | | <!-- æå®é
ç½®æä»¶ç®å½ï¼è¿æ ·jarè¿è¡æ¶ä¼å»æ¾å°åç®å½ä¸çconfæä»¶å¤¹ä¸æ¥æ¾ --> |
| | | <manifestEntries> |
| | | <Class-Path>conf/</Class-Path> |
| | | </manifestEntries> |
| | | </archive> |
| | | <outputDirectory>${package.path}</outputDirectory> |
| | | </configuration> |
| | | </plugin> |
| | | <!-- æ·è´ä¾èµ copy-dependencies --> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-dependency-plugin</artifactId> |
| | | <executions> |
| | | <execution> |
| | | <id>copy-dependencies</id> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>copy-dependencies</goal> |
| | | </goals> |
| | | <configuration> |
| | | <outputDirectory>${package.path}/lib/ </outputDirectory> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- æ·è´èµæºæä»¶ copy-resources --> |
| | | <plugin> |
| | | <artifactId>maven-resources-plugin</artifactId> |
| | | <executions> |
| | | <execution> |
| | | <id>copy-resources</id> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>copy-resources</goal> |
| | | </goals> |
| | | <configuration> |
| | | <resources> |
| | | <resource> |
| | | <directory>src/main/resources</directory> |
| | | <!-- æå®åä¸æå»ºçresource --> |
| | | <includes> |
| | | <include>*.**</include> |
| | | <!--æé¤application-dev.ymlæä»¶--> |
| | | </includes> |
| | | </resource> |
| | | </resources> |
| | | <outputDirectory>${package.path}/conf</outputDirectory> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | |
| | | </project> |