123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <?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>yun-teng-iot</artifactId>
- <groupId>com.codeez</groupId>
- <version>0.0.1</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <packaging>jar</packaging>
- <artifactId>yun-teng-iot-ui</artifactId>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <main.dir>${basedir}/..</main.dir>
- </properties>
- <build>
- <resources>
- <resource>
- <directory>${project.build.directory}/generated-resources</directory>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>com.github.eirslett</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.5</version>
- <configuration>
- <installDirectory>target</installDirectory>
- <workingDirectory>${basedir}</workingDirectory>
- </configuration>
- <executions>
- <execution>
- <id>install node and npm</id>
- <goals>
- <goal>install-node-and-yarn</goal>
- </goals>
- <configuration>
- <nodeVersion>v12.16.1</nodeVersion>
- <yarnVersion>v1.22.4</yarnVersion>
- </configuration>
- </execution>
- <execution>
- <id>yarn install</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>install</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>yarn-build</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>com.github.eirslett</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>1.7.5</version>
- <configuration>
- <installDirectory>target</installDirectory>
- <workingDirectory>${basedir}</workingDirectory>
- </configuration>
- <executions>
- <execution>
- <id>yarn build</id>
- <goals>
- <goal>yarn</goal>
- </goals>
- <configuration>
- <arguments>build</arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- <profile>-->
- <!-- <id>yarn-serve</id>-->
- <!-- <activation>-->
- <!-- <property>-->
- <!-- <name>yarn-serve</name>-->
- <!-- </property>-->
- <!-- </activation>-->
- <!-- <build>-->
- <!-- <plugins>-->
- <!-- <plugin>-->
- <!-- <groupId>com.github.eirslett</groupId>-->
- <!-- <artifactId>frontend-maven-plugin</artifactId>-->
- <!-- <version>1.7.5</version>-->
- <!-- <configuration>-->
- <!-- <installDirectory>target</installDirectory>-->
- <!-- <workingDirectory>${basedir}</workingDirectory>-->
- <!-- </configuration>-->
- <!-- <executions>-->
- <!-- <execution>-->
- <!-- <id>yarn serve</id>-->
- <!-- <goals>-->
- <!-- <goal>yarn</goal>-->
- <!-- </goals>-->
- <!-- <configuration>-->
- <!-- <arguments>serve</arguments>-->
- <!-- </configuration>-->
- <!-- </execution>-->
- <!-- </executions>-->
- <!-- </plugin>-->
- <!-- </plugins>-->
- <!-- </build>-->
- <!-- </profile>-->
- </profiles>
- </project>
|