pom.xml 2.7 KB
Newer Older
1
2
3
4
<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>
	<parent>
5
6
        <groupId>org.bonitasoft.distrib</groupId>
        <artifactId>resources</artifactId>
7
		<version>7.11.3-SNAPSHOT</version>
8
	</parent>
9
10
	<artifactId>process-autogenerated-form</artifactId>
	<packaging>pom</packaging>
11
12

	<build>
13

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