9dadba5e1f0298945118204857226c6ef3311048
[java-idp.git] / src / main / assembly / bin.xml
1 <!-- Binary distribution, along with dependency jar files -->
2 <assembly>
3     <id>bin</id>
4     <formats>
5         <format>tar.gz</format>
6         <format>zip</format>
7     </formats>
8     
9     <dependencySets>
10         <dependencySet>
11             <outputDirectory>/lib</outputDirectory>
12             <excludes>
13                 <exclude>org.apache.xerces:*</exclude>
14                 <exclude>org.apache.xalan:*</exclude>
15                 <exclude>org.apache.ant:*</exclude>
16                 <exclude>ant-contrib:*</exclude>
17                 <exclude>edu.internet2.middleware:ant-extensions:*</exclude>
18             </excludes>
19             <includes>
20                 <include>*:jar:*</include>
21             </includes>
22         </dependencySet>
23         <dependencySet>
24             <outputDirectory>src/installer/lib</outputDirectory>
25             <includes>
26                 <include>org.apache.ant:*</include>
27                 <include>ant-contrib:*</include>
28                 <include>edu.internet2.middleware:ant-extensions:*</include>
29                 <include>org.bouncycastle:bcprov-jdk14:*</include>
30             </includes>
31         </dependencySet>
32         <dependencySet>
33             <outputDirectory>/endorsed</outputDirectory>
34             <includes>
35                 <include>org.apache.xerces:*</include>
36                 <include>org.apache.xalan:*</include>
37             </includes>
38         </dependencySet>
39     </dependencySets>
40     
41     <fileSets>    
42         <!-- Copy up our installer srcipts into the root of the package -->
43         <fileSet>
44             <directory>src/installer/bash</directory>
45             <outputDirectory></outputDirectory>
46             <includes>
47                 <include>*.sh</include>
48             </includes>
49             <fileMode>0755</fileMode>
50             <directoryMode>0755</directoryMode>
51         </fileSet>
52         <fileSet>
53             <directory>src/installer/bat</directory>
54             <outputDirectory></outputDirectory>
55             <includes>
56                 <include>*.bat</include>
57             </includes>
58         </fileSet>
59         
60         <!-- Keep our various resource files in the package -->
61         <fileSet>
62             <directory>src/installer/resources</directory>
63             <outputDirectory>/src/installer/resources</outputDirectory>
64         </fileSet>
65         <fileSet>
66             <directory>src/main/webapp</directory>
67             <outputDirectory>/src/main/webapp</outputDirectory>
68         </fileSet>
69         <fileSet>
70             <directory>src/tools</directory>
71             <outputDirectory>src/tools</outputDirectory>
72         </fileSet>
73         
74         <!-- Documentation -->
75         <fileSet>
76             <includes>
77                 <include>RELEASE-NOTES*</include>
78                 <include>LICENSE*</include>
79             </includes>
80         </fileSet>
81         <fileSet>
82             <directory>doc/</directory>
83             <outputDirectory>/doc</outputDirectory>
84         </fileSet>
85         <fileSet>
86             <directory>target/site/apidocs</directory>
87             <outputDirectory>/doc/api</outputDirectory>
88         </fileSet>
89         <fileSet>
90             <directory>target/site/style</directory>
91             <outputDirectory>/doc/style</outputDirectory>
92         </fileSet>
93         <fileSet>
94             <directory>target/site/unitTest</directory>
95             <outputDirectory>/doc/unitTest</outputDirectory>
96         </fileSet>
97         <fileSet>
98             <directory>target/site/xref</directory>
99             <outputDirectory>/doc/src-xref</outputDirectory>
100         </fileSet>
101     </fileSets>
102     
103 </assembly>