source: trunk/projects/slim-plugin/assembly-descriptor.xml @ 7701

Revision 7701, 2.6 KB checked in by aivar, 9 years ago (diff)

Add complete set of "fileSet" tags.

Line 
1<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
3  <id>with-dependencies</id>
4  <formats>
5    <format>jar</format>
6  </formats>
7  <includeBaseDirectory>false</includeBaseDirectory>
8 
9  <fileSets>
10    <fileSet>
11      <directory>${project.build.directory}/nar/lib/x86-Windows-msvc/shared</directory>
12      <outputDirectory>META-INF/lib/x86-Windows-msvc</outputDirectory>
13      <includes>
14        <include>*.dll</include>
15      </includes>
16    </fileSet>   
17    <fileSet>
18      <directory>${project.build.directory}/nar/lib/x86_64-Windows-msvc/shared</directory>
19      <outputDirectory>META-INF/lib/x86_64-Windows-msvc</outputDirectory>
20      <includes>
21        <include>*.dll</include>
22      </includes>
23    </fileSet>
24    <fileSet>
25      <directory>${project.build.directory}/nar/lib/i386-MacOSX-gpp/shared</directory>
26      <outputDirectory>META-INF/lib/i386-MacOSX-gpp</outputDirectory>
27      <includes>
28        <include>*.dylib</include>
29      </includes>
30    </fileSet>
31    <fileSet>
32      <directory>${project.build.directory}/nar/lib/x86_64-MacOSX-gpp/shared</directory>
33      <outputDirectory>META-INF/lib/x86_64-MacOSX-gpp</outputDirectory>
34      <includes>
35        <include>*.dylib</include>
36      </includes>
37    </fileSet>
38    <fileSet>
39      <directory>${project.build.directory}/nar/lib/ppc-MacOSX-gpp/shared</directory>
40      <outputDirectory>META-INF/lib/ppc-MacOSX-gpp</outputDirectory>
41      <includes>
42        <include>*.dylib</include>
43      </includes>
44    </fileSet>    <fileSet>
45      <directory>${project.build.directory}/nar/lib/i386-Linux-g++/shared</directory>
46      <outputDirectory>META-INF/lib/i386-Linux-g++</outputDirectory>
47      <includes>
48        <include>*.so</include>
49      </includes>
50    </fileSet>
51    <fileSet>
52      <directory>${project.build.directory}/nar/lib/x86_64-Linux-g++/shared</directory>
53      <outputDirectory>META-INF/lib/x86_64-Linux-g++</outputDirectory>
54      <includes>
55        <include>*.so</include>
56      </includes>
57    </fileSet>
58  </fileSets>
59  <dependencySets>
60    <dependencySet>
61      <outputDirectory>/</outputDirectory>
62      <useProjectArtifact>true</useProjectArtifact>
63      <unpack>true</unpack>
64      <scope>runtime</scope>
65      <excludes>
66        <exclude>*ij*</exclude>
67        <!-- nar dependencies are only for maven-nar-plugin, not maven-assembly-plugin -->
68        <exclude>*nar</exclude>
69      </excludes>
70    </dependencySet>
71  </dependencySets>
72  <componentDescriptors/>
73</assembly>
Note: See TracBrowser for help on using the repository browser.