pom.xml 1.59 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.12.2-SNAPSHOT</version>
8
9
10
11
12
	</parent>
	<artifactId>page-example</artifactId>
	<packaging>jar</packaging>

	<dependencies>
13
14
15
16
17
		<dependency>
			<groupId>org.bonitasoft.web</groupId>
			<artifactId>bonita-web-extensions</artifactId>
			<scope>provided</scope>
		</dependency>
18
19
		<dependency>
			<groupId>javax.servlet</groupId>
20
			<artifactId>javax.servlet-api</artifactId>
21
22
23
24
25
26
27
28
29
30
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.codehaus.groovy</groupId>
			<artifactId>groovy-all</artifactId>
			<scope>provided</scope>
		</dependency>
	</dependencies>

	<build>
31
32
		<sourceDirectory>src/main/groovy</sourceDirectory>

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
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<executions>
					<execution>
						<id>page-content</id>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<inherited>false</inherited>
						<configuration>
							<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
							<appendAssemblyId>false</appendAssemblyId>
							<descriptors>
								<descriptor>content.xml</descriptor>
							</descriptors>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>