pom.xml 1.88 KB
Newer Older
1
2
<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
4
5
	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>
	<parent>
6
7
		<groupId>org.bonitasoft.distrib</groupId>
		<artifactId>resources</artifactId>
8
		<version>7.13.0-SNAPSHOT</version>
9
	</parent>
10
11
	<artifactId>process-autogenerated-form</artifactId>
	<packaging>pom</packaging>
12
13

	<build>
14

15
		<plugins>
16
17
18
19
			<plugin>
				<groupId>com.github.eirslett</groupId>
				<artifactId>frontend-maven-plugin</artifactId>
				<executions>
20
21
22
23
24
25
					<execution>
						<id>install node and npm</id>
						<goals>
							<goal>install-node-and-npm</goal>
							<goal>npm</goal>
						</goals>
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
					</execution>
					<execution>
						<id>npm test</id>
						<goals>
							<goal>npm</goal>
						</goals>
						<phase>test</phase>
						<configuration>
							<arguments>run test</arguments>
						</configuration>
					</execution>
					<execution>
						<id>npm build</id>
						<goals>
							<goal>npm</goal>
						</goals>
						<phase>prepare-package</phase>
						<configuration>
							<arguments>run build</arguments>
						</configuration>
					</execution>
47
48
				</executions>
			</plugin>
49
			<plugin>
50
51
52
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-install-plugin</artifactId>
				<version>2.4</version>
53
54
				<executions>
					<execution>
55
						<id>install1</id>
56
57
						<phase>package</phase>
						<goals>
58
							<goal>install-file</goal>
59
60
						</goals>
						<configuration>
61
62
63
64
65
							<file>target/custompage_processAutogeneratedForm.zip</file>
							<groupId>${project.groupId}</groupId>
							<artifactId>${project.artifactId}</artifactId>
							<version>${project.version}</version>
							<packaging>zip</packaging>
66
67
68
69
70
71
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
72
</project>