UNPKG

aem-clientlib-generator

Version:

Creates configuration files for AEM ClientLibs and synchronizes assets.

76 lines (67 loc) 2.21 kB
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.wcm.maven</groupId> <artifactId>io.wcm.maven.aem-global-parent</artifactId> <version>2.1.34</version> <relativePath/> </parent> <groupId>aem-clientlib-generator.it</groupId> <artifactId>wcmio-archetype</artifactId> <version>1.0.0-SNAPSHOT</version> <packaging>pom</packaging> <properties> <nodejs.version>v22.15.0</nodejs.version> </properties> <build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <executions> <execution> <id>install node and npm</id> <goals> <goal>install-node-and-npm</goal> </goals> <phase>process-resources</phase> <configuration> <nodeVersion>${nodejs.version}</nodeVersion> </configuration> </execution> <execution> <id>npm install</id> <goals> <goal>npm</goal> </goals> <phase>process-resources</phase> <configuration> <arguments>install</arguments> </configuration> </execution> <execution> <id>npm build:clientlibs</id> <goals> <goal>npm</goal> </goals> <phase>process-resources</phase> <configuration> <arguments>run build:clientlibs</arguments> </configuration> </execution> <execution> <id>npm test:compare-results</id> <goals> <goal>npm</goal> </goals> <phase>process-resources</phase> <configuration> <arguments>run test:compare-results</arguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>