aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-distribution/assembly-lwjgl.xml
blob: 642a5eaebcfd7952018ba0319d0eeacd407348b7 (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<assembly>

	<id>lwjgl</id>
	<formats>
		<format>zip</format>
	</formats>
	<includeBaseDirectory>false</includeBaseDirectory>

	<moduleSets>
		<moduleSet>
			<useAllReactorProjects>true</useAllReactorProjects>

			<includes>
				<include>com.ardor3d:ardor3d-animation</include>
				<include>com.ardor3d:ardor3d-awt</include>
				<include>com.ardor3d:ardor3d-collada</include>
				<include>com.ardor3d:ardor3d-core</include>
				<include>com.ardor3d:ardor3d-effects</include>
				<include>com.ardor3d:ardor3d-extras</include>
				<include>com.ardor3d:ardor3d-lwjgl</include>
				<include>com.ardor3d:ardor3d-math</include>
				<include>com.ardor3d:ardor3d-savable</include>
				<include>com.ardor3d:ardor3d-swt</include>
				<include>com.ardor3d:ardor3d-terrain</include>
				<include>com.ardor3d:ardor3d-ui</include>
			</includes>

			<binaries>
				<unpack>false</unpack>
				<dependencySets>
					<dependencySet>
						<excludes>
							<exclude>*:lwjgl*:*:natives-*</exclude>
							<exclude>*:jinput*:*:natives-*</exclude>
						</excludes>
					</dependencySet>
				</dependencySets>
			</binaries>
		</moduleSet>
	</moduleSets>

	<fileSets>
		<fileSet>
			<directory>target/natives</directory>
			<outputDirectory>natives</outputDirectory>
			<!-- This is kind of a workaround. Ideally, we would tell the maven-nativedependencies-plugin 
				to *not* unpack the jogl/gluegen native jars. Jogl has its own native library 
				classloader which unpacks the jars. At the moment, there is no other choice 
				if all platforms should be supported, because the filenames of the native 
				libs are overlapping each other in jogl (e.g. for natives-linux-amd64 and 
				natives-linux-i586). -->
			<excludes>
				<exclude>*jogl*</exclude>
				<exclude>*nativewindow*</exclude>
				<exclude>*newt*</exclude>
				<exclude>*gluegen*</exclude>
				<exclude>META-INF/</exclude>
			</excludes>
		</fileSet>
	</fileSets>
</assembly>