-
Notifications
You must be signed in to change notification settings - Fork 3
/
pom.xml
109 lines (109 loc) · 3.58 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0"?>
<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>
<groupId>com.nitorcreations</groupId>
<artifactId>nflow-explorer</artifactId>
<version>0.0.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>nFlow Explorer</name>
<description>User Interface for nFlow</description>
<inceptionYear>2014</inceptionYear>
<prerequisites>
<maven>3.2</maven>
</prerequisites>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<grunt.target>build</grunt.target>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>0.0.17</version>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<nodeVersion>v0.11.14</nodeVersion>
<npmVersion>2.1.10</npmVersion>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-sources</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<id>bower install</id>
<phase>process-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>node_modules/.bin/bower</executable>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>grunt ${grunt.target}</id>
<phase>generate-resources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>node_modules/.bin/grunt</executable>
<arguments>
<argument>${grunt.target}</argument>
</arguments>
</configuration>
</execution>
</executions>
<configuration>
<environmentVariables>
<PATH>${basedir}/node:${env.PATH}</PATH>
<!-- <http_proxy>if-needed</http_proxy> -->
<m2repo>${settings.localRepository}</m2repo>
<M2_HOME>${env.M2_HOME}</M2_HOME>
</environmentVariables>
<workingDirectory>${basedir}</workingDirectory>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<attach>true</attach>
<descriptor>assembly.xml</descriptor>
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
<executions>
<execution>
<id>build-dist</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>