Merge remote branch 'tags/2.3.4'
[java-idp.git] / src / main / assembly / bin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
4     
5     <id>bin</id>
6     <formats>
7         <format>tar.gz</format>
8         <format>zip</format>
9     </formats>
10
11     <dependencySets>
12         <dependencySet>
13             <outputDirectory>/lib</outputDirectory>
14             <directoryMode>774</directoryMode>
15             <fileMode>444</fileMode>
16             <scope>compile</scope>
17             <excludes>
18                 <exclude>javax.servlet:*</exclude>
19                 <exclude>javax.servlet.jsp:*</exclude>
20             </excludes>
21             <includes>
22                 <include>*:jar:*</include>
23             </includes>
24         </dependencySet>
25         <dependencySet>
26             <outputDirectory>src/installer/lib</outputDirectory>
27             <directoryMode>774</directoryMode>
28             <fileMode>444</fileMode>
29             <scope>runtime</scope>
30             <includes>
31                 <include>org.apache.ant:*</include>
32                 <include>ant-contrib:*</include>
33                 <include>edu.internet2.middleware:ant-extensions:*</include>
34                 <include>org.bouncycastle:*</include>
35             </includes>
36         </dependencySet>
37         <dependencySet>
38             <outputDirectory>/endorsed</outputDirectory>
39             <directoryMode>774</directoryMode>
40             <fileMode>444</fileMode>
41             <scope>runtime</scope>
42             <includes>
43                 <include>org.apache.xerces:*</include>
44                 <include>xalan:*</include>
45                 <include>xml-resolver:*</include>
46             </includes>
47         </dependencySet>
48     </dependencySets>
49
50     <fileSets>
51         <!-- Copy up our installer srcipts into the root of the package -->
52         <fileSet>
53             <directory>src/installer/bash</directory>
54             <outputDirectory />
55             <includes>
56                 <include>*.sh</include>
57             </includes>
58             <fileMode>0755</fileMode>
59             <directoryMode>0755</directoryMode>
60         </fileSet>
61         <fileSet>
62             <directory>src/installer/bat</directory>
63             <outputDirectory />
64             <includes>
65                 <include>*.bat</include>
66             </includes>
67         </fileSet>
68
69         <!-- Keep our various resource files in the package -->
70         <fileSet>
71             <directory>src/installer/resources</directory>
72             <outputDirectory>/src/installer/resources</outputDirectory>
73         </fileSet>
74         <fileSet>
75             <directory>src/main/webapp</directory>
76             <outputDirectory>/src/main/webapp</outputDirectory>
77         </fileSet>
78         <fileSet>
79             <directory>src/tools</directory>
80             <outputDirectory>src/tools</outputDirectory>
81         </fileSet>
82
83         <!-- Documentation -->
84         <fileSet>
85             <includes>
86                 <include>RELEASE-NOTES*</include>
87                 <include>LICENSE*</include>
88             </includes>
89         </fileSet>
90         <fileSet>
91             <directory>doc/</directory>
92             <outputDirectory>/doc</outputDirectory>
93         </fileSet>
94         <fileSet>
95             <directory>target/site/apidocs</directory>
96             <outputDirectory>/doc/api</outputDirectory>
97         </fileSet>
98         <fileSet>
99             <directory>target/site/style</directory>
100             <outputDirectory>/doc/style</outputDirectory>
101         </fileSet>
102         <fileSet>
103             <directory>target/site/unitTest</directory>
104             <outputDirectory>/doc/unitTest</outputDirectory>
105         </fileSet>
106         <fileSet>
107             <directory>target/site/xref</directory>
108             <outputDirectory>/doc/src-xref</outputDirectory>
109         </fileSet>
110     </fileSets>
111
112 </assembly>