Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
77 lines (73 sloc) 2.16 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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-angular1</artifactId>
<version>2.0.3</version>
</parent>
<artifactId>spring-petclinic-client</artifactId>
<name>Spring Petclinic :: AngularJS Client</name>
<properties>
<node.version>v4.4.3</node.version>
<npm.version>2.15.1</npm.version>
</properties>
<build>
<resources>
<resource>
<directory>${project.build.directory}/dist</directory>
</resource>
<resource>
<directory>${basedir}/bower_components</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<!-- Before upgrade, see https://github.com/eirslett/frontend-maven-plugin/issues/586 -->
<version>1.3</version>
<configuration>
<installDirectory>target</installDirectory>
</configuration>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>${node.version}</nodeVersion>
<npmVersion>${npm.version}</npmVersion>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
</execution>
<execution>
<id>bower install</id>
<goals>
<goal>bower</goal>
</goals>
</execution>
<execution>
<id>gulp build</id>
<goals>
<goal>gulp</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<outputDirectory>${project.build.directory}/classes/public/</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>
</project>