summaryrefslogtreecommitdiff
path: root/java/distribution/src/main/assembly/bin.xml
blob: 3620659e48b0b2a5bd4f91b78f9f8ff561034b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
-->
<assembly>
  <!-- id typically identifies the "type" (src vs bin etc) of the assembly -->
  <id>java-bin</id>
  <includeBaseDirectory>false</includeBaseDirectory>
  <formats>
    <format>tar.gz</format>
    <format>zip</format>
  </formats>

  <fileSets>
    <!-- Include the currently hardwired Apache Legal bits -->
    <fileSet>
      <directory>../resources</directory>
      <outputDirectory>qpid-${qpid.version}</outputDirectory>
      <includes>
          <include>DISCLAIMER</include>
          <include>LICENSE</include>
          <include>NOTICE</include>
          <include>README</include>
      </includes>
      <fileMode>0444</fileMode>
    </fileSet>

    <!-- Include any release information -->
    <fileSet>
      <directory>src/main/release</directory>
      <outputDirectory>qpid-${qpid.version}</outputDirectory>
    </fileSet>

    <!-- Include any release information -->
    <fileSet>
      <directory>..//release-docs</directory>
      <outputDirectory>qpid-${qpid.version}</outputDirectory>
    </fileSet>

    <!-- Include any release information -->
    <fileSet>
      <directory>../release-docs</directory>
      <outputDirectory>qpid-${qpid.version}</outputDirectory>
    </fileSet>

    <!-- Include the classpath jar qpid-incubating.jar -->
    <fileSet>
      <directory>target</directory>
      <outputDirectory>qpid-${qpid.version}/lib</outputDirectory>
      <includes>
          <include>qpid-incubating.jar</include>
      </includes>
    </fileSet>

    <!-- Include etc -->
    <fileSet>
      <directory>../common/etc</directory>
      <outputDirectory>qpid-${qpid.version}/etc</outputDirectory>
      <fileMode>0640</fileMode>
    </fileSet>
    <fileSet>
      <directory>../broker/etc</directory>
      <outputDirectory>qpid-${qpid.version}/etc</outputDirectory>
      <fileMode>0640</fileMode>
    </fileSet>

    <!-- Include bin scripts-->
    <fileSet>
      <directory>../broker/bin</directory>
      <outputDirectory>qpid-${qpid.version}/bin</outputDirectory>
      <fileMode>0750</fileMode>
    </fileSet>
    <fileSet>
      <directory>../common/bin</directory>
      <outputDirectory>qpid-${qpid.version}/bin</outputDirectory>
      <fileMode>0750</fileMode>
    </fileSet>

  </fileSets>

  <dependencySets>
    <dependencySet>
      <outputDirectory>qpid-${qpid.version}/lib</outputDirectory>
      <unpack>false</unpack>
      <excludes>
        <!-- Exclude the jar output of this build process -->
        <exclude>org.apache.qpid:qpid-distribution</exclude>
        <!-- Exclude the Console dependancies -->
        <exclude>org.apache.qpid.management:org.apache.qpid.management.ui</exclude>
        <exclude>org.eclipse.core:org.eclipse.core.commands</exclude>
        <exclude>org.eclipse.core:org.eclipse.core.contenttype</exclude>
        <exclude>org.eclipse.core:org.eclipse.core.expressions</exclude>
        <exclude>org.eclipse.core:org.eclipse.core.jobs</exclude>
        <exclude>org.eclipse.core:org.eclipse.core.runtime</exclude>
        <exclude>org.eclipse.core:org.eclipse.core.runtime.compatibility.auth</exclude>
        <exclude>org.eclipse.core:org.eclipse.core.runtime.compatibility.registry</exclude>
        <exclude>org.eclipse.equinox:org.eclipse.equinox.common</exclude>
        <exclude>org.eclipse.equinox:org.eclipse.equinox.preferences</exclude>
        <exclude>org.eclipse.equinox:org.eclipse.equinox.registry</exclude>
        <exclude>org.eclipse.help:org.eclipse.help</exclude>
        <exclude>org.eclipse.jface:org.eclipse.jface</exclude>
        <exclude>org.eclipse.osgi:org.eclipse.osgi</exclude>
        <exclude>org.eclipse.swt:org.eclipse.swt</exclude>
        <exclude>org.eclipse.swt:org.eclipse.swt.win32.win32.x86</exclude>
        <exclude>org.eclipse.ui:org.eclipse.ui</exclude>
        <exclude>org.eclipse.ui:org.eclipse.ui.forms</exclude>
        <exclude>org.eclipse.ui:org.eclipse.ui.workbench</exclude>
      </excludes>
      <scope>runtime</scope>
    </dependencySet>
  </dependencySets>
</assembly>