1 | <assembly> |
---|
2 | <!-- |
---|
3 | Licensed to the Apache Software Foundation (ASF) under one or more |
---|
4 | contributor license agreements. See the NOTICE file distributed with |
---|
5 | this work for additional information regarding copyright ownership. |
---|
6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
7 | (the "License"); you may not use this file except in compliance with |
---|
8 | the License. You may obtain a copy of the License at |
---|
9 | |
---|
10 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
11 | |
---|
12 | Unless required by applicable law or agreed to in writing, software |
---|
13 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
---|
15 | implied. |
---|
16 | |
---|
17 | See the License for the specific language governing permissions and |
---|
18 | limitations under the License. |
---|
19 | --> |
---|
20 | <id>bin</id> |
---|
21 | <!-- |
---|
22 | Generates a jar file including the binary jar and the runtime dependencies. |
---|
23 | including NOTICE and LICENSE in the root. |
---|
24 | --> |
---|
25 | <formats> |
---|
26 | <format>zip</format> |
---|
27 | <format>tar.gz</format> |
---|
28 | </formats> |
---|
29 | <fileSets> |
---|
30 | <fileSet> |
---|
31 | <directory>${project.basedir}/..</directory> |
---|
32 | <outputDirectory>/</outputDirectory> |
---|
33 | <includes> |
---|
34 | <include>LICENSE.*</include> |
---|
35 | <include>NOTICE.*</include> |
---|
36 | <include>RELEASE_NOTES.txt</include> |
---|
37 | <include>README</include> |
---|
38 | </includes> |
---|
39 | </fileSet> |
---|
40 | <fileSet> |
---|
41 | <directory>${project.basedir}/../core/target</directory> |
---|
42 | <outputDirectory>/</outputDirectory> |
---|
43 | <includes> |
---|
44 | <include>apache-mime4j*.jar</include> |
---|
45 | </includes> |
---|
46 | </fileSet> |
---|
47 | </fileSets> |
---|
48 | <dependencySets> |
---|
49 | <dependencySet> |
---|
50 | <outputDirectory>/lib/</outputDirectory> |
---|
51 | <useProjectArtifact>false</useProjectArtifact> |
---|
52 | <scope>runtime</scope> |
---|
53 | <excludes> |
---|
54 | <exclude>apache-mime4j*</exclude> |
---|
55 | </excludes> |
---|
56 | </dependencySet> |
---|
57 | </dependencySets> |
---|
58 | </assembly> |
---|