forked from Archives/Athou_commafeed
98 lines
2.6 KiB
XML
98 lines
2.6 KiB
XML
<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.commafeed</groupId>
|
|
<artifactId>commafeed</artifactId>
|
|
<version>3.4.0</version>
|
|
</parent>
|
|
<artifactId>commafeed-client</artifactId>
|
|
<name>CommaFeed Client</name>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<version>1.12.1</version>
|
|
<?m2e ignore?>
|
|
<executions>
|
|
<execution>
|
|
<id>install node and npm</id>
|
|
<goals>
|
|
<goal>install-node-and-npm</goal>
|
|
</goals>
|
|
<phase>compile</phase>
|
|
<configuration>
|
|
<nodeVersion>v16.16.0</nodeVersion>
|
|
<npmVersion>8.15.0</npmVersion>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>npm install</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<phase>compile</phase>
|
|
<configuration>
|
|
<arguments>ci</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>npm run eslint</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<phase>compile</phase>
|
|
<configuration>
|
|
<arguments>run eslint</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>npm run test</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<phase>compile</phase>
|
|
<configuration>
|
|
<arguments>run test:ci</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>npm run build</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<phase>compile</phase>
|
|
<configuration>
|
|
<arguments>run build</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy web interface to resources</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/classes/assets</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>dist</directory>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |