Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: cde1af65cfe3dabed96142ed5c6cb7087dd6e7a7 (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
67
68
69
70
71
<?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.19.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>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId>
				<version>3.3.1</version>
			</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