First part of mavenizing IdP
[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             </excludes>
18             <includes>
19                 <include>*:jar:*</include>
20             </includes>
21         </dependencySet>
22         <dependencySet>
23             <outputDirectory>src/installer/lib</outputDirectory>
24             <includes>
25                 <include>org.apache.ant:*</include>
26                 <include>ant-contrib:*</include>
27             </includes>
28         </dependencySet>
29         <dependencySet>
30             <outputDirectory>/endorsed</outputDirectory>
31             <includes>
32                 <include>org.apache.xerces:*</include>
33                 <include>org.apache.xalan:*</include>
34             </includes>
35         </dependencySet>
36     </dependencySets>
37     
38     <fileSets>
39         <!-- Copy up our installer srcipts into the root of the package -->
40         <fileSet>
41             <directory>src/installer/bash</directory>
42             <outputDirectory></outputDirectory>
43             <includes>
44                 <include>*.sh</include>
45             </includes>
46         </fileSet>
47         <fileSet>
48             <directory>src/installer/bat</directory>
49             <outputDirectory></outputDirectory>
50             <includes>
51                 <include>*.bat</include>
52             </includes>
53         </fileSet>
54         
55         <!-- Keep our various resource files in the package -->
56         <fileSet>
57             <directory>src/installer/resources</directory>
58             <outputDirectory>/src/installer/resources</outputDirectory>
59         </fileSet>
60         <fileSet>
61             <directory>src/main/webapp</directory>
62             <outputDirectory>/src/main/webapp</outputDirectory>
63         </fileSet>
64         
65         <!-- Docs -->
66         <fileSet>
67             <includes>
68                 <include>RELEASE-NOTES*</include>
69                 <include>LICENSE*</include>
70             </includes>
71         </fileSet>
72
73         <!-- Documentation -->
74         <fileSet>
75             <directory>doc/</directory>
76             <outputDirectory>/doc</outputDirectory>
77         </fileSet>
78         <fileSet>
79             <directory>target/site/apidocs</directory>
80             <outputDirectory>/doc/api</outputDirectory>
81         </fileSet>
82         <fileSet>
83             <directory>target/site/style</directory>
84             <outputDirectory>/doc/style</outputDirectory>
85         </fileSet>
86         <fileSet>
87             <directory>target/site/unitTest</directory>
88             <outputDirectory>/doc/unitTest</outputDirectory>
89         </fileSet>
90         <fileSet>
91             <directory>target/site/xref</directory>
92             <outputDirectory>/doc/src-xref</outputDirectory>
93         </fileSet>
94     </fileSets>
95     
96 </assembly>