Revision 313

View differences:

branches/modelio3/assembly.xml
1
<assembly
2
	xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.2.1.17"
3
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.2.1.17 http://maven.apache.org/xsd/assembly-1.2.1.17.xsd">
5
	<id>bin</id>
6
	<formats>
7
		<format>zip</format>
8
	</formats>
9
	<includeBaseDirectory>false</includeBaseDirectory>
10
	<fileSets>
11
		<!-- Copy XML resources -->
12
		<fileSet>
13
			<directory>${project.basedir}/src/main/conf</directory>
14
			<outputDirectory>/${project.name}</outputDirectory>
15
			<includes>
16
				<include>**/*.xml</include>
17
			</includes>
18
			<filtered>true</filtered>
19
		</fileSet>
20
		<!-- Copy other ressources -->
21
		<fileSet>
22
			<directory>${project.basedir}/src/main/conf</directory>
23
			<outputDirectory>/${project.name}</outputDirectory>
24
			<excludes>
25
				<exclude>**/*.xml</exclude>
26
			</excludes>
27
			<filtered>false</filtered>
28
		</fileSet>
29
		<!-- Copy module's jar file -->
30
		<fileSet>
31
			<directory>${project.build.directory}</directory>
32
			<outputDirectory>${project.name}/lib</outputDirectory>
33
			<includes>
34
				<include>${project.artifactId}-${project.version}.jar</include>		
35
			</includes>
36
		</fileSet>
37
		<!-- Copy java dependencies needed by the module -->
38
		<fileSet>
39
			<directory>${project.build.directory}/lib</directory>
40
			<outputDirectory>${project.name}/lib</outputDirectory>
41
			<includes>
42
				<include>*.jar</include>				
43
			</includes>			
44
		</fileSet>
45
	</fileSets>
46
</assembly>

Also available in: Unified diff