<?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>jira-greenhopper-parent-pom</artifactId>
        <groupId>com.atlassian.jira.plugins</groupId>
        <version>1000.345.0</version>
    </parent>

    <name>JIRA Agile React/Redux front-end</name>

    <modelVersion>4.0.0</modelVersion>

    <artifactId>greenhopper-frontend</artifactId>
    <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>generate-resources</phase>
                        <inherited>false</inherited>
                    </execution>
                    <execution>
                        <id>npm</id>
                        <goals>
                            <goal>npm</goal>
                        </goals>
                        <phase>generate-resources</phase>
                        <inherited>false</inherited>
                    </execution>
                </executions>
                <configuration>
                    <nodeVersion>v6.2.2</nodeVersion>
                    <npmVersion>3.9.6</npmVersion>
                    <workingDirectory>${basedir}/../</workingDirectory>
                    <installDirectory>${basedir}/../target</installDirectory>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>