| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <?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>
- <groupId>net.mingsoft</groupId>
- <artifactId>ms-pom</artifactId>
- <version>2.1.3-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>net.mingsoft</groupId>
- <artifactId>ms-mcms</artifactId>
- <version>5.2.2-SNAPSHOT</version>
- <name>ms-mcms</name>
- <!-- 打包war包 -->
- <properties>
- <java.version>1.8</java.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <repositories>
- <repository>
- <id>deploy</id>
- <name>ms</name>
- <url>http://192.168.0.8:5000/repository/maven-public/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
- <dependencies>
- <dependency>
- <groupId>net.mingsoft</groupId>
- <artifactId>ms-base</artifactId>
- <version>${ms.version}</version>
- </dependency>
- <dependency>
- <groupId>net.mingsoft</groupId>
- <artifactId>ms-basic</artifactId>
- <version>${ms.version}</version>
- </dependency>
- <dependency>
- <groupId>net.mingsoft</groupId>
- <artifactId>ms-mdiy</artifactId>
- <version>${ms.version}</version>
- </dependency>
- <dependency>
- <groupId>net.mingsoft</groupId>
- <artifactId>store-client</artifactId>
- <version>${ms.version}</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>ms-mcms</finalName>
- <resources>
- <resource>
- <directory>src/main/webapp</directory>
- <excludes>
- <!-- 打包生产并手动将static、html、upload、template复制到生产 -->
- <exclude>static/</exclude>
- <exclude>html/</exclude>
- <exclude>upload/</exclude>
- <exclude>template/</exclude>
- <!-- 打包war包,必须删除下面一行代码。打包jar包,推荐启用下面一行代码,方便修改页面代码,否则会WEB-INF里面到文件都会打包到jar里面,不方便修改页面代码-->
- <!-- <exclude>WEB-INF/</exclude>-->
- </excludes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <directory>src/main/java</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
- <plugins>
- <!-- 打包war包,启用下面的代码 -->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>2.5.0</version>
- <configuration>
- <executable>true</executable>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <source>${java.version}</source>
- <target>${java.version}</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- <showDeprecation>true</showDeprecation>
- <showWarnings>true</showWarnings>
- <compilerArguments>
- <verbose/>
- <bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar</bootclasspath>
- </compilerArguments>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-compiler-eclipse</artifactId>
- <version>2.1</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- <defaultGoal>compile</defaultGoal>
- </build>
- </project>
|