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

Revision 7684, 4.8 KB checked in by aivar, 9 years ago (diff)

Build one big happy jar with native shared libraries.

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-libs</id>
4  <formats>
5    <format>jar</format>
6  </formats>
7  <includeBaseDirectory>false</includeBaseDirectory>
8  <!--
9  <baseDirectory/>
10  <includeSiteDirectory/>
11  <containerDescriptorHandlers>
12    <containerDescriptorHandler>
13      <handlerName/>
14    </containerDescriptorHandler>
15  </containerDescriptorHandlers> -->
16  <!--
17  <moduleSets>
18    <moduleSet>
19      <includeSubModules/>
20      <includes/>
21      <excludes/>
22      <sources>
23        <useDefaultExcludes/>
24        <outputDirectory/>
25        <includes/>
26        <excludes/>
27        <fileMode/>
28        <directoryMode/>
29        <fileSets>
30          <fileSet>
31            <useDefaultExcludes/>
32            <outputDirectory/>
33            <includes/>
34            <excludes/>
35            <fileMode/>
36            <directoryMode/>
37            <directory/>
38            <filtered/>
39          </fileSet>
40        </fileSets>
41        <includeModuleDirectory/>
42        <excludeSubModuleDirectories/>
43        <outputDirectoryMapping/>
44      </sources>
45      <binaries>
46        <outputDirectory/>
47        <includes/>
48        <excludes/>
49        <fileMode/>
50        <directoryMode/>
51        <attachmentClassifier/>
52        <includeDependencies/>
53        <dependencySets>
54          <dependencySet>
55            <outputDirectory/>
56            <includes/>
57            <excludes/>
58            <fileMode/>
59            <directoryMode/>
60            <useStrictFiltering/>
61            <outputFileNameMapping/>
62            <unpack/>
63            <unpackOptions>
64              <includes/>
65              <excludes/>
66              <filtered/>
67            </unpackOptions>
68            <scope/>
69            <useProjectArtifact/>
70            <useProjectAttachments/>
71            <useTransitiveDependencies/>
72            <useTransitiveFiltering/>
73          </dependencySet>
74        </dependencySets>
75        <unpack/>
76        <unpackOptions>
77          <includes/>
78          <excludes/>
79          <filtered/>
80        </unpackOptions>
81        <outputFileNameMapping/>
82      </binaries>
83    </moduleSet>
84  </moduleSets> -->
85  <!-- moduleSets>
86    <moduleSet -->
87      <!-- Enable access to all projects in the current multimodule build -->
88      <!-- unknown tag; I guess the docs are wrong?? useAllReactorProjects>true</useAllReactorProjects -->
89      <!-- Select which projects to include in this module set -->
90      <!-- includes>
91        <include>loci:curve-fitter</include>
92      </includes>
93    </moduleSet>
94  </moduleSets -->
95 
96  <fileSets>
97    <fileSet>
98      <directory>${project.build.directory}/nar/lib/x86_64-MacOSX-gpp/shared</directory>
99      <outputDirectory>META-INF/lib/x86_64-MacOSX-gpp</outputDirectory>
100      <includes>
101        <include>*.dylib</include>
102      </includes>
103    </fileSet>
104    <fileSet>
105      <directory>${project.build.directory}/nar/lib/x86-Windows-msvc/shared</directory>
106      <outputDirectory>META-INF/lib/x86-Windows-msvc</outputDirectory>
107      <includes>
108        <include>*.dll</include>
109      </includes>
110    </fileSet>
111    <fileSet>
112      <directory>${project.build.directory}/nar/lib/i386-Linux-g++/shared</directory>
113      <outputDirectory>META-INF/lib/i386-Linux-g++</outputDirectory>
114      <includes>
115        <include>*.so</include>
116      </includes>
117    </fileSet>
118  </fileSets>
119  <dependencySets>
120    <dependencySet>
121      <outputDirectory>/</outputDirectory>
122      <useProjectArtifact>true</useProjectArtifact>
123      <unpack>true</unpack>
124      <scope>runtime</scope>
125      <excludes>
126        <exclude>*ij*</exclude>
127      </excludes>
128    </dependencySet>
129  </dependencySets>
130  <!-- <files>
131    <file>
132      <source/>
133      <outputDirectory/>
134      <destName/>
135      <fileMode/>
136      <filtered/>
137    </file>
138  </files> -->
139  <!--
140  <dependencySets>
141    <dependencySet>
142      <outputDirectory/>
143      <includes/>
144      <excludes/>
145      <fileMode/>
146      <directoryMode/>
147      <useStrictFiltering/>
148      <outputFileNameMapping/>
149      <unpack/>
150      <unpackOptions>
151        <includes/>
152        <excludes/>
153        <filtered/>
154      </unpackOptions>
155      <scope/>
156      <useProjectArtifact/>
157      <useProjectAttachments/>
158      <useTransitiveDependencies/>
159      <useTransitiveFiltering/>
160    </dependencySet>
161  </dependencySets>
162  <repositories>
163    <repository>
164      <outputDirectory/>
165      <includes/>
166      <excludes/>
167      <fileMode/>
168      <directoryMode/>
169      <includeMetadata/>
170      <groupVersionAlignments>
171        <groupVersionAlignment>
172          <id/>
173          <version/>
174          <excludes/>
175        </groupVersionAlignment>
176      </groupVersionAlignments>
177      <scope/>
178    </repository>
179  </repositories> -->
180  <componentDescriptors/>
181</assembly>
Note: See TracBrowser for help on using the repository browser.