mirror of
https://github.com/dev-claw/vripper-project.git
synced 2026-08-19 08:35:41 +02:00
116 lines
3.5 KiB
XML
116 lines
3.5 KiB
XML
<?xml version="1.0"?>
|
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>me.vripper</groupId>
|
|
<artifactId>vripper-parent</artifactId>
|
|
<version>3.6.0</version>
|
|
</parent>
|
|
<artifactId>vripper-ui</artifactId>
|
|
<name>vripper-ui</name>
|
|
<packaging>pom</packaging>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.4.2</version>
|
|
<configuration>
|
|
<classifier>${buildClassifier}</classifier>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>web</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<buildClassifier>web</buildClassifier>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<version>1.11.2</version>
|
|
<configuration>
|
|
<nodeVersion>v14.16.0</nodeVersion>
|
|
<yarnVersion>v1.22.10</yarnVersion>
|
|
<workingDirectory>build-dir</workingDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>install node and yarn</id>
|
|
<goals>
|
|
<goal>install-node-and-yarn</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>yarn install</id>
|
|
<goals>
|
|
<goal>yarn</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>yarn run build</id>
|
|
<goals>
|
|
<goal>yarn</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>run build-web</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>electron</id>
|
|
<properties>
|
|
<buildClassifier>electron</buildClassifier>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<version>1.11.2</version>
|
|
<configuration>
|
|
<nodeVersion>v14.16.0</nodeVersion>
|
|
<yarnVersion>v1.22.10</yarnVersion>
|
|
<workingDirectory>build-dir</workingDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>install node and yarn</id>
|
|
<goals>
|
|
<goal>install-node-and-yarn</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>yarn install</id>
|
|
<goals>
|
|
<goal>yarn</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>yarn run build</id>
|
|
<goals>
|
|
<goal>yarn</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>run build-electron</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|