forked from Archives/Athou_commafeed
96 lines
2.5 KiB
XML
96 lines
2.5 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>5.6.1</version>
|
|
</parent>
|
|
<artifactId>commafeed-client</artifactId>
|
|
<name>CommaFeed Client</name>
|
|
|
|
<properties>
|
|
<!-- renovate: datasource=node-version depName=node -->
|
|
<node.version>v22.14.0</node.version>
|
|
<!-- renovate: datasource=npm depName=npm -->
|
|
<npm.version>11.2.0</npm.version>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<version>1.15.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>${node.version}</nodeVersion>
|
|
<npmVersion>${npm.version}</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 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.1</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/META-INF/resources</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>dist</directory>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |