dataease-dm/core/core-frontend/pom.xml

87 lines
2.5 KiB
Java
Raw Normal View History

2023-10-23 22:00:14 +08:00
<?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>core</artifactId>
<groupId>io.dataease</groupId>
2024-01-10 15:16:43 +08:00
<version>${dataease.version}</version>
2023-10-23 22:00:14 +08:00
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<artifactId>core-frontend</artifactId>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<frontend-maven-plugin.version>1.9.1</frontend-maven-plugin.version>
</properties>
<build>
<plugins>
2023-12-27 15:53:42 +08:00
<plugin>
2023-10-23 22:00:14 +08:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
2024-04-24 14:21:07 +08:00
<!--<fileset>
2023-12-27 15:53:42 +08:00
<directory>dist</directory>
2024-04-24 14:21:07 +08:00
</fileset>-->
2024-03-05 15:03:20 +08:00
<fileset>
<directory>node_modules</directory>
</fileset>
<fileset>
<directory>./</directory>
<includes>
<include>*-lock.json</include>
</includes>
</fileset>
2023-10-23 22:00:14 +08:00
</filesets>
</configuration>
2023-12-27 15:53:42 +08:00
</plugin>
2023-10-23 22:00:14 +08:00
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<executions>
2023-11-30 20:27:11 +08:00
<!--首次打包需要放开-->
2024-02-20 10:40:18 +08:00
<execution>
2023-10-23 22:00:14 +08:00
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v16.15.0</nodeVersion>
<npmVersion>8.5.5</npmVersion>
</configuration>
2024-02-20 10:40:18 +08:00
</execution>
2023-11-30 20:27:11 +08:00
<!--前端组件有更新需要放开-->
2024-03-05 15:03:20 +08:00
<execution>
2023-10-23 22:00:14 +08:00
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
2024-03-05 15:03:20 +08:00
</execution>
2023-10-23 22:00:14 +08:00
<execution>
<id>npm run build</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run build:base</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>