Skip to content
pom.xml 2.7 KiB
Newer Older
<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>
        <groupId>org.bonitasoft.distrib</groupId>
        <artifactId>resources</artifactId>
		<version>7.6.1-SNAPSHOT</version>
	<artifactId>process-autogenerated-form</artifactId>
	<packaging>pom</packaging>
			<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>
							<goal>npm</goal>
						</goals>
                                        </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>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-install-plugin</artifactId>
				<version>2.4</version>
						<phase>package</phase>
						<goals>
							<goal>install-file</goal>
							<file>target/custompage_processAutogeneratedForm.zip</file>
							<groupId>${project.groupId}</groupId>
							<artifactId>${project.artifactId}</artifactId>
							<version>${project.version}</version>
							<packaging>zip</packaging>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>