后台管理系统Java代码

pom.xml 2.3KB

    <?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>oa</artifactId> <groupId>com.css</groupId> <version>0.0.1-SNAPSHOT</version> </parent> <packaging>jar</packaging> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-test</artifactId> <version>2.1.8.RELEASE</version> <scope>test</scope> </dependency> </dependencies> <modelVersion>4.0.0</modelVersion> <artifactId>oa-app</artifactId> <build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/**</include> </includes> </resource> <resource> <directory>src/main/webapp</directory> <!-- 打包时需要放开--> <targetPath>META-INF/resources</targetPath> <includes> <include>static/core/**</include> </includes> </resource> <!--app下的资源需要项目组覆盖,不能放到META-INF/resources中,这里面优先级最高--> <resource> <directory>src/main/webapp</directory> <targetPath>META-INF/resources</targetPath> <includes> <include>static/app/**</include> <include>WEB-INF/**</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.1</version> <configuration> <skipTests>true</skipTests> </configuration> </plugin> </plugins> </build> </project>