1 Star 0 Fork 13

天然喵/alinesno-infra-platform-press

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 3.99 KB
一键复制 编辑 原始数据 按行查看 历史
Easton 提交于 2023-08-08 19:23 . feat:ChatGPT AIGC
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.alinesno.infra.common</groupId>
<artifactId>alinesno-infra-platform-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<artifactId>alinesno-infra-platform-press</artifactId>
<packaging>jar</packaging>
<properties>
<npm.registry.url>http://registry.npm.taobao.org/</npm.registry.url>
</properties>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<!-- 使用maven打包,将npm 项目打入工程中 -->
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.13.4</version>
<configuration>
<!-- 若不方便访问官网,可使用国内淘宝镜像-->
<nodeDownloadRoot>https://npm.taobao.org/mirrors/node/</nodeDownloadRoot>
<npmDownloadRoot>https://registry.npm.taobao.org/npm/-/</npmDownloadRoot>
<yarnDownloadRoot>http://data.linesno.com/web-tools/yarn/</yarnDownloadRoot>
</configuration>
<executions>
<execution>
<id>install node and yarn</id>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
<configuration>
<nodeVersion>v16.13.1</nodeVersion>
<yarnVersion>v1.22.10</yarnVersion>
</configuration>
</execution>
<execution>
<id>yarn set registry</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>config set registry ${npm.registry.url}</arguments>
</configuration>
</execution>
<execution>
<id>yarn install</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>yarn run docs:build</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>run docs:build</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/classes/static</outputDirectory>
<resources>
<resource>
<directory>${basedir}/docs/.vuepress/dist</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/natural-meow/alinesno-infra-platform-press.git
[email protected]:natural-meow/alinesno-infra-platform-press.git
natural-meow
alinesno-infra-platform-press
alinesno-infra-platform-press
main

搜索帮助