source: trunk/projects/slim-plugin/src/main/assembly/with-dependencies.xml @ 7770

Revision 7770, 2.6 KB checked in by curtis, 8 years ago (diff)

Move assembly descriptor into src/main/assembly.

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