wisemapping-open-source/wise-ui/pom.xml

64 lines
2.8 KiB
XML
Raw Normal View History

<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.wisemapping</groupId>
<artifactId>wise-ui</artifactId>
<packaging>war</packaging>
<name>WiseMapping Frontend</name>
<parent>
<groupId>org.wisemapping</groupId>
<artifactId>wisemapping</artifactId>
<relativePath>../pom.xml</relativePath>
2023-08-01 12:31:56 +08:00
<version>5.1.0-SNAPSHOT</version>
</parent>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
2023-07-31 11:12:11 +08:00
<target>
<!-- Download and unzip mindplot npm package -->
<mkdir dir="target/wisemapping-mindplot"/>
2022-02-23 22:53:42 +08:00
<exec executable="npm" dir="target" failonerror="true">
<arg value="pack"/>
2023-08-28 23:45:35 +08:00
<arg value="@wisemapping/mindplot@5.1.2"/>
</exec>
2022-02-23 22:53:42 +08:00
<exec executable="tar" dir="target" failonerror="true">
<arg value="-xvzf"/>
2023-08-28 23:45:35 +08:00
<arg value="wisemapping-mindplot-5.1.2.tgz"/>
<arg value="-C"/>
<arg value="wisemapping-mindplot"/>
</exec>
<!-- Download and unzip webapp npm package -->
<mkdir dir="target/wisemapping-webapp"/>
2022-02-23 22:53:42 +08:00
<exec executable="npm" dir="target" failonerror="true">
<arg value="pack"/>
2023-08-28 23:45:35 +08:00
<arg value="@wisemapping/webapp@5.1.2"/>
</exec>
2022-02-23 22:53:42 +08:00
<exec executable="tar" dir="target" failonerror="true">
<arg value="-xvzf"/>
2023-08-28 23:45:35 +08:00
<arg value="wisemapping-webapp-5.1.2.tgz"/>
<arg value="-C"/>
<arg value="wisemapping-webapp"/>
</exec>
2023-07-31 11:12:11 +08:00
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>