Skip to content

Instantly share code, notes, and snippets.

@anfibiacreativa
Last active July 12, 2019 17:31
Show Gist options
  • Save anfibiacreativa/cf0dede8ec1db82455fb4cdb50e366d0 to your computer and use it in GitHub Desktop.
Save anfibiacreativa/cf0dede8ec1db82455fb4cdb50e366d0 to your computer and use it in GitHub Desktop.
<?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">
<modelVersion>4.0.0</modelVersion>
<name>Tenant One Package</name>
<artifactId>[SOME-ID]</artifactId>
<packaging>content-package</packaging>
<parent>
<groupId>[SOME-GROUP-ID]</groupId>
<artifactId>tenant-one-components</artifactId>
<version>[SOME-VERSION]</version>
</parent>
<properties>
<frontend.build.directory>../../../../frontend</frontend.build.directory>
</properties
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<configuration>
<environmentVariables>
<NPM_FRONTEND_MODULE_BASE_DIR>${basedir}</NPM_FRONTEND_MODULE_BASE_DIR>
</environmentVariables>
</configuration>
<executions>
<execution>
<id>frontend-setup :: tenant build:: tenant one</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<workingDirectory>${frontend.build.directory}</workingDirectory>
<arguments>${npm.arguments.build}</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment