mirror of https://gitee.com/topiam/eiam
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
4.4 KiB
114 lines
4.4 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
eiam-portal - Employee Identity and Access Management Program
|
|
Copyright © 2020-2023 TopIAM (support@topiam.cn)
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
<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>cn.topiam</groupId>
|
|
<artifactId>eiam</artifactId>
|
|
<version>1.0.0-beta1</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>eiam-portal</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<!-- 协议 -->
|
|
<dependency>
|
|
<groupId>cn.topiam</groupId>
|
|
<artifactId>eiam-protocol-all</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<!-- 认证 -->
|
|
<dependency>
|
|
<groupId>cn.topiam</groupId>
|
|
<artifactId>eiam-authentication-all</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<!-- 应用 -->
|
|
<dependency>
|
|
<groupId>cn.topiam</groupId>
|
|
<artifactId>eiam-application-all</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<!-- build -->
|
|
<build>
|
|
<!--打包后名称-->
|
|
<finalName>topiam-employee-portal-${project.version}</finalName>
|
|
<plugins>
|
|
<!--spring-boot-maven-plugin-->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!--清理-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>${maven-clean-plugin.version}</version>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>src/main/portal-fe/</directory>
|
|
<followSymlinks>false</followSymlinks>
|
|
<includes>
|
|
<include>build/**</include>
|
|
<include>yarn.lock</include>
|
|
<include>src/.umi-production/**</include>
|
|
</includes>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${java.source.version}</source> <!-- depending on your project -->
|
|
<target>${java.target.version}</target> <!-- depending on your project -->
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<!-- 将 npm run build 后的 dist 内容复制到 resources 目录下 -->
|
|
<resource>
|
|
<directory>src/main/portal-fe/build</directory>
|
|
<targetPath>fe</targetPath>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
</project> |