First part of mavenizing IdP
[java-idp.git] / src / main / assembly / src.xml
1 <!-- Source distribution -->
2 <assembly>
3     <id>src</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         <fileSet>
40             <useDefaultExcludes>true</useDefaultExcludes>
41             <excludes>
42                 <exclude>**/target/**</exclude>
43                 <exclude>**/bin/**</exclude>
44             </excludes>
45         </fileSet>
46
47         <!-- Documentation -->
48         <fileSet>
49             <directory>doc/</directory>
50             <outputDirectory>/doc</outputDirectory>
51         </fileSet>
52         <fileSet>
53             <directory>target/site/apidocs</directory>
54             <outputDirectory>/doc/api</outputDirectory>
55         </fileSet>
56         <fileSet>
57             <directory>target/site/style</directory>
58             <outputDirectory>/doc/style</outputDirectory>
59         </fileSet>
60         <fileSet>
61             <directory>target/site/unitTest</directory>
62             <outputDirectory>/doc/unitTest</outputDirectory>
63         </fileSet>
64         <fileSet>
65             <directory>target/site/xref</directory>
66             <outputDirectory>/doc/src-xref</outputDirectory>
67         </fileSet>
68     </fileSets>
69     
70 </assembly>