summaryrefslogtreecommitdiffstats
path: root/src/main/assemble/ajsc_module_assembly.xml
blob: 359f792a090e17dc2877536319cae39450932b64 (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
63
64
65
66
67
68
69
<!-- 
 Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
-->
<assembly
	xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
	<id>${version}</id>
	<includeBaseDirectory>false</includeBaseDirectory>
	<formats>
		<format>zip</format>
	</formats>
	<fileSets>
		<fileSet>
			<directory>${project.basedir}/target/versioned-ajsc/routes/</directory>
			<outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/routes/</outputDirectory>
			<includes>
				<include>*.route</include>
			</includes>

		</fileSet>

		<fileSet>
			<directory>${project.basedir}/target/versioned-ajsc/docs/</directory>
			<outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/docs/</outputDirectory>
			<includes>
				<include>*.*</include>
				<!-- <include>*.vm</include>  -->
			</includes>

		</fileSet>

		<fileSet>
			<directory>${project.basedir}/target/versioned-ajsc/lib/</directory>
			<outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/lib/</outputDirectory>
			<includes>
				<include>*.jar</include>
			</includes>

		</fileSet>
		<fileSet>
			<directory>${project.basedir}/target/versioned-ajsc/extJars/</directory>
			<outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/extJars/</outputDirectory>
			<includes>
				<include>*.jar</include>
			</includes>
		</fileSet>
		
		<!-- also try to grab outputs from the "jar" plugin's package phase -->
		<fileSet>
			<directory>${project.basedir}/target/</directory>
			<outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/lib/</outputDirectory>
			<includes>
				<include>*.jar</include>
			</includes>
		</fileSet>

		<fileSet>
			<directory>${project.basedir}/target/versioned-ajsc/conf/</directory>
			<outputDirectory>${module.ajsc.namespace.name}/${module.ajsc.namespace.version}/conf/</outputDirectory>
			<includes>
				<include>*.*</include>
			</includes>

		</fileSet>
	</fileSets>

</assembly>