Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b307f3f5cc7d4e2d2a67a24bc55c1e77783babd7 (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2020 Eclipse Foundation. All rights reserved. This program 
	and the accompanying materials are made available under the terms of the 
	Eclipse Distribution License v1.0 which accompanies this distribution, and 
	is available at http://www.eclipse.org/org/documents/edl-v10.php Contributors: 
	Karsten Thoms - initial implementation -->
<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.eclipse.help</groupId>
		<artifactId>infocenter-parent</artifactId>
		<version>4.17.0-SNAPSHOT</version>
	</parent>
	<artifactId>infocenter-app</artifactId>
	<packaging>war</packaging>
	<build>
		<finalName>help</finalName>
		<plugins>
			<plugin>
				<artifactId>maven-clean-plugin</artifactId>
				<configuration>
					<filesets>
						<fileset>
							<directory>src/main/webapp/WEB-INF</directory>
							<includes>
								<include>configuration/**</include>
								<include>lib/**</include>
								<include>plugins/**</include>
								<include>*.ini</include>
							</includes>
						</fileset>
					</filesets>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<executions>
					<execution>
						<?m2e ignore?>
						<phase>process-resources</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<target>
								<copy todir="src/main/webapp/WEB-INF">
									<fileset
										dir="../infocenter-product/target/products/infocenter/linux/gtk/x86_64/infocenter"
										includes="**" excludes="artifacts.xml,p2/**"/>
								</copy>
								<copy todir="src/main/webapp/WEB-INF/lib">
									<fileset dir="src/main/webapp/WEB-INF/plugins"
										includes="*.equinox.servletbridge_*.jar" />
								</copy>
								<!-- org.eclipse.equinox.servletbridge.FrameworkLauncher.LAUNCH_INI -->
								<move file="src/main/webapp/WEB-INF/eclipse.ini" tofile="src/main/webapp/WEB-INF/launch.ini"/>
							</target>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>

Back to the top